OptrisOptrisDocumentation

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

optris_sdk_threshold_band

The share of a region between two temperatures, or outside them: PIX Connect's "Distribution [%]". Added in 12.0.35.

Set with optris_sdk_region_set_threshold_band() and read as the same optris_sdk_region_threshold_share a one-sided threshold gives, over the measurable pixels. optris_sdk_threshold_config has room for one limit and cannot grow in a patch, so a band region's configuration reads {lower limit, direction, enabled} and the upper limit is held beside it: on a builder, and by the camera for an added region. It is saved with the region in a configuration and a recording.

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_threshold_band).

low_c

float low_c

The lower limit, in the SDK's temperature unit (Celsius unless optris_sdk_set_temperature_unit() chose Fahrenheit).

high_c

float high_c

The upper limit, in the same unit. Not below low_c.

direction

optris_sdk_threshold_direction direction

OPTRIS_SDK_THRESHOLD_BETWEEN or OPTRIS_SDK_THRESHOLD_OUTSIDE.