OptrisOptrisDocumentation

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

optris::sdk::IgnoredTemperatures

Temperatures to leave out of a measurement: PIX Connect's "Ignore pixels with temperatures below ... and above ...", each side switched on separately.

A pixel is ignored when it is strictly below below_c (with ignore_below set) or strictly above above_c (with ignore_above set); a pixel exactly on a limit counts, as in PIX Connect. Ignoring is not the same as not measuring: an ignored pixel had a reading, so RegionStats::coverage still counts it, and RegionEngine::IgnoredPixelCount() says how many there were.

Off by default: a band with neither side set ignores nothing, and every number is then the one the SDK reported without it.

below_c and above_c are in the SDK's temperature unit (Celsius unless SetTemperatureUnit() chose Fahrenheit). Added in 12.0.42.

Public attributes

ignore_below

bool ignore_below = false

Leave out pixels colder than below_c.

below_c

float below_c = 0.0F

The lower limit, kept itself.

ignore_above

bool ignore_above = false

Leave out pixels warmer than above_c.

above_c

float above_c = 0.0F

The upper limit, kept itself. Not below below_c when both sides are set.