Interactive image threshold
ithresh(im) displays the image im in a window with a slider which adjusts the binary threshold.
ithresh(im, T) as above but the initial threshold is set to T.
im2 = ithresh(im) as above but returns the thresholded image after the "done" button in the GUI is pressed.
[im2,T] = ithresh(im) as above but also returns the threshold value.
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.