Create segmentation from simpleItk Image


Hello! Could you please help me, is there a way to create a new segmentation and add asegment into it from simpleItk Image object (I mean the way through the python code)

(Andras Lasso) #2

You can read the SimpleITK image into a temporary labelmap volume node, import the labelmap volume node into the segmentation, then delete the labelmap volume node.

You can also use SimpleITK to create additional effects in Segment Editor. See an example of a SimpleITK-based segment editor effect here: