OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

RegionPercentiles

pub struct RegionPercentiles

One region's temperature distribution for the most recent frame.

Off unless the region was built with Region::want_percentiles, because it costs extra work on every frame. crate::Camera::region_percentiles returns None when it is off, rather than a struct of zeroes that would read as a very cold region.

Percentiles answer a different question from RegionStats::min_c and RegionStats::max_c: a single reflective pixel moves the maximum and does not move p95_c. On a noisy scene, or one with a sun glint in it, the 95th percentile is the number to alarm on.

RegionPercentiles — fields

p01_c: f32

1st percentile, in the SDK's temperature unit (Celsius unless crate::set_temperature_unit chose Fahrenheit).

p05_c: f32

5th percentile, in the SDK's temperature unit.

p95_c: f32

95th percentile, in the SDK's temperature unit.

p99_c: f32

99th percentile, in the SDK's temperature unit.