Hi,
I am trying to automate the SegmentationUNet module with Python (using the logic and widget commands).
I am trying to code the following buttons so that I can choose an input volume and prediction volume with python.
I want to set the following values for input Volume (image) and Prediction volume (Create new Volume as… and a name).
I found the following command in logic but it doesn’t work to set the input volume as desired:
setInputImage(self, inputImageNode)
| Sets input image node
| :param inputImageNode: vtkMRMLScalarVolumeNode
| :return: None