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