Hey!
Does someone know how to set the parrameters of the skullstripper extension with the use of python code?
skullWidget = slicer.modules.Skullstripper.widgetRepresentation()
ā need to set the inputs here first
skullWidget.appry()
I know like Segment editor you can write something like this;
segmentEditorWidget = slicer.qMRMLSegmentEditorWidget()
segmentEditorWidget.setMRMLScene(slicer.mrmlScene)
segmentEditorNode = slicer.vtkMRMLSegmentEditorNode()
slicer.mrmlScene.AddNode(segmentEditorNode)
segmentEditorWidget.setMRMLSegmentEditorNode(segmentEditorNode)
segmentEditorWidget.setMasterVolumeNode(some_volume)
I cant understand how to reach this for skullstripping.
All help is appreciate