Simple Image Thresholding

Simple method to calculate the threshold of an image
773 Downloads
Aktualisiert 20 Nov 2013

Lizenz anzeigen

This method first estimates a cutoff, then calculates the distribution of pixels within the cutoff in order to determine the final threshold.

I have found this method to work quite well for fluorescence microscopy images in which most of the pixels are background and the background is approximately gaussian.

There are a couple parameters than can be used to tune the threshold.

Zitieren als

Jake Hughey (2024). Simple Image Thresholding (https://www.mathworks.com/matlabcentral/fileexchange/44291-simple-image-thresholding), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: Ridler-Calvard image thresholding

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.3.0.0

Slight refinement to only use pixels below the cutoff for calculating the threshold.

1.2.0.0

Updated the description.

1.1.0.0

Fixed bug caused by mode not accepting integers.