Prev: create a vector of months
Next: fmincon minimisation
From: Vivian Harvey on 15 Mar 2010 12:32 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 15 Mar 2010 13:44 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 15 Mar 2010 16:07 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 15 Mar 2010 16:18 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 15 Mar 2010 16:26
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 |