Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 7 de Jun. de 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
Walter Roberson el 7 de Jun. de 2012
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

Iniciar sesión para comentar.

Respuesta aceptada

Anton Semechko
Anton Semechko el 7 de Jun. de 2012
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).

Más respuestas (1)

Walter Roberson
Walter Roberson el 7 de Jun. de 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" ??

Community Treasure Hunt

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

Start Hunting!

Translated by