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

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 Kommentare

http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Anton Semechko
Anton Semechko am 7 Jun. 2012

0 Stimmen

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).

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 7 Jun. 2012
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" ??

Kategorien

Mehr zu Vector Fields finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by