5 writes to OffsetImage
Microsoft.ML.ImageAnalytics (5)
ImagePixelExtractor.cs (5)
630OffsetImage = Defaults.Offset; 635OffsetImage = item.Offset ?? options.Offset ?? Defaults.Offset; 680OffsetImage = Defaults.Offset; 685OffsetImage = offsetImage; 727OffsetImage = ctx.Reader.ReadFloat();
9 references to OffsetImage
Microsoft.ML.ImageAnalytics (9)
ImagePixelExtractor.cs (9)
352float offset = ex.OffsetImage; 606/// <summary>Output array as float array. If false, output as byte array and ignores <see cref="OffsetImage"/> and <see cref="ScaleImage"/> .</summary> 637Contracts.CheckUserArg(FloatUtils.IsFinite(OffsetImage), nameof(item.Offset)); 688Contracts.CheckParam(FloatUtils.IsFinite(OffsetImage), nameof(offsetImage)); 728Contracts.CheckDecode(FloatUtils.IsFinite(OffsetImage)); 731Contracts.CheckDecode(OutputAsFloatArray || OffsetImage == 0 && ScaleImage == 1); 758Contracts.Assert(FloatUtils.IsFinite(OffsetImage)); 759ctx.Writer.Write(OffsetImage); 761Contracts.Assert(OutputAsFloatArray || OffsetImage == 0 && ScaleImage == 1);