5 writes to ScaleImage
Microsoft.ML.ImageAnalytics (5)
ImagePixelExtractor.cs (5)
631ScaleImage = Defaults.Scale; 636ScaleImage = item.Scale ?? options.Scale ?? Defaults.Scale; 681ScaleImage = Defaults.Scale; 686ScaleImage = scaleImage; 729ScaleImage = ctx.Reader.ReadFloat();
9 references to ScaleImage
Microsoft.ML.ImageAnalytics (9)
ImagePixelExtractor.cs (9)
353float scale = ex.ScaleImage; 606/// <summary>Output array as float array. If false, output as byte array and ignores <see cref="OffsetImage"/> and <see cref="ScaleImage"/> .</summary> 638Contracts.CheckUserArg(FloatUtils.IsFiniteNonZero(ScaleImage), nameof(item.Scale)); 689Contracts.CheckParam(FloatUtils.IsFiniteNonZero(ScaleImage), nameof(scaleImage)); 730Contracts.CheckDecode(FloatUtils.IsFiniteNonZero(ScaleImage)); 731Contracts.CheckDecode(OutputAsFloatArray || OffsetImage == 0 && ScaleImage == 1); 760Contracts.Assert(FloatUtils.IsFiniteNonZero(ScaleImage)); 761Contracts.Assert(OutputAsFloatArray || OffsetImage == 0 && ScaleImage == 1); 762ctx.Writer.Write(ScaleImage);