otsuthresh
Global histogram threshold using Otsu's method
Description
computes
a global threshold T = otsuthresh(counts)T from histogram counts,
counts, using Otsu's method [1]. Otsu's method chooses a
threshold that minimizes the intraclass variance of the thresholded black and white
pixels. The global threshold T can be used with imbinarize to convert a grayscale
image to a binary image.
Examples
Input Arguments
Output Arguments
References
[1] Otsu, N., "A Threshold Selection Method from Gray-Level Histograms." IEEE Transactions on Systems, Man, and Cybernetics. Vol. 9, No. 1, 1979, pp. 62–66.

