From: ImageAnalyst on
If you're using MATLAB's edge() function to do the Canny then you're
going to have to call imfill to get solid objects that you can call
bwlabel and regionprops on. Post your code so we can offer more help.
From: saurabh pandey on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <bac7103b-d01a-4dfa-b781-7535bc0a1ca8(a)s9g2000yqd.googlegroups.com>...
> If you're using MATLAB's edge() function to do the Canny then you're
> going to have to call imfill to get solid objects that you can call
> bwlabel and regionprops on. Post your code so we can offer more help.




Thank you very much for your support.

i=imread('coins.png');
imshow(i)
f=edge(i,'canny');
figure,imshow(f)
overlay1 = imoverlay(segout, f, [.988 0.309 0.082]);
figure,imshow(overlay1)

overlay is taken from "matlab central".Now i have the area of original image,and i want to calculate area of the segmented image by canny i.e., f=edge(i,'canny');,so that i could calculate the segmentation percentage.can i find the area by filling that image by using 'fill'
or 'region of interest'. how can i find this area please help.
From: saurabh pandey on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <bac7103b-d01a-4dfa-b781-7535bc0a1ca8(a)s9g2000yqd.googlegroups.com>...
> If you're using MATLAB's edge() function to do the Canny then you're
> going to have to call imfill to get solid objects that you can call
> bwlabel and regionprops on. Post your code so we can offer more help.




Thank you very much for your support.

i=imread('coins.png');
imshow(i)
f=edge(i,'canny');
figure,imshow(f)
overlay1 = imoverlay(segout, f, [.988 0.309 0.082]);
figure,imshow(overlay1)

overlay is taken from "matlab central".Now i have the area of original image,and i want to calculate area of the segmented image by canny i.e., f=edge(i,'canny');,so that i could calculate the segmentation percentage.can i find the area by filling that image by using 'fill'
or 'region of interest'. how can i find this area please help.
From: saurabh pandey on
"saurabh pandey" <sathiya_saurabh(a)yahoo.co.in> wrote in message <i116ee$gfn$1(a)fred.mathworks.com>...
> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <bac7103b-d01a-4dfa-b781-7535bc0a1ca8(a)s9g2000yqd.googlegroups.com>...
> > If you're using MATLAB's edge() function to do the Canny then you're
> > going to have to call imfill to get solid objects that you can call
> > bwlabel and regionprops on. Post your code so we can offer more help.
>
>
>
>
> Thank you very much for your support.
>
> i=imread('coins.png');
> imshow(i)
> f=edge(i,'canny');
> figure,imshow(f)
> overlay1 = imoverlay(segout, f, [.988 0.309 0.082]);
> figure,imshow(overlay1)
>
> overlay is taken from "matlab central".Now i have the area of original image,and i want to calculate area of the segmented image by canny i.e., f=edge(i,'canny');,so that i could calculate the segmentation percentage.can i find the area by filling that image by using 'fill'
> or 'region of interest'. how can i find this area please help.
now for this particular image i can fill the holes by using imfill function,but if i have another images. it doesn't work so efficiently.how can i do this for cameraman image or any other image.
From: ImageAnalyst on
On Jul 7, 2:36 am, "saurabh pandey"
> now for this particular image i can fill the holes by using imfill function,but if i have another images. it doesn't work so efficiently.how can i do this for cameraman image or any other image.
----------------------------------
You might have to close up the gaps in the edges with imclose().

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: mse
Next: UDP communication with dynamic server port