Find 3d branch points - Remove smaller branches
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
William
el 17 de Mzo. de 2015
Comentada: William
el 31 de Mzo. de 2015
Hello all,
I want to remove small branches from this skeleton of a vessel, and to be left with just the main binary centerline. To do this I want to set a minimum branch length on the centrelines. But to do this I need to find the branch points...
BWMORPH works in 2D to find branch point/ end point locations, but this is a 3D skeleton...
Many thanks,
Will
2 comentarios
Sean de Wolski
el 17 de Mzo. de 2015
Out of curiosity, how did you come up with the 3-dimensional skeleton?
Respuesta aceptada
Sean de Wolski
el 17 de Mzo. de 2015
I don't have time right now to implement it, but you should be able to use bwlookup with a 3x3x3 lookup table to identify the branch points.
The algorithm would be: is the middle pixel connected two more than three or more pixels on the periphery of the 3x3x3 box. If it is, then it's a branch point.
2 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!