OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — legacy C++ API referencev12.0

These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.

optris::FrameEvent

Event containing the results of the successful processing of a frame.

Public attributes

meta

FrameMetadata meta

Metadata of the frame. Is always provided.

thermalFrame

ThermalFrame thermalFrame

Thermal frame. The frame will be empty, if ProcessingOutputConfig::thermalFrames is set to false.

See also: ProcessingOutputConfig

fields

std::unordered_map< std::int32_t, FieldStatus > fields

The results of the measurement field processing. A status can be accessed via the measurement field ID. The map will be empty, if ProcessingOutputConfig::fields is set to false.

See also: ProcessingOutputConfig

rgbaFrame

std::optional< optris::sdk::BgraFrame > rgbaFrame

False-color RGBA frame (BGRA8 layout). Present when an image builder (e.g. View's FrameProcessor) is attached to the processing pipeline.

displayFrame

std::optional< ThermalFrame > displayFrame

The same frame with a display-only enhancement applied, for colorization and for nothing else.

Present only when a source that does not colorize its own frames is running a detail enhancement -- a simulated camera, or a live camera with the RGBA output switched off. Those are exactly the frames ClientBridge colorizes itself, and without this it colorizes the thermal frame, downstream of everything the enhancement did. That was the defect: the enhancement was accepted, reported as supported, and reached no pixel.

Same size, same layout and the same internal encoding as thermalFrame, which is what makes it drop into a colorizer unchanged -- and also what makes it dangerous. It is not a measurement. Detail enhancement redistributes local contrast; the numbers here are for looking at. Anything that reports a temperature, drives an alarm, or fills a region's statistics reads thermalFrame.

Absent whenever no enhancement is active, rather than present and equal to thermalFrame. A consumer that ignores it when it is absent cannot alter the unenhanced picture by a single pixel.

rawFrame

std::optional< optris::sdk::RawFrame > rawFrame

Uncalibrated uint16 ADU, exactly as the detector reported it, with the transport's metadata rows already stripped out.

Present when ProcessingOutputConfig::rawFrames is set. This is the sensor's own numbers: it is not the thermal frame in a different container, and there is no scale that turns one into the other without the calibration the pipeline applies in between.

energyFrame

std::optional< optris::sdk::EnergyFrame > energyFrame

Linear int32 radiometric energy -- the stage after the corrections and before the PRN lookup that makes temperatures.

Present when ProcessingOutputConfig::energyFrames is set. Energy is additive over area where temperature is not, which is what makes it the right quantity for integrating radiance over a region, and it is the domain a custom temperature model has to start from.