How to smooth an edge. I need you help very urgent

2 次查看(过去 30 天)
i have some edge not necessary in the principal edge, how to eliminate without modifing the principal edge. You see the outward-pointing boundary i like to delete some boundary and have a continious edge. URL of image is https://www.dropbox.com/gallery/81412928/1/Sample%20Album?h=8d9ba2
  2 个评论
Walter Roberson
Walter Roberson 2012-6-7
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
Walter Roberson 2012-6-7
Duplicate is at http://www.mathworks.com/matlabcentral/answers/40233-how-to-smooth-an-edge-i-have-some-edge-not-necessary-in-the-principal-edge-how-to-eliminate-withou

请先登录,再进行评论。

采纳的回答

Anton Semechko
Anton Semechko 2012-6-7
If you have IPT see the documentation for 'bwmorph' function. Amongst other things it allows you to remove spurious details of the skeleton/contour (see 'spur' option).

更多回答(1 个)

Walter Roberson
Walter Roberson 2012-6-7
You say that this must be done "without modifying the principal edge". That implies that you do not want to smooth the principal edge at all, and that you want to preserve the little jags that it has such as
____/\____
This implies that the only thing you want to remove are the little "feathers" such as
____|_____
The "feathers" in your image are not long and there are not very many of them. Why bother to remove them, and how could removing them possibly be "urgent" ??

Community Treasure Hunt

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

Start Hunting!

Translated by