Thresholding

Node Icon

The triangle method constructs a line between the histogram peak and the farthest end of the histogram. The threshold is the point of maximum distance between the line and the histogram.This implementation uses robust (1 % and 99 %) estimation of histogram ends.

Inputs

Input

Input image(s).

Type: Image, List, Required, Single

Outputs

Output

Output mask(s).

Type: Mask, List

Threshold

The threshold found by the triangle threshold method.

Type: Numeric Array, List

Settings

Bins Integer

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

See also

References

Keywords: