OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

RegionReadFrame

public readonly record struct RegionReadFrame : IEquatable<RegionReadFrame>

Which captured frame one read of a region's samples was measured on.

Filled by ThermalCamera.ReadRegionSamples(…) under the same lock as the samples, so the two cannot belong to different frames. Compare RegionReadFrame.FrameSequence against FrameMetadata.Sequence of the frame in hand. Added in 12.0.35.

RegionReadFrame: constructors

public RegionReadFrame(bool HasFrame, uint FrameSequence, TimeSpan FrameTimestamp)

Which captured frame one read of a region's samples was measured on.

  • HasFrame: Whether FrameSequence and FrameTimestamp name a frame. Read this first: sequence 0 is a real frame. False before the first measuring pass and for a region added since the last one.
  • FrameSequence: The frame's FrameMetadata.Sequence.
  • FrameTimestamp: When it was captured, measured from the camera's start: a stopwatch, not a date.

Filled by ThermalCamera.ReadRegionSamples(…) under the same lock as the samples, so the two cannot belong to different frames. Compare RegionReadFrame.FrameSequence against FrameMetadata.Sequence of the frame in hand. Added in 12.0.35.

RegionReadFrame: properties

public uint FrameSequence { get; init; }

The frame's FrameMetadata.Sequence.

public TimeSpan FrameTimestamp { get; init; }

When it was captured, measured from the camera's start: a stopwatch, not a date.

public bool HasFrame { get; init; }

Whether FrameSequence and FrameTimestamp name a frame. Read this first: sequence 0 is a real frame. False before the first measuring pass and for a region added since the last one.