MATLAB: Image Binarization

image processing

Pls can someone help me with Mat-lab Image Binarization code? Thanks.

Best Answer

Perhaps you'd like to learn via my image segmentation tutorial at http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 I go over binarization in several other demos there also. Here's some quick code for you in the mean time:
binaryImage = grayImage > thresholdValue; % can also use <
Related Question