M-File Help: ithresh | View code for ithresh |
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.
© 1990-2012 Peter Corke.