optris_sdk_threshold_config
What share of a region has crossed a limit, and which limit.
An operator watching a process usually cares less about the single hottest pixel in a region than about how much of it has crossed a line: what fraction of a brake disc is over 200 C, how much of a pane is still below its setpoint. The share moves smoothly where a maximum jumps around.
Set with optris_sdk_region_set_threshold_config() and read with optris_sdk_imager_get_region_threshold_share(). Added in API version 12.
Public attributes
struct_size
uint32_t struct_size
Set to sizeof(optris_sdk_threshold_config).
threshold_c
float threshold_c
The limit, in the SDK's temperature unit (Celsius unless optris_sdk_set_temperature_unit() chose Fahrenheit).
direction
optris_sdk_threshold_direction direction
Which side of threshold_c counts.
enabled
uint8_t enabled
Non-zero to count at all. Zero -- the default -- and the region counts nothing and optris_sdk_region_threshold_share::valid is zero.
reserved0
uint8_t reserved0[3]
Reserved; always zero. Named so the struct has no implicit padding.