Smoothing edges of a image

Hey, I have this image, in which i have to detect circles. I want to optimize my program by smoothing these rough edges so they look more "circle like".I have tried the simple methods like imclose and gaussian smoothing but they blur they edges, i want to make them more convex rather than making edges disappear altogether. Any help is appreciated. Thanks

Risposte (1)

Image Analyst
Image Analyst il 16 Set 2014

0 voti

Try activecontour. See attached demo.

4 Commenti

arjun
arjun il 17 Set 2014

Hey, Im sorry buts showing a error and i dont know why

Adam
Adam il 17 Set 2014
did you add it to your path or in a folder that is already on your path?
Image Analyst
Image Analyst il 17 Set 2014
That function might not have been introduced by then. Go to mathworks.com and download the latest version. You're almost 5 versions behind using R1012a
arjun
arjun il 19 Set 2014
Modificato: arjun il 19 Set 2014
Hey Image Analyst, I dont see the how it smoothens the border of a image? Edit: I was thinking if we could find the local radius of curvature of edge points and if they are too large as compared to some value that we could assign , the program would add a few more pixels so as to make the radius smaller, would this method work?

Accedi per commentare.

Richiesto:

il 16 Set 2014

Modificato:

il 19 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by