optris::sdk::SceneRangeStats
Scene statistics an auto-scale decision is made from, in the pipeline's internal encoding.
Public attributes
min_val
float min_val = 0.0F
Coldest measurable pixel in the scene.
max_val
float max_val = 0.0F
Hottest measurable pixel in the scene.
have_range
bool have_range = false
Whether the two extremes above were measured from anything.
False when every pixel in the frame was unmeasurable, which a Wide-mode frame arriving before the first shutter cycle can be. The extremes are then left at zero and mean nothing; ResolveAutoScaleRange still returns a usable one-degree scale so the picture is drawn rather than dropped.
p1_bin
std::int32_t p1_bin = 0
1st-percentile histogram bin, as both pipelines compute it.
p99_bin
std::int32_t p99_bin = 0
99th-percentile histogram bin.
have_percentiles
bool have_percentiles = false
Whether the two bins above were actually computed for this frame.
mean
float mean = 0.0F
Mean of the measurable pixels, in the internal encoding.
std_dev
float std_dev = 0.0F
Population standard deviation of the same pixels. Population rather than sample: it is what the legacy ImageBuilder divides by, and on 60k pixels the difference is the seventh digit anyway.
have_moments
bool have_moments = false
Whether the two moments above were computed for this frame. False when they were not asked for, and also when the frame had no measurable pixel at all.