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

The various modes for thresholding that are supported by eVision. More...

Inheritance diagram for eVision.EThresholdMode:
Collaboration diagram for eVision.EThresholdMode:

Static Public Attributes

int Absolute = -2
 Reserved value.
int Relative = -3
 Relative threshold; determines the required threshold level so that a given fraction of the image pixels lie below it.
int MinResidue = -4
 Selects a threshold value such that the quadratic difference between the source and thresholded image is minimized.
int MaxEntropy = -5
 Selects a threshold value such that the entropy (i.e.
int Isodata = -6
 Selects a threshold value that lies halfway between the average dark gray value (i.e.

Detailed Description

The various modes for thresholding that are supported by eVision.

Member Data Documentation

◆ Absolute

int eVision.EThresholdMode.Absolute = -2
static

Reserved value.

For absolute thresholding, use the threshold value itself, cast to EThresholdMode.

◆ Isodata

int eVision.EThresholdMode.Isodata = -6
static

Selects a threshold value that lies halfway between the average dark gray value (i.e.

gray levels below the threshold) and average light gray values (i.e. gray levels above the threshold).

◆ MaxEntropy

int eVision.EThresholdMode.MaxEntropy = -5
static

Selects a threshold value such that the entropy (i.e.

the amount of information) of the resulting thresholded image is maximized.

◆ MinResidue

int eVision.EThresholdMode.MinResidue = -4
static

Selects a threshold value such that the quadratic difference between the source and thresholded image is minimized.

◆ Relative

int eVision.EThresholdMode.Relative = -3
static

Relative threshold; determines the required threshold level so that a given fraction of the image pixels lie below it.