フィルターのクリア

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

2 ビュー (過去 30 日間)
Mohamed Amine
Mohamed Amine 2012 年 6 月 7 日
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