OptrisOptrisDocumentation

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

optris::sdk::PixelLocation

A pixel's position in a frame, row-major from the top-left.

Integer pixels, deliberately not Vec2, which is width-normalised floats for a region's geometry. These two have been confused: the alarm engine publishes a region's hot spot as a Vec2 and a frame's extremes as a linear index, and "where is the hot spot" has had three spellings with three different absence rules.

Public attributes

x

uint32_t x = 0

Column, 0 to width - 1.

y

uint32_t y = 0

Row, 0 to height - 1.

Friends

operator==

auto operator==(const PixelLocation &a, const PixelLocation &b) -> bool