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
image processing using matlab
Started by ●March 31, 2006
Reply by ●April 3, 20062006-04-03
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
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