eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EHistogramThreshold Struct Reference

Structure containing the threshold of a histogram as well as the average value below/above the threshold. More...

#include <eVision/EasyImage/EHistogramThreshold.h>

Public Member Functions

 EHistogramThreshold ()
 Constructor.
 EHistogramThreshold (uint32_t threshold, float averageOfPixelsBelowThreshold, float averageOfPixelsAboveThreshold)
 Constructor.

Public Attributes

uint32_t Threshold
 The threshold of the histogram.
float AverageOfPixelsBelowThreshold
 The average pixel value for pixels below the threshold.
float AverageOfPixelsAboveThreshold
 The average pixel value for pixels above the threshold.

Detailed Description

Structure containing the threshold of a histogram as well as the average value below/above the threshold.

License(s): None

Constructor & Destructor Documentation

◆ EHistogramThreshold() [1/2]

eVision::EHistogramThreshold::EHistogramThreshold ( )

Constructor.

◆ EHistogramThreshold() [2/2]

eVision::EHistogramThreshold::EHistogramThreshold ( uint32_t threshold,
float averageOfPixelsBelowThreshold,
float averageOfPixelsAboveThreshold )

Constructor.

Parameters
thresholdThe threshold of the histogram.
averageOfPixelsBelowThresholdThe average pixel value for pixels below the threshold.
averageOfPixelsAboveThresholdThe average pixel value for pixels above the threshold.

Member Data Documentation

◆ AverageOfPixelsAboveThreshold

float eVision::EHistogramThreshold::AverageOfPixelsAboveThreshold

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsBelowThreshold

float eVision::EHistogramThreshold::AverageOfPixelsBelowThreshold

The average pixel value for pixels below the threshold.

◆ Threshold

uint32_t eVision::EHistogramThreshold::Threshold

The threshold of the histogram.