From: Vivian Harvey on
Hi

If I have an image which has been processed by the 'edge' function and there is just one almost circular object there - like it is a bit crooked at the edges but by teh naked human eye, it can be taken as almost circular. How do I pinpoint that object in MATLAB? If possible, not considering dimensions and there are no perfect shapes in the image.

Thanks

V
From: news.mathworks.com on
Hough Transform.

"Vivian Harvey" <viv_harv(a)yahoo.co.uk> wrote in message
news:hnlnf6$boa$1(a)fred.mathworks.com...
> Hi
>
> If I have an image which has been processed by the 'edge' function and
> there is just one almost circular object there - like it is a bit crooked
> at the edges but by teh naked human eye, it can be taken as almost
> circular. How do I pinpoint that object in MATLAB? If possible, not
> considering dimensions and there are no perfect shapes in the image.
>
> Thanks
>
> V
>


From: ImageAnalyst on
Vivian Harvey:
Where's your image? - you didn't post it, so about all I can offer is
this demo which I use to find the area and centroid of round objects.
http://www.mathworks.com/matlabcentral/fileexchange/25157

Also, I'm not sure what this question or statement really means "If
possible, not considering dimensions and there are no perfect shapes
in the image. "

And please define what you mean by "pinpoint." Do you mean the
centroid (x,y) location? Or a list of all the pixels in the blob? Or
something else?
From: David Young on
Yes, it sounds like a Hough transform problem. However, the Image Processing toolbox function for the HT only applies to straight lines. I see there's an HT for circles here: http://www.mathworks.com/matlabcentral/fileexchange/9833. This looks like it would be a good starting point.
From: David Young on
Sorry - the link doesn't work because I put the full stop right after the URL. This link should be better: http://www.mathworks.com/matlabcentral/fileexchange/9833
 |  Next  |  Last
Pages: 1 2 3
Prev: create a vector of months
Next: fmincon minimisation