DSPRelated.com
Forums

image processing using matlab

Started by harishnrn March 31, 2006
hi,
actually i am working on image processing. i have a blurred
image with me which i have successfuly deblurred it using matleb. now
my aim is to segment the image obtained using matlab? can any onle tel
me how to proceed at the earliest? thanks in advance
harish
Hi,
there are lots of ways to segment an image. you can
threshold it globally using the graythresh function
like this:
g=graythresh(img); % this will gfive you the global
%threshold
newimage=im2bw(img,g);
% this will convert ur grauscale image (img) into a
%binary image.
Alternatively, u could supply your own value of
threshold in place of g.
Hope this helps.

E.S