2 instantiations of ImageGrayscalingEstimator
Microsoft.ML.ImageAnalytics (2)
ExtensionsCatalog.cs (2)
33
=> new
ImageGrayscalingEstimator
(CatalogUtils.GetEnvironment(catalog), new[] { (outputColumnName, inputColumnName ?? outputColumnName) });
52
return new
ImageGrayscalingEstimator
(env, InputOutputColumnPair.ConvertToValueTuples(columns));
7 references to ImageGrayscalingEstimator
Microsoft.ML.ImageAnalytics (5)
ExtensionsCatalog.cs (4)
17
/// Create a <see cref="
ImageGrayscalingEstimator
"/>, which converts images in the column specified in <see cref="InputOutputColumnPair.InputColumnName"/>
32
public static
ImageGrayscalingEstimator
ConvertToGrayscale(this TransformsCatalog catalog, string outputColumnName, string inputColumnName = null)
36
/// Create a <see cref="
ImageGrayscalingEstimator
"/>, which converts images in the column specified in <see cref="InputOutputColumnPair.InputColumnName"/>
48
internal static
ImageGrayscalingEstimator
ConvertToGrayscale(this TransformsCatalog catalog, params InputOutputColumnPair[] columns)
ImageGrayscale.cs (1)
238
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
ImageGrayscalingEstimator
)), new ImageGrayscalingTransformer(env, columns))
Microsoft.ML.Samples (1)
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
24
var
pipeline = mlContext.Transforms.ConvertToGrayscale("GrayImage", "Image");
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
239
var
pipeline = ML.Transforms.ConvertToGrayscale("GrayImage", "Image");