File Exchange

image thumbnail

Thresholding Grayscale Image

version 1.0 (9.29 KB) by

Thresholds the given grayscale image.

3 Ratings



View License

GUI included with selectable threshold value.
Thresholds the grayscale image at the given threshold value.

Comments and Ratings (3)

ashfaq ahmad

Andy Rife

Matlab graythresh() works better.

Mark Hayworth

Not bad. Shows original image on left and binarized image on right. Binarized image changes as you interactively set the low and high threshold limits. Button for a popup window with the binary image applied to the original image. Handles color images after you select a color band (which they call "Scale" for some reason) to work with. A little bit clunky and could use several user interface improvements (e.g. there is no way to interactively browse for an image file), but it's a good starting point for you to use to build something like this into your own application.

MATLAB Release
MATLAB 6.0 (R12)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today