DistortionCorrectionStatus
public enum DistortionCorrectionStatus
Whether distortion correction is actually reshaping the picture.
ThermalCamera.DistortionCorrection says what was asked for. This says what is happening, and the two genuinely differ on ordinary hardware: the correction needs a radial distortion coefficient that a given camera and optics may simply not carry.
Asking for a correction the camera cannot do is not an error -- distortion correction defaults to on, so refusing would make every such camera fail to open. The reason arrives here instead.
| Value | ||
|---|---|---|
Unknown |
0 |
Nobody has looked yet: the camera is not open, or this source has no processing adapter to read the correction through -- a simulated camera, a recording being replayed. Never treat this as active. |
Active |
1 |
The correction is running. A remap table was built from the calibration's coefficients and every frame goes through it. |
Off |
2 |
Switched off by the caller -- ThermalCamera.DistortionCorrection is DistortionCorrection.Off. The camera may or may not have the coefficients; nobody asked. |
NoCoefficients |
3 |
Asked for, and there is nothing to correct with: this camera and optics carry no radial distortion coefficient, so there is no remap table to build. |