optris::sdk::ProcessingOutputConfig
Processing output configuration.
Public attributes
thermal_frames
bool thermal_frames = true
Whether the pipeline publishes frames at all.
The name undersells it. False suppresses the entire frame dispatch, not just the thermal buffer: no thermal, RGBA or RGB callback fires, registered external buffers are not filled, AcquireFrame() starves, GetFrameCount() stops advancing, recording receives nothing, and -- the one that surprises people -- regions, alarm rules and motion zones stop being evaluated, because measurement rides on the same dispatch. There is no configuration in which measuring works while this is false.
Turning it off does not make the camera cheaper to run either. The backend still processes every frame; what is saved is one copy of width * height * 2 bytes and everything downstream of it. To drop the expensive half of the work, turn off bgra_frames instead.
raw_frames
bool raw_frames = false
Whether the sensor's uncalibrated ADU reaches the frame path, for Imager::SetRawCallback() and for the raw external buffer format.
You do not normally have to set this. Registering a raw callback turns it on, and clearing the callback turns it back off, so registration alone is enough to make frames arrive -- leaving a caller to discover that a second, differently-named call was also required is what made the callback look broken.
energy_frames
bool energy_frames = false
Whether the pipeline's linear energy frame reaches the frame path, for Imager::SetEnergyCallback() and for the int32 energy external buffer format.
Managed by registering an energy callback, exactly as raw_frames is.
fields
bool fields = true
Whether per-field statistics are attached to the legacy frame event.
"Fields" here are the v11 measurement fields carried in optris::FrameEvent::fields, not the v12 Region system, and only a legacy IRImagerClient ever sees them. Turning it off does not stop region temperatures or alarms in v12: those are measured from the thermal frame on a path that never reads this.
It saves almost nothing, either. The backend computes the field statistics regardless; this only skips copying them into the event, which is a handful of struct copies per field.
bgra_frames
bool bgra_frames = true
Whether the backend colorizes into an RGBA frame alongside the thermal one. Callers that only measure, or that colorize further down themselves, should turn this off: on the GPU backend it is a second submit and a second readback per frame, and the readback blocks the thread feeding the camera.