% Otsu image thresholding (for image thresholds > 0)
% 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.
% Similar to MATLAB function graythresh.m
% input: image (IM)
% output: binary image (IM_OTSU) and optimal threshold value
2one (2023). otsu.m.zip (https://www.mathworks.com/matlabcentral/fileexchange/47103-otsu-m-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!