HighPrecisionState
public enum HighPrecisionState
Whether the high-precision temperature table's finer step is reaching the temperatures this SDK reports, and when it is not, which of the two reasons applies.
This exists because ThermalCamera.HighPrecision accepts true and reads back true, on every camera, while the step you then read is 0.1 °C either way. Without this a caller cannot tell "this camera has no finer table" from "it has one, you selected it, and the SDK is rounding it away". Those need different responses (the first is fixed by choosing another mode, the second cannot be fixed by a caller at all), and they were indistinguishable through the public API.
A four-state enum rather than a second flag beside OperationMode.SupportsHighPrecision: a pair of flags can spell "no finer table exists, and its resolution is reaching you", which is nonsense, and this cannot.
HighPrecisionState.Unknown is zero so a default-initialised value reads as "nobody said" rather than as a claim, which is the convention this SDK uses throughout, see DetectorSettling and FrameMetadata.SensorTemperature. Never infer the answer from a temperature value instead: a value-derived sentinel claims a real measurement is missing.
This reports what is delivered, not what the detector could source. The second is not a single number: on the four high-precision ranges across the cameras Optris tests with, the gap between two adjacent calibration-table entries varies by 3× across one range's own span: 0.0093 K at 100 °C against 0.0274 K at −20 °C on the best of them. See ThermalCamera.HighPrecision for the figures.
| Value | ||
|---|---|---|
Unknown |
0 |
The SDK cannot say, because no operation mode has been read from a camera: a camera that is not open, or one with no device behind it. |
Unavailable |
1 |
The active mode's calibration offers no high-precision table, so there is no finer step to deliver and the request is inert on this mode. |
Disabled |
2 |
The active mode offers the finer table and the caller has switched it off. Nothing is wrong; this is the request reported back. |
SelectedNotDelivered |
3 |
The honest one, and today it is the answer on every camera that offers the finer table at all. The mode offers it, it is selected, the finer table is genuinely built in centidegrees, and the pipeline then carries every thermal pixel as T*10 + 1000 in a 16-bit integer, so what you read is quantised to 0.1 °C regardless. |
Delivered |
4 |
The active mode offers the finer table, it is selected, and the temperatures you read carry a step finer than 0.1 °C. |