Vessel tree centerline branch extraction using VMTK

You see the straight lines if path cannot be found to a point. It is almost always happens because the endpoint is on the surface mesh, while the full centerline extraction searches along the Voronoi diagram, which is inside the mesh.

You can fix the error easily by moving the endpoints inside the mesh. It would be easy to automate this by snapping the endpoint to the closest point on the Voronoi surface. It would be great if you could implement this and send a pull request.

2 Likes