Global Threshold computation using Otsu's Method

Global Threshold computation using Otsu's Method
310 téléchargements
Mise à jour 10 août 2015

Afficher la licence

Computes the global image threshold using Otsu's method by minimizing the
inter-class variance.
Inputs:

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
`numel` function.

Output:
ll : is the level of the global threshold in [0 1]

Example:

consider the grayscale image is Ig

>> otsu(imhist(Ig),numel(Ig))
>> 04414

Citation pour cette source

Reza Ahmadzadeh (2026). Global Threshold computation using Otsu's Method (https://fr.mathworks.com/matlabcentral/fileexchange/52437-global-threshold-computation-using-otsu-s-method), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2006b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0