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

The modes that are available to segment a grayscale image using a single threshold. More...

Inheritance diagram for eVision.EGrayscaleSingleThreshold:
Collaboration diagram for eVision.EGrayscaleSingleThreshold:

Static Public Attributes

int Absolute = 0
 Thresholds the image against a fixed, absolute gray level.
int Relative = 1
 Thresholds the image against a relative gray level: The actual threshold is selected so that a given fraction of the pixels of the image lie below it.
int MinResidue = 2
 Thresholds the image using an automatically-computed value such that the quadratic difference between the source and thresholded image is minimized.
int MaxEntropy = 3
 Thresholds the image using an automatically-computed value such that the entropy (i.e.
int IsoData = 4
 Thresholds the image using an automatically-computed value halfway between the average dark gray value (i.e.

Detailed Description

The modes that are available to segment a grayscale image using a single threshold.

Member Data Documentation

◆ Absolute

int eVision.EGrayscaleSingleThreshold.Absolute = 0
static

Thresholds the image against a fixed, absolute gray level.

The threshold value is fixed through eVision.Segmenters.EGrayscaleSingleThresholdSegmenter.AbsoluteThreshold.

◆ IsoData

int eVision.EGrayscaleSingleThreshold.IsoData = 4
static

Thresholds the image using an automatically-computed value 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.EGrayscaleSingleThreshold.MaxEntropy = 3
static

Thresholds the image using an automatically-computed value such that the entropy (i.e.

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

◆ MinResidue

int eVision.EGrayscaleSingleThreshold.MinResidue = 2
static

Thresholds the image using an automatically-computed value such that the quadratic difference between the source and thresholded image is minimized.

◆ Relative

int eVision.EGrayscaleSingleThreshold.Relative = 1
static

Thresholds the image against a relative gray level: The actual threshold is selected so that a given fraction of the pixels of the image lie below it.

The fraction is fixed through eVision.Segmenters.EGrayscaleSingleThresholdSegmenter.RelativeThreshold.