I am just getting started with Python and slicer. My goal is to use slicer to combine ITK, VTK and VMTK capabilities for vascular segmentation and geometric data extraction. I love the idea that all this can be combined with the rest of python packages.
I installed into my vmtk python environment as per instructions here:
For the most part all the sample notebooks are running well from my local linux.
However, this particular bit of code gives me an error. The manual segmentation part:
The error I get:
TypeError Traceback (most recent call last)
In [8]:
Line 4:
TypeError: ‘MRMLCorePython.vtkMRMLScalarVolumeNode’ object is not subscriptable