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

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

Public Member Functions

None __init__ (self)
 Constructor.
None __init__ (self, float minResidue, eVision.EBW8 threshold, float averageOfPixelsBelowThreshold, float averageOfPixelsAboveThreshold)
 Constructor.
None __init__ (self, float MinResidue)
None __init__ (self, float MinResidue, eVision.EBW8 Threshold)
None __init__ (self, float MinResidue, eVision.EBW8 Threshold, float AverageOfPixelsBelowThreshold)
None __init__ (self, eVision.ETwoLevelsMinResidueThreshold other)
float MinResidue (self)
 The minimum residue of the histogram.
 MinResidue (self, float value)
 The minimum residue of the histogram.
eVision.EBW8 Threshold (self)
 The threshold of the histogram, i.e.
 Threshold (self, eVision.EBW8 value)
 The threshold of the histogram, i.e.
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 min residue, its corresponding threshold as well as the average pixel below/above the threshold.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/6]

None eVision.ETwoLevelsMinResidueThreshold.__init__ ( self)

Constructor.

◆ __init__() [2/6]

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

◆ __init__() [3/6]

None eVision.ETwoLevelsMinResidueThreshold.__init__ ( self,
float MinResidue )
Parameters
MinResidueThe minimum residue of the histogram.

◆ __init__() [4/6]

None eVision.ETwoLevelsMinResidueThreshold.__init__ ( self,
float MinResidue,
eVision.EBW8 Threshold )
Parameters
MinResidueThe minimum residue of the histogram.
ThresholdThe threshold of the histogram, i.e. the first white pixel value.

◆ __init__() [5/6]

None eVision.ETwoLevelsMinResidueThreshold.__init__ ( self,
float MinResidue,
eVision.EBW8 Threshold,
float AverageOfPixelsBelowThreshold )
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.

◆ __init__() [6/6]

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

Member Function Documentation

◆ AverageOfPixelsAboveThreshold() [1/2]

float eVision.ETwoLevelsMinResidueThreshold.AverageOfPixelsAboveThreshold ( self)

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsAboveThreshold() [2/2]

eVision.ETwoLevelsMinResidueThreshold.AverageOfPixelsAboveThreshold ( self,
float value )

The average pixel value for pixels above the threshold.

◆ AverageOfPixelsBelowThreshold() [1/2]

float eVision.ETwoLevelsMinResidueThreshold.AverageOfPixelsBelowThreshold ( self)

The average pixel value for pixels below the threshold.

◆ AverageOfPixelsBelowThreshold() [2/2]

eVision.ETwoLevelsMinResidueThreshold.AverageOfPixelsBelowThreshold ( self,
float value )

The average pixel value for pixels below the threshold.

◆ MinResidue() [1/2]

float eVision.ETwoLevelsMinResidueThreshold.MinResidue ( self)

The minimum residue of the histogram.

◆ MinResidue() [2/2]

eVision.ETwoLevelsMinResidueThreshold.MinResidue ( self,
float value )

The minimum residue of the histogram.

◆ Threshold() [1/2]

eVision.EBW8 eVision.ETwoLevelsMinResidueThreshold.Threshold ( self)

The threshold of the histogram, i.e.

the first white pixel value.

◆ Threshold() [2/2]

eVision.ETwoLevelsMinResidueThreshold.Threshold ( self,
eVision.EBW8 value )

The threshold of the histogram, i.e.

the first white pixel value.