14 references to All
Microsoft.ML.ImageAnalytics (4)
ImagePixelExtractor.cs (2)
710
Contracts.CheckDecode((ColorsToExtract & ImagePixelExtractingEstimator.ColorBits.
All
) == ColorsToExtract);
754
Contracts.Assert((ColorsToExtract & ImagePixelExtractingEstimator.ColorBits.
All
) == ColorsToExtract);
VectorToImageTransform.cs (2)
548
Contracts.CheckDecode((Colors & ImagePixelExtractingEstimator.ColorBits.
All
) == Colors);
674
Contracts.Assert((Colors & ImagePixelExtractingEstimator.ColorBits.
All
) == Colors);
Microsoft.ML.Tests (10)
ImagesTests.cs (10)
348
var pixels = new ImagePixelExtractingTransformer(env, "ImagePixels", "ImageCropped", ImagePixelExtractingEstimator.ColorBits.
All
, interleavePixelColors: true, scaleImage: 2f / 19, offsetImage: 30).Transform(cropped);
350
ImagePixelExtractingEstimator.ColorBits.
All
, interleavedColors: true, scaleImage: 19 / 2f, offsetImage: -30).Transform(pixels);
499
var pixels = new ImagePixelExtractingTransformer(env, "ImagePixels", "ImageCropped", ImagePixelExtractingEstimator.ColorBits.
All
, orderOfExtraction: ImagePixelExtractingEstimator.ColorsOrder.ABRG).Transform(cropped);
501
ImagePixelExtractingEstimator.ColorBits.
All
, orderOfColors: ImagePixelExtractingEstimator.ColorsOrder.ABRG).Transform(pixels);
573
var pixels = new ImagePixelExtractingTransformer(env, "ImagePixels", "ImageCropped", ImagePixelExtractingEstimator.ColorBits.
All
, scaleImage: 2f / 19, offsetImage: 30).Transform(cropped);
576
ImagePixelExtractingEstimator.ColorBits.
All
, scaleImage: 19 / 2f, offsetImage: -30).Transform(pixels);
724
var pixels = new ImagePixelExtractingTransformer(env, "ImagePixels", "ImageCropped", ImagePixelExtractingEstimator.ColorBits.
All
, interleavePixelColors: true).Transform(cropped);
727
ImagePixelExtractingEstimator.ColorBits.
All
, interleavedColors: true).Transform(pixels);
875
var pixels = new ImagePixelExtractingTransformer(env, "ImagePixels", "ImageCropped", ImagePixelExtractingEstimator.ColorBits.
All
).Transform(cropped);
878
ImagePixelExtractingEstimator.ColorBits.
All
).Transform(pixels);