I am very new and novice to Slicer. The project that I am currently involved with requires me to extract the center line of the 3D body organ’s model (e.g., intestine, etc.). More specifically, I need to prepare a python script whose output is the center line of a given model.
I am aware of “Vascular Modeling Toolkit” and its accompanied CenterLineComputation module. However, problems that I am currently facing are:
- When I use this addson and subsequently, generate and save the .vtk center line of the 3D model, the .vtk object is empty.
- I need to find a tutorial to learn on how to write python extension (preferably extensions) under Slicer to automate the center line computation and saving the resulting center line.
I will be grateful if you can kindly assist me on finding my right starting point.
I highly appreciate your cooperation.