OptrisOptrisDocumentation

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

optris::sdk::MeasureSpace

The relationship between the space regions are authored in and the space the frame's pixels live in.

The default is the identity, which is the whole of the SDK before a canvas exists: regions are authored in frame coordinates and measured there. Give it a non-identity mapping and regions are authored somewhere else (on a Canvas) and mapped into the frame to be measured. Measurement therefore always samples original sensor pixels, whatever the camera's placement is doing.

Public attributes

to_frame

Matrix3 to_frame = kIdentity3

Region space -> frame space. Applied to a region's geometry before it is measured.

from_frame

Matrix3 from_frame = kIdentity3

Frame space -> region space. Applied to reported locations (hot spot, cold spot, centre), so a caller reads them back in the space it authored the region in.

active

bool active = false

False short-circuits the mapping entirely. Two identity matrices would give the same answer, but not for free.