This backtrace is obtained with ‘Mask volume’ effect while setting ‘Soft edge’ :
Traceback (most recent call last):
File "/home/user/programs/Slicer/lib/Slicer-5.3/qt-scripted-modules/SegmentEditorEffects/SegmentEditorMaskVolumeEffect.py", line 323, in onApply
SegmentEditorMaskVolumeEffect.maskVolumeWithSegment(segmentationNode, segmentID, operationMode, fillValues, inputVolume, outputVolume,
File "/home/user/programs/Slicer/lib/Slicer-5.3/qt-scripted-modules/SegmentEditorEffects/SegmentEditorMaskVolumeEffect.py", line 435, in maskVolumeWithSegment
outputArray = slicer.util.arrayFromVolume(outputVolumeNode)
File "/home/user/programs/Slicer/bin/Python/slicer/util.py", line 1662, in arrayFromVolume
nshape = tuple(reversed(volumeNode.GetImageData().GetDimensions()))
AttributeError: 'NoneType' object has no attribute 'GetDimensions'
To reproduce :
Start Slicer
Load CTA-cardio
Go to ‘Segment editor’
Create a segment
Paint at random
Switch to ‘Mask volume’ effect
Set ‘Soft edge’ parameter at 0.50
Select ‘Fill inside’
Apply
The ‘Wait’ mouse cursor runs for ever, a ‘Temporary volume mask’ volume is present.
It ‘Mask volume’ is applied without setting ‘Soft edge’, it completes normally. Subsequently, if ‘Soft edge’ is set to > 0.0, it completes as expected.