Global Threshold computation using Otsu's Method
Updated Mon, 10 Aug 2015 22:57:22 +0000
Computes the global image threshold using Otsu's method by minimizing the
histogramCounts : is the histogram data of the image, that can be calculated
using `imhist` function.
total: is the total number of pixels that can be counted using the
ll : is the level of the global threshold in [0 1]
consider the grayscale image is Ig
Reza Ahmadzadeh (2023). Global Threshold computation using Otsu's Method (https://www.mathworks.com/matlabcentral/fileexchange/52437-global-threshold-computation-using-otsu-s-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.