1 write to GrayImage
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
310
GrayImage
= null;
6 references to GrayImage
Microsoft.ML.Tests (6)
ImagesTests.cs (6)
253
var grayImage = dataPoint.
GrayImage
;
280
Assert.Equal(singleImage.Image.Height, transformedSingleImage.
GrayImage
.Height);
281
Assert.Equal(singleImage.Image.Width, transformedSingleImage.
GrayImage
.Width);
283
ReadOnlySpan<byte> imageData1 = transformedSingleImage.
GrayImage
.Pixels;
284
(int alphaIndex1, int redIndex1, int greenIndex1, int blueIndex1) = transformedSingleImage.
GrayImage
.PixelFormat switch
290
int pixelSize1 = transformedSingleImage.
GrayImage
.BitsPerPixel / 8;