OptrisOptrisDocumentation

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

optris_sdk_region_percentiles

One region's distribution for one frame.

Computed only when the region was asked for percentiles with optris_sdk_region_set_want_percentiles(), because it costs extra work on every frame. Without it valid is zero and the four fields are zeroes (NaN in Fahrenheit) rather than temperatures -- test valid, the way you would for optris_sdk_region_stats.

The four percentiles are temperatures in the SDK's temperature unit (Celsius unless optris_sdk_set_temperature_unit() chose Fahrenheit).

Public attributes

struct_size

uint32_t struct_size

Set to sizeof(optris_sdk_region_percentiles).

p01_c

float p01_c

1st percentile, in the SDK's temperature unit

p05_c

float p05_c

5th percentile

p95_c

float p95_c

95th percentile

p99_c

float p99_c

99th percentile

valid

uint8_t valid

Non-zero when the four fields above mean anything.

reserved0

uint8_t reserved0[3]

Reserved; always zero.