5 writes to OffsetImage
Microsoft.ML.ImageAnalytics (5)
ImagePixelExtractor.cs (5)
630
OffsetImage
= Defaults.Offset;
635
OffsetImage
= item.Offset ?? options.Offset ?? Defaults.Offset;
680
OffsetImage
= Defaults.Offset;
685
OffsetImage
= offsetImage;
727
OffsetImage
= ctx.Reader.ReadFloat();
9 references to OffsetImage
Microsoft.ML.ImageAnalytics (9)
ImagePixelExtractor.cs (9)
352
float 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>
637
Contracts.CheckUserArg(FloatUtils.IsFinite(
OffsetImage
), nameof(item.Offset));
688
Contracts.CheckParam(FloatUtils.IsFinite(
OffsetImage
), nameof(offsetImage));
728
Contracts.CheckDecode(FloatUtils.IsFinite(
OffsetImage
));
731
Contracts.CheckDecode(OutputAsFloatArray ||
OffsetImage
== 0 && ScaleImage == 1);
758
Contracts.Assert(FloatUtils.IsFinite(
OffsetImage
));
759
ctx.Writer.Write(
OffsetImage
);
761
Contracts.Assert(OutputAsFloatArray ||
OffsetImage
== 0 && ScaleImage == 1);