Multiple overlapping centerlines created by vmtkcenterlinesnetwork

Operating system: Ubuntu 20.04.2 LTS
Slicer version: N.A. (using vmtk development version)
Expected behavior: Centerlines split into two at each bifurcation. A single centerline running through each branch.
Actual behavior: Three splits close to each other at two of the bifurcations. More than one centerline going through some branches

Dear vmtk support team,

I ran the vmtkcenterlinesnetwork on a circle of willis surface. For the most part the script was able to generate the centerlines well, except at some bifurcations and branches where multiple overlapping centerlines were observed - please refer to the attached images for a visual representation of the problem.

I suspect that the centerlines were not properly merged after they were generated. May I know how to resolve this issue? Are there some parameters I can tune or changes I can implement directly on the vmtkcenterlinesnetwork script? Thank you very much!

FYI, I am not using Slicer but the vmtkcenterlinesnetwork and I need an automated solution (i.e. without much manual input like running a script).

Regards,

Doodads


VMTK has two centerline extraction algorithms.

A simple one that determines centerline based only on the surface geometry. This works on arbitrary topology, such as the Circle of Willis.

And there is a more sophisticated method that computes a Voronoi diagram and searches for shortest path in between inlet and outlet points. This method provides more realistic centerline geometry, but it only works if the topology is a tree (or multiple trees). It does not work on the Circle of Willis, because the topology is not a tree. If you want to use this method on the Circle of Willis then you can extract one tree at a time (e.g., left side then the right side) and then manually merge the trees.

Hi Andras, thanks for your response. May I know how to extract the trees and merge them after using vmtk? It would be great if you could share some example vmtk pypes or python code that could do this so I could go through and understand. Thanks again for your assistance!