Smoothing edges of a image

2 views (last 30 days)
arjun
arjun on 16 Sep 2014
Edited: arjun on 19 Sep 2014
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

Answers (1)

Image Analyst
Image Analyst on 16 Sep 2014
Try activecontour. See attached demo.
  4 Comments
Image Analyst
Image Analyst on 17 Sep 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 on 19 Sep 2014
Edited: arjun on 19 Sep 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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!