Borrar filtros
Borrar filtros

i want matlab code for pruning the skeletonized image to remove the unwanted branches.

8 visualizaciones (últimos 30 días)
Only the main branch should result as a result of pruning.

Respuestas (2)

Walter Roberson
Walter Roberson el 12 de Mzo. de 2013
See bwmorph with the 'spur' option.
  2 comentarios
manoj m
manoj m el 12 de Mzo. de 2013
i applied spur operation to this thinned image http://imageshack.us/photo/my-images/194/38936107.png/ and with no. of operation(n) is set to 7, i obtained this image http://imageshack.us/photo/my-images/109/63174203.png/. It can be seen that the main branch also gets removed to some extend.At n=7 only the side branch completely diasappears. as n is increased further main branch starts deteriorating. Is there any other method by which i can remove only the side branch.

Iniciar sesión para comentar.


Maziyar
Maziyar el 6 de Nov. de 2014

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by