SizeOfSourceStatus
public enum SizeOfSourceStatus
Whether size-of-source correction is subtracting the halo.
Four outcomes rather than a boolean because three different things all present as "switched on and the picture did not change", and they need different actions from whoever reads them.
ThermalCamera.SizeOfSourceCorrection is the request; this is the outcome.
| Value | ||
|---|---|---|
Unknown |
0 |
Nobody has looked yet: the camera is not open, or there is no processing pipeline behind this source. Never treat this as active. |
Active |
1 |
The correction is running: a table is loaded, the switch is on, and the strength is above zero. |
Off |
2 |
Switched off by the caller -- ThermalCamera.SizeOfSourceCorrection is false. |
NoTable |
3 |
Asked for, and no correction table exists for this camera and optics. The calibration either does not flag the optics for size-of-source correction or ships no table beside it. The ordinary case, and not a failure. |
ZeroStrength |
4 |
A table is loaded and the correction is switched on, and it is still an exact identity, because ThermalCamera.SizeOfSourceStrength is zero. |