i want to remove the edges and get a perfect circle like uploaded image figure 2 .

can i convert figure 1 circle in to figure 2 using Matlab .
(figure 1)
(figure 2)

3 Comments

Actually figure 1 is a result image of after using edge detected techniques for some object . Then i want to trim the edges like perfect circle as figure 2 shows. Because some places of my edge detected circle(figure 1) like a saw-tooth it will cause to generate wrong results at the end of my further algorithm . i thing my question now clearly understand sorry for the incomplete question. Anyone know the solution for this...
Thank you Best regard!
At least I was trying, but you never answered my questions in my latest comment. the ball was in your court but you never returned the information so I quit.

Sign in to comment.

 Accepted Answer

3 Comments

Thanks for the reply Image Analyst,but this did not answer my question .
Actually figure 1 is a result image of after using edge detected techniques for some object . Then i want to trim the edges like perfect circle as figure 2 shows. Because some places of my edge detected circle(figure 1) like a saw-tooth it will cause to come wrong results at the end of my further algorithm . i thing my question now clearly understand sorry for the incomplete question. Can you please help me..
I'm not sure how this does not solve your problem. Perhaps if you told me what image you started with and what you actually want to measure I could advise you on the proper way. Often/usually edge detection is not the best way to approach image analysis (not sure why 99% of people think it is). Or if you told me what your "further algorithm" does with the perfect circle (x,y) coordinates.

Sign in to comment.

More Answers (1)

If you want the outer ounding circle instead of a fitted one, see John D'Errico's code http://www.mathworks.com/matlabcentral/fileexchange/34767-a-suite-of-minimal-bounding-objects

1 Comment

Thanks for the reply Image Analyst,but this did not answer my question .
Actually figure 1 is a result image of after using edge detected techniques for some object . Then i want to trim the edges like perfect circle as figure 2 shows. Because some places of my edge detected circle(figure 1) like a saw-tooth it will cause to come wrong results at the end of my further algorithm . i thing my question now clearly understand sorry for the incomplete question. Can you please help me..

Sign in to comment.

Categories

Asked:

on 11 Sep 2015

Commented:

on 17 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!