FThresholding Control Reference 14.1
Enumerations

Enumerations

enum  TComparisonMode {
  TH_Less = 0 , TH_LessOrEqual = 1 , TH_Equal = 2 , TH_GreaterOrEqual = 3 ,
  TH_Greater = 4
}
 Determines the comparison mode. More...
 
enum  TThresholdingMode { TM_Constant = 0 , TM_Dynamic = 1 , TM_Image = 2 }
 Determines the thresholding mode. More...
 

Detailed Description

Enumeration Type Documentation

◆ TComparisonMode

Determines the comparison mode.

Supported platforms:
Win32
Win64
Related Topics:
ComparisonMode
Enumerator
TH_Less 

Less than.

TH_LessOrEqual 

Less or equal.

TH_Equal 

Equal.

TH_GreaterOrEqual 

Greater or equal.

TH_Greater 

Greater.

◆ TThresholdingMode

Determines the thresholding mode.

Supported platforms:
Win32
Win64
Related Topics:
ThresholdingMode
Enumerator
TM_Constant 

Constant thresholding.

Constant thresholding uses only one global threshold for all pixels of the input image.

TM_Dynamic 

Dynamic thresholding.

The dynamic thresholding algorithm uses a different threshold for each pixel, which is dynamically computed from the input image as well.

TM_Image 

Thresholding with image.

The input image is thresholded with local but constant thresholds, that are taken from a second input image (it is obvious that this image should have the same width and height as the image to be thresholded).