Ridler-Calvard image thresholding
I wasn't satisfied with the existing matlab implementations of the Ridler-Calvard algorithm, so I wrote my own.
Besides returning the threshold value, the function can also return the thresholded (binary) image.
The function also allows one to apply a log transform to the image prior to thresholding. The log transform may result in a better threshold, if the variance of the foreground is considerably higher than the variance of the background.
Citation pour cette source
Jake Hughey (2025). Ridler-Calvard image thresholding (https://www.mathworks.com/matlabcentral/fileexchange/44255-ridler-calvard-image-thresholding), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Tags
Remerciements
Inspiré par : Automatic Thresholding, Automatic Thresholding, Automatic Thresholding
A inspiré : BiofilmQ, Simple Image Thresholding
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Added a tolerance to the convergence. |
||
1.0.0.0 |