9 writes to Planes
Microsoft.ML.ImageAnalytics (9)
VectorToImageTransform.cs (9)
505
{ Colors |= ImagePixelExtractingEstimator.ColorBits.Alpha;
Planes
++; }
507
{ Colors |= ImagePixelExtractingEstimator.ColorBits.Red;
Planes
++; }
509
{ Colors |= ImagePixelExtractingEstimator.ColorBits.Green;
Planes
++; }
511
{ Colors |= ImagePixelExtractingEstimator.ColorBits.Blue;
Planes
++; }
554
Planes
= (byte)planes;
624
Planes
++;
626
Planes
++;
628
Planes
++;
630
Planes
++;
8 references to Planes
Microsoft.ML.ImageAnalytics (8)
VectorToImageTransform.cs (8)
306
if (vectorType.GetValueCount() != _columns[col].ImageHeight * _columns[col].ImageWidth * _columns[col].
Planes
)
307
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColName, new VectorDataViewType(vectorType.ItemType, _columns[col].ImageHeight, _columns[col].ImageWidth, _columns[col].
Planes
).ToString(), vectorType.ToString());
391
position += ex.
Planes
;
512
Contracts.CheckUserArg(
Planes
> 0, nameof(item.ContainsRed), "Need to use at least one color plane");
555
Contracts.Assert(0 <
Planes
&&
Planes
<= 4);
631
Contracts.CheckParam(
Planes
> 0, nameof(colorsPresent), "Need to use at least one color plane");
659
Contracts.Assert(planes ==
Planes
);