9 writes to Planes
Microsoft.ML.ImageAnalytics (9)
7 references to Planes
Microsoft.ML.ImageAnalytics (7)
VectorToImageTransform.cs (7)
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");