Operating system: Window 7
Slicer version: 4.8.1
I am trying to write a program to load two segmentation of Carotid done by two different people on the same volume, then I want to save images of all slices from axial view to a folder.
I could do most of the thing except changing the color of the segmentations. The reason is that I want to compare between two segmentations. It is hard to compare them when they are in the same color.
Is there anyway to write a script to change the color of the finished segmentation? I tried the below code, but it seems like it does not work this way:
segmentationNode = getNode(‘Segmentation’)
segmentationDisplayNode = segmentationNode.GetDisplayNode()
Thank you for all of your help.