Thresholding

Node Icon

Threshold an image with the Intermodes method. Iteratively smooths the histogram until only 2 peaks remain. Threshold is the midpoint of the two peaks. Not good for histograms with very unequal peaks.

Inputs

Input

Input image(s).

Type: Image, List, Required, Single

Outputs

Output

Output mask(s).

Type: Mask, List

Threshold

The threshold found using intermodes thresholding.

Type: Numeric Array, List

Settings

Bins Integer

Set the number of image grayscale values, or bins, when finding the threshold.

See also

Keywords: