Operating system: Windows
Slicer version: 5.6.1
Expected behavior: I am trying to programmatically create several segments within a file, to be passed into the Vascular Modelling Toolkit in order to extract the centerlines.
Actual behavior: I currently can create arrays for each vessel containing the location of every voxel within that particular vessel, but have not figured out how to convert this to a segmentation.
I saw that I could use a labelMapNode to create a segmentation, but am having trouble finding the best way to do this. Any advice on this matter would be greatly appreciated.