Hi,
Which line is producing the seg fault?
I’m having trouble reproducing this error. Using that same data from data.kitware.com, the following code works:
Please try running this code on your machine and reporting if it works or not. The .mha and .tre file should be in the same directory as the code / jupyter notebook. I’ve attached the jupyter notebook for your convenience.
VascularNetwork.ipynb (2.7 KB)
If it fails, we will need to check the version of ITK and TubeTK installed on your machine.
Stephen