Ridler-Calvard image thresholding

Threshold an image using the Ridler-Calvard algorithm
1,2K download
Aggiornato 12 nov 2013

Visualizza la licenza

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.

Cita come

Jake Hughey (2024). Ridler-Calvard image thresholding (https://www.mathworks.com/matlabcentral/fileexchange/44255-ridler-calvard-image-thresholding), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Added a tolerance to the convergence.

1.0.0.0