OptrisOptrisDocumentation

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

RecordedRender

public sealed class RecordedRender

How a recording's picture was drawn, as the file records it.

A recording carries finished temperatures, and a temperature is not a colour. To put a legend beside a replayed frame, or to redraw it as it was drawn, a reader needs the palette and the two ends of the scale the palette was stretched over, and neither is in the pixels. Under the percentile and sigma modes the range is filtered over time as well, so it is not even what the frame's own pixels imply: the file is the only place it can be read from.

This is what the recording was made with, which is a different question from what the handle is drawing with now (ThermalCamera.Palette, ThermalCamera.ColorRange, ThermalCamera.ColorScaling). They agree when a replay opens and stop agreeing the moment the application changes the scale. Showing "recorded on 15..130 °C" beside what is on screen needs both.

Which block this is. A recording is not one frame: the palette can be switched while it runs, and under the automatic modes the range is expected to move. So a file carries one block as it opened and one per frame wherever that opening value would be wrong. This answers for the frame most recently delivered, falling back to the file's own: the reader's rule, applied for you, so you never have to know which of the two you got.

RecordedRender: properties

public string AutoScaleMode { get; }

The automatic mode that chose the range: "percentile", "absolute", "sigma1", "sigma3".

public bool IsFixedRange { get; }

Whether this block describes a fixed colour range.

An empty RecordedRender.AutoScaleMode with both ends present. The one-line rule, spelled once so every caller reads the file the same way.

public Nullable<bool> Overlays { get; }

Whether measuring-area overlays were drawn into the stored picture, or null when the file does not say.

public string Palette { get; }

The palette, spelled as the file spells it.

public string PaletteName { get; }

What the application called a custom palette. A label; empty for a built-in one.

public Nullable<float> RangeMaximum { get; }

Top of the colour scale, in the SDK's temperature unit, or null when the file does not say.

public Nullable<float> RangeMinimum { get; }

Bottom of the colour scale, in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit), or null when the file does not say. The file stores Celsius; this is converted as it is read.

public Nullable<bool> ThermalDataReliable { get; }

Whether the camera considered its temperatures reliable at the moment this was written, or null when the file does not say.