2 instantiations of ImageResizingEstimator
Microsoft.ML.ImageAnalytics (2)
ExtensionsCatalog.cs (2)
163=> new ImageResizingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, imageWidth, imageHeight, inputColumnName, resizing, cropAnchor); 186=> new ImageResizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions);
195 references to ImageResizingEstimator
Microsoft.ML.AutoML (142)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ApplyOnnxModel.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ApplyOnnxModelOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Concatenate.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ConcatOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ConvertType.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ConvertTypeOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\DnnFeaturizerImage.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\DnnFeaturizerImageOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ExtractPixels.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ExtractPixelsOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastForestBinary.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastForestOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastForestOva.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastForestRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastTreeBinary.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastTreeOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastTreeOva.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastTreeRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FastTreeTweedieRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FeaturizeText.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\FeaturizeTextOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ForecastBySsa.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ImageClassificationMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ImageClassificationOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LbfgsLogisticRegressionBinary.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LbfgsLogisticRegressionOva.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LbfgsMaximumEntropyMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LbfgsOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LbfgsPoissonRegressionRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LgbmOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LightGbmBinary.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LightGbmMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LightGbmRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoadImageOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoadImages.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LoadRawImageBytes.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MapKeyToValue.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MapKeyToValueOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MapValueToKey.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MapValueToKeyOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MatrixFactorization.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\MatrixFactorizationOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Naive.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NaiveOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NamedEntityRecognitionMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NamedEntityRecognitionOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NormalizeMinMax.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NormalizeMinMaxOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NormalizeText.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\NormalizeTextOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ObjectDetectionMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ObjectDetectionOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OneHotEncoding.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OneHotHashEncoding.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\OneHotOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\QuestionAnsweringMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\QuestionAnsweringOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ReplaceMissingValueOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ReplaceMissingValues.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ResizeImageOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\ResizeImages.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SdcaLogisticRegressionBinary.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SdcaLogisticRegressionOva.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SdcaMaximumEntropyMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SdcaOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SdcaRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SentenceSimilarityOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SentenceSimilarityRegression.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\SsaOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TextClassificationMulti.cs (2)
8using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 9using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TextClassificationOption.generated.cs (2)
6using ResizingKind = Microsoft.ML.Transforms.Image.ImageResizingEstimator.ResizingKind; 7using Anchor = Microsoft.ML.Transforms.Image.ImageResizingEstimator.Anchor;
Microsoft.ML.ImageAnalytics (50)
ExtensionsCatalog.cs (12)
138/// Create a <see cref="ImageResizingEstimator"/>, which resize the image from the column specified in <paramref name="inputColumnName"/> 148/// <param name="resizing"> The type of image resizing as specified in <see cref="ImageResizingEstimator.ResizingKind"/>.</param> 149/// <param name="cropAnchor">Where to place the anchor, to start cropping. Options defined in <see cref="ImageResizingEstimator.Anchor"/></param> 156public static ImageResizingEstimator ResizeImages(this TransformsCatalog catalog, 161ImageResizingEstimator.ResizingKind resizing = ImageResizingEstimator.ResizingKind.IsoCrop, 162ImageResizingEstimator.Anchor cropAnchor = ImageResizingEstimator.Anchor.Center) 174/// or just crop it can be specified separately for each column loaded, through the <see cref="ImageResizingEstimator.ColumnOptions"/>. 177/// <param name="columnOptions">The <see cref="ImageResizingEstimator.ColumnOptions"/> describing how the transform handles each image resize column.</param> 185internal static ImageResizingEstimator ResizeImages(this TransformsCatalog catalog, params ImageResizingEstimator.ColumnOptions[] columnOptions)
ImageResizer.cs (38)
33/// <see cref="ITransformer"/> resulting from fitting an <see cref="ImageResizingEstimator"/>. 46public ImageResizingEstimator.ResizingKind? Resizing; 49public ImageResizingEstimator.Anchor? CropAnchor; 82public ImageResizingEstimator.ResizingKind Resizing = ImageResizingEstimator.Defaults.Resizing; 85public ImageResizingEstimator.Anchor CropAnchor = ImageResizingEstimator.Defaults.CropAnchor; 108private readonly ImageResizingEstimator.ColumnOptions[] _columns; 113internal IReadOnlyCollection<ImageResizingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 123/// <param name="resizing">What <see cref="ImageResizingEstimator.ResizingKind"/> to use.</param> 124/// <param name="cropAnchor">If <paramref name="resizing"/> set to <see cref="ImageResizingEstimator.ResizingKind.IsoCrop"/> what anchor to use for cropping.</param> 127ImageResizingEstimator.ResizingKind resizing = ImageResizingEstimator.ResizingKind.IsoCrop, 128ImageResizingEstimator.Anchor cropAnchor = ImageResizingEstimator.Anchor.Center) 129: this(env, new ImageResizingEstimator.ColumnOptions(outputColumnName, imageWidth, imageHeight, inputColumnName, resizing, cropAnchor)) 138internal ImageResizingTransformer(IHostEnvironment env, params ImageResizingEstimator.ColumnOptions[] columns) 144private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(ImageResizingEstimator.ColumnOptions[] columns) 159var cols = new ImageResizingEstimator.ColumnOptions[args.Columns.Length]; 163cols[i] = new ImageResizingEstimator.ColumnOptions( 199_columns = new ImageResizingEstimator.ColumnOptions[ColumnPairs.Length]; 206var scale = (ImageResizingEstimator.ResizingKind)ctx.Reader.ReadByte(); 207Host.CheckDecode(Enum.IsDefined(typeof(ImageResizingEstimator.ResizingKind), scale)); 208var anchor = (ImageResizingEstimator.Anchor)ctx.Reader.ReadByte(); 209Host.CheckDecode(Enum.IsDefined(typeof(ImageResizingEstimator.Anchor), anchor)); 210_columns[i] = new ImageResizingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, width, height, ColumnPairs[i].inputColumnName, scale, anchor); 244Contracts.Assert((ImageResizingEstimator.ResizingKind)(byte)col.Resizing == col.Resizing); 246Contracts.Assert((ImageResizingEstimator.Anchor)(byte)col.Anchor == col.Anchor); 312ImageResizingEstimator.ResizingKind.IsoPad => ImageResizeMode.Pad, 313ImageResizingEstimator.ResizingKind.IsoCrop => 316ImageResizingEstimator.Anchor.Top => ImageResizeMode.CropAnchorTop, 317ImageResizingEstimator.Anchor.Bottom => ImageResizeMode.CropAnchorBottom, 318ImageResizingEstimator.Anchor.Left => ImageResizeMode.CropAnchorLeft, 319ImageResizingEstimator.Anchor.Right => ImageResizeMode.CropAnchorRight, 322ImageResizingEstimator.ResizingKind.Fill => ImageResizeMode.Fill, 444/// <param name="resizing">What <see cref="ImageResizingEstimator.ResizingKind"/> to use.</param> 445/// <param name="anchor">If <paramref name="resizing"/> set to <see cref="ImageResizingEstimator.ResizingKind.IsoCrop"/> what anchor to use for cropping.</param> 501: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(ImageResizingEstimator)), transformer)
Microsoft.ML.Tests (3)
ImagesTests.cs (3)
150var cropped = new ImageResizingTransformer(env, "ImageCropped", 100, 100, "ImageReal", ImageResizingEstimator.ResizingKind.IsoPad).Transform(images); 1023resizing: ImageResizingEstimator.ResizingKind.Fill)); 1183var pipeline = mlContext.Transforms.ResizeImages("ResizedImage", 100, 100, nameof(InMemoryImage.LoadedImage));