Simple Image Thresholding
Version 1.3.0.0 (1.57 KB) by
Jake Hughey
Simple method to calculate the threshold of an image
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.
Cite As
Jake Hughey (2026). Simple Image Thresholding (https://in.mathworks.com/matlabcentral/fileexchange/44291-simple-image-thresholding), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Find more on Image Thresholding in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Ridler-Calvard image thresholding
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
