Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Thresholding

Image Thresholding

Select a function from the list below.

Icon Name Description / Applications Modules
SelectThresholdValue

Selects best threshold value using the image histogram.


Usually used before a thresholding filter when the image brightness is variable. Use with care.

FoundationBasic
ThresholdImage

Transforms each pixel value to maximum or minimum depending on whether they belong to the specified range.


Image binarization when the illumination is constant and uniform.

FoundationLite
ThresholdImage_Color

Transforms each pixel value to maximum or minimum depending on the distance from a given color.


Color analysis with a given reference color.

FoundationPro
ThresholdImage_Dynamic

Thresholds an image relatively to some value calculated in a local rectangular neighbourhood.


Image binarization when the illumination is uneven.

FoundationLite
ThresholdImage_HSx

Transforms each pixel value to minimum or maximum depending on whether it belongs to specified region in the HSV, HSL or HSI color space.


Color analysis.

FoundationLite
ThresholdImage_Hysteresis

Thresholds an image with a hysteresis, i.e. with a lower threshold for neighboring pixels.

FoundationBasic
ThresholdImage_Multirange

Transforms each pixel value to maximum or minimum depending on whether they belong to the specified range.


Image binarization when the illumination is constant and uniform.

FoundationPro
ThresholdImage_Relative

Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).

FoundationBasic
ThresholdImage_RGB

Transforms each pixel value to minimum or maximum depending on whether it belongs to the specified range for each individual pixel component.


Multi-channel thresholding.

FoundationLite
ThresholdToRegion

Creates a region containing image pixels with values within the specified range.


Extraction of a region of objects that can be defined by a salient brightness.

FoundationBasic
ThresholdToRegion_Color

Creates a region containing image pixels with values close to the given color.


Color analysis with a given reference color.

FoundationPro
ThresholdToRegion_Dynamic

Thresholds an image relatively to the average pixel value in a local rectangular neighborhood.


Useful in case of uneven illumination.

FoundationBasic
ThresholdToRegion_HSx

Creates a region containing image pixels which belongs to specified region in HSV, HSL or HSI space.


Extraction of a region characterized with a specific color.

FoundationBasic
ThresholdToRegion_Relative

Thresholds an image with a different threshold value for each pixel (inBaseImage(x, y) + inValue).

FoundationBasic
ThresholdToRegion_Relative_DarkBright

Thresholds an image using two relative thresholds and produces two regions (Dark and Bright) in a single image pass.


This filter can replace two instances of ThresholdToRegion_Relative which may slightly improve performance.

FoundationBasic
ThresholdToRegion_RGB

Creates a region containing image pixels which belongs to the specified range for each individual pixel component.


Multi-channel thresholding.

FoundationBasic