lassoan / SlicerElastix

This extension makes available Elastix medical image registration toolkit (http://elastix.isi.uu.nl/) available in Slicer.
MIT License
49 stars 29 forks source link

Registration does not complete if volume is not selected #9

Closed cpinter closed 5 years ago

cpinter commented 6 years ago

If only a transform is selected as output, the registration fails.

image

Traceback (most recent call last):
  File "C:/Users/pinter/AppData/Roaming/NA-MIC/Extensions-27501/SlicerElastix/lib/Slicer-4.10/qt-scripted-modules/Elastix.py", line 327, in onApplyButton
    movingVolumeMaskNode = self.movingVolumeMaskSelector.currentNode())
  File "C:/Users/pinter/AppData/Roaming/NA-MIC/Extensions-27501/SlicerElastix/lib/Slicer-4.10/qt-scripted-modules/Elastix.py", line 591, in registerVolumes
    self.logProcessOutput(tp)
  File "C:/Users/pinter/AppData/Roaming/NA-MIC/Extensions-27501/SlicerElastix/lib/Slicer-4.10/qt-scripted-modules/Elastix.py", line 519, in logProcessOutput
    raise subprocess.CalledProcessError(return_code, "elastix")
CalledProcessError: Command 'elastix' returned non-zero exit status -1