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

Structure containing the min residue, its corresponding threshold as well as the average pixel below/above the threshold. More...

#include <eVision/EasyImage/ETwoLevelsMinResidueThreshold.h>

Collaboration diagram for eVision::ETwoLevelsMinResidueThreshold:

Public Member Functions

 ETwoLevelsMinResidueThreshold ()
 Constructor.
 ETwoLevelsMinResidueThreshold (float minResidue, eVision::EBW8 threshold, float averageOfPixelsBelowThreshold, float averageOfPixelsAboveThreshold)
 Constructor.

Public Attributes

float MinResidue
 The minimum residue of the histogram.
eVision::EBW8 Threshold
 The threshold of the histogram, i.e. the first white pixel value.
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 min residue, its corresponding threshold as well as the average pixel below/above the threshold.

License(s): None

Constructor & Destructor Documentation

◆ ETwoLevelsMinResidueThreshold() [1/2]

eVision::ETwoLevelsMinResidueThreshold::ETwoLevelsMinResidueThreshold ( )

Constructor.

◆ ETwoLevelsMinResidueThreshold() [2/2]

eVision::ETwoLevelsMinResidueThreshold::ETwoLevelsMinResidueThreshold ( float minResidue,
eVision::EBW8 threshold,
float averageOfPixelsBelowThreshold,
float averageOfPixelsAboveThreshold )

Constructor.

Parameters
minResidueThe minimum residue of the histogram.
thresholdThe threshold of the histogram, i.e. the first white pixel value.
averageOfPixelsBelowThresholdThe average pixel value for pixels below the threshold.
averageOfPixelsAboveThresholdThe average pixel value for pixels above the threshold.

Member Data Documentation

◆ AverageOfPixelsAboveThreshold

float eVision::ETwoLevelsMinResidueThreshold::AverageOfPixelsAboveThreshold

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsBelowThreshold

float eVision::ETwoLevelsMinResidueThreshold::AverageOfPixelsBelowThreshold

The average pixel value for pixels below the threshold.

◆ MinResidue

float eVision::ETwoLevelsMinResidueThreshold::MinResidue

The minimum residue of the histogram.

◆ Threshold

eVision::EBW8 eVision::ETwoLevelsMinResidueThreshold::Threshold

The threshold of the histogram, i.e. the first white pixel value.