New segment editor effects: Mask volume and Surface cut

See short demo video of the new “Mask volume” and “Surface cut” Segment editor effects here:

These effects were developed by Kyle Macneil (Med-i Lab, Queen’s University; SPL, Brigham and Women’s Hospital), with help from @lassoan and @fedorov . Thank you for your contribution!

Mask volume: Blanks out a segment or surrounding area in a volumetric image. Useful for quick removal of unwanted objects (such as CT table) or showing only a selected organ. It can also be used for creating a binary mask for registration, bias correction, etc. This effect essentially makes “Mask scalar volume” module functionality available conveniently in Segment editor.

Surface cut: Creates a surface from a set of points placed at the boundary of a structure in multiple views. The surface then can be used to create a segment or added or removed from an existing segment. The surface can be edited in slice and 3D views in real-time. Useful for quick approximate segmentation of structures with mostly convex shape. This effect essentially makes “Markups to model” module functionality available conveniently in Segment editor.

Available in latest nightly build in SegmentEditorExtraEffects extension.

Feedback and suggestions are welcome.


They are awesome, thank you!

1 Like

Thank you for this nice tool!
But, I noticed that masked image and segmentation did not become same shape. They are slightly different shape as shown in the attached image below.
Is is bug?
Could you give me any suggestion?

Yes, the mask is somewhat smoothed, see more information in this bug report. It is in easy fix, we just did not get to it yet, because the difference is so little that it is even hard to notice.

Is this causing significant error for you?
Are you a developer, would you be interested trying to fix it?

Yes, I am very interested in fix.
I am Japanese radiologist in university hospital. I want to evaluate CT density histogram of lung nodule, but I don’t know how to do this by 3D slicer (Do you know this?).
So, as an alternative way, I want to analyze masked images using ImageJ software. But if masked images and segmentation are different, histogram will be different.

I have also confused by this bug. Thanks!

I’ve updated mask volume effect to use the segment’s binary labelmap representation instead of closed surface representation, so now it should work as you expected. The update is available if you reinstall Slicer or SegmentEditorExtraEffects extension on Jan 7 or later.

1 Like

Hi Andras,
I am using surface cut but it do not make a surface rather it only makes a surface for only working slice. How it automatically selects all slices. is there any key to use with it.

Thank you

Saima Safdar

Scissors effect affect all slices. Do you mean that you would like to cut all segments at once?

I want to select all segments using the surfacecut tool to have a surface but I am unable to do it as described in the video for surface cut for segmenting heart. the surface cut tool only selects the portion of segment using fiducials in the working slice.

Thanks andras i figured out what i was doing wrong. the segment needs to be selected in red window and in greean and yellow as well. then it creates a surface in 3d.

1 Like

Hi Andras,

This seems to be very helpful tool, although it does not appear on my Slicer 3D (V 4.11.20200930, installed on Mac Pro macOS Big Sur).

Do you know how to fix it?

Thank you in advance

See above - these effects are provided by SegmentEditorExtraEffects extension .

Excellent, found it. Thank you so much

please what is the name of the surface cut model on the extension manager
I have already installed the model Markups to model but I did not find in the segment editor part of the application

Surface cut effect will show up in Segment Editor module after you install SegmentEditorExtraEffects extension.

1 Like

yes it’s true I uninstalled it and I install it and it works very well

1 Like