2 instantiations of ImageGrayscalingTransformer
Microsoft.ML.ImageAnalytics (2)
ImageGrayscale.cs (2)
113return new ImageGrayscalingTransformer(host, ctx); 238: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(ImageGrayscalingEstimator)), new ImageGrayscalingTransformer(env, columns))
28 references to ImageGrayscalingTransformer
Microsoft.ML.ImageAnalytics (26)
EntryPoints\ImageAnalytics.cs (5)
55[TlcModule.EntryPoint(Name = "Transforms.ImageGrayscale", Desc = ImageGrayscalingTransformer.Summary, 56UserName = ImageGrayscalingTransformer.UserName, ShortName = ImageGrayscalingTransformer.LoaderSignature)] 57public static CommonOutputs.TransformOutput ImageGrayscale(IHostEnvironment env, ImageGrayscalingTransformer.Options input) 60var xf = ImageGrayscalingTransformer.Create(h, input, input.Data);
ImageGrayscale.cs (21)
16[assembly: LoadableClass(ImageGrayscalingTransformer.Summary, typeof(IDataTransform), typeof(ImageGrayscalingTransformer), typeof(ImageGrayscalingTransformer.Options), typeof(SignatureDataTransform), 17ImageGrayscalingTransformer.UserName, "ImageGrayscaleTransform", "ImageGrayscale")] 19[assembly: LoadableClass(ImageGrayscalingTransformer.Summary, typeof(IDataTransform), typeof(ImageGrayscalingTransformer), null, typeof(SignatureLoadDataTransform), 20ImageGrayscalingTransformer.UserName, ImageGrayscalingTransformer.LoaderSignature)] 22[assembly: LoadableClass(typeof(ImageGrayscalingTransformer), null, typeof(SignatureLoadModel), 23ImageGrayscalingTransformer.UserName, ImageGrayscalingTransformer.LoaderSignature)] 25[assembly: LoadableClass(typeof(IRowMapper), typeof(ImageGrayscalingTransformer), null, typeof(SignatureLoadRowMapper), 26ImageGrayscalingTransformer.UserName, ImageGrayscalingTransformer.LoaderSignature)] 33/// <see cref="ITransformer"/> resulting from fitting an <see cref="ImageGrayscalingTransformer"/>. 73loaderAssemblyName: typeof(ImageGrayscalingTransformer).Assembly.FullName); 107private static ImageGrayscalingTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 151private readonly ImageGrayscalingTransformer _parent; 153public Mapper(ImageGrayscalingTransformer parent, DataViewSchema inputSchema) 202/// <see cref="IEstimator{TTransformer}"/> for the <see cref="ImageGrayscalingTransformer"/>. 229public sealed class ImageGrayscalingEstimator : TrivialEstimator<ImageGrayscalingTransformer>
Microsoft.ML.Samples (1)
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
27var model = pipeline.Fit(data);
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
242var model = pipeline.Fit(data);