eVision Python API
Loading...
Searching...
No Matches
eVision.EHistogramThreshold Class Reference

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

Public Member Functions

None __init__ (self)
 Constructor.
None __init__ (self, int threshold, float averageOfPixelsBelowThreshold, float averageOfPixelsAboveThreshold)
 Constructor.
None __init__ (self, int Threshold)
None __init__ (self, int Threshold, float AverageOfPixelsBelowThreshold)
None __init__ (self, eVision.EHistogramThreshold other)
int Threshold (self)
 The threshold of the histogram.
 Threshold (self, int value)
 The threshold of the histogram.
float AverageOfPixelsBelowThreshold (self)
 The average pixel value for pixels below the threshold.
 AverageOfPixelsBelowThreshold (self, float value)
 The average pixel value for pixels below the threshold.
float AverageOfPixelsAboveThreshold (self)
 The average pixel value for pixels above the threshold.
 AverageOfPixelsAboveThreshold (self, float value)
 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.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/5]

None eVision.EHistogramThreshold.__init__ ( self)

Constructor.

◆ __init__() [2/5]

None eVision.EHistogramThreshold.__init__ ( self,
int 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.

◆ __init__() [3/5]

None eVision.EHistogramThreshold.__init__ ( self,
int Threshold )
Parameters
ThresholdThe threshold of the histogram.

◆ __init__() [4/5]

None eVision.EHistogramThreshold.__init__ ( self,
int Threshold,
float AverageOfPixelsBelowThreshold )
Parameters
ThresholdThe threshold of the histogram.
AverageOfPixelsBelowThresholdThe average pixel value for pixels below the threshold.

◆ __init__() [5/5]

None eVision.EHistogramThreshold.__init__ ( self,
eVision.EHistogramThreshold other )
Parameters
otherOther instance

Member Function Documentation

◆ AverageOfPixelsAboveThreshold() [1/2]

float eVision.EHistogramThreshold.AverageOfPixelsAboveThreshold ( self)

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsAboveThreshold() [2/2]

eVision.EHistogramThreshold.AverageOfPixelsAboveThreshold ( self,
float value )

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsBelowThreshold() [1/2]

float eVision.EHistogramThreshold.AverageOfPixelsBelowThreshold ( self)

The average pixel value for pixels below the threshold.

◆ AverageOfPixelsBelowThreshold() [2/2]

eVision.EHistogramThreshold.AverageOfPixelsBelowThreshold ( self,
float value )

The average pixel value for pixels below the threshold.

◆ Threshold() [1/2]

int eVision.EHistogramThreshold.Threshold ( self)

The threshold of the histogram.

◆ Threshold() [2/2]

eVision.EHistogramThreshold.Threshold ( self,
int value )

The threshold of the histogram.