Thresholding an image

Interactively threshold an image. Make a binary image.

Download
Download

You are now following this Submission

Cite As

Image Analyst (2026). Thresholding an image (https://ch.mathworks.com/matlabcentral/fileexchange/29372-thresholding-an-image), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Parametric Mapping Scripts for MRI data

General Information

MATLAB Release Compatibility

  • Compatible with R2014b to R2021b

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

Added option to set thresholds to Triangle or Otsu values. Updated graphics. Updated properties from set() to OOP style. Tested in R2021b.

Download
1.2.0

Fixed bug about typing in a value for a floating point image.

Download
1.1.0

Updated to work with R2015a.

Download
1.0.0

Download