OptrisOptrisDocumentation

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

optris::sdk::view::ContourPoint

One vertex of a blob outline, in frame-normalized coordinates.

Both components are a pixel index divided by (dimension - 1), so an outline that reaches the last column or row lands exactly on 1.0. That is not the divisor Blob::center_x and Blob::width use -- those divide by the full dimension -- so an outline and its own bounding box disagree by up to a pixel at the far edge. Multiply by the frame size to get pixels back. Neither member has a default, so a ContourPoint that is not brace-initialized holds garbage.

Public attributes

x

float x

Horizontal position, 0 at the left column, 1 at the right one.

y

float y

Vertical position, 0 at the top row, 1 at the bottom one.