OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

RecordedLossy

pub struct RecordedLossy

What a recording's lossy settings were, as the file records them.

RecordedLossy — fields

quantize_counts: u32

How many detector counts each stored step is worth. Zero for a lossless recording.

This is the one that makes a recording not a measurement of what the camera saw, which is why it is stored in the file rather than left to be remembered.

max_error_k: f32

The worst temperature error that quantisation can cause: a difference in degrees of the SDK's temperature unit (kelvin-sized in Celsius, Fahrenheit-sized in Fahrenheit).

visual_quality: i32

The visual track's quality setting.

visual_codec: String

The visual track's codec, or empty.

RecordedLossy — methods

pub fn is_lossy(&self) -> bool

Whether the recording stored quantised counts rather than the camera's own.