using an average filter on a closed curve
Show older comments
I want to use some smoothing method to reduce some noise in the two inner closed curves below. The curve is defined by a 2-D matrix. Maybe using some type of averaging filter or smoothing function? I would also like to be able to control the degree of smoothing that occurs.

Answers (1)
Image Analyst
on 2 Jul 2013
0 votes
Where did this curve come from? Are they contour lines or edges from an image? If so, you can just blur the image with conv2() before you extract the contour lines or edges. Or you can look into alpha shapes. http://cgm.cs.mcgill.ca/~godfried/teaching/projects97/belair/alpha.html
Categories
Find more on Smoothing and Denoising in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!