OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C++ API referencev12.0

optris::sdk::PictureCorrection

What the two optical corrections are actually doing right now.

Returned by Processing::Correction(). A snapshot, not a handle -- re-read it after changing a ProcessingConfig or after an operation mode change, both of which rebuild the tables these describe.

Public attributes

rdc

RdcStatus rdc = RdcStatus::kUnknown

Whether radial distortion correction is reshaping the picture.

sos

SosStatus sos = SosStatus::kUnknown

Whether size-of-source correction is subtracting the halo.

sos_strength

float sos_strength = 0.0F

The size-of-source strength in force, 0 to 0.95. Clamped to that range on the way in, so this is what the pipeline is using and not necessarily what was passed to Processing::Set().

valid

bool valid = false

Whether this record was populated at all. False when there is no pipeline behind the source, in which case both statuses are kUnknown and the strength is meaningless.