In the past, “Grow from seeds” effect ignored masking settings. Now region growing can be restricted to certain areas by using “Masking” section in the Segment Editor. Masked area can be defined by image intensity range and/or existing segments.
This can be used for segmenting objects that cannot be easily separated because they have similar image intensity and they are very close to each other (or even fused together in some places). Applications include femur head and hip bone segmentation; or separating vertebrae from each other and from ribs during spine segmentation. The method can be also used for refining or splitting an already created segment.
See this short video how masking simplifies femur segmentation:
The feature is available in today’s nightly Slicer version. Any feedback or questions are welcome.
You need to install the latest nightly version of Slicer. No new user interface elements will appear compared to earlier versions, just the behavior is changed.
I downloaded the dicom images from the link given in the video description (TCGA-PRAD) subject TCGA-VP-A878. Opening the dicoms in 3D Slicer version 4.10 or 4.11.0 is showing me weird images. Please see image attached. What am I doing wrong?
If you just drag-and-drop a single file then by default only that single file is loaded. In general it is recommended to use the DICOM module to load DICOM data sets.
I tried to follow the video you linked above, to separate an existing (single segment) segmentation of the skull and mandible into two segments: skull_segment and mandible_segment.
The video uses thresholding to set the mask, but my image data is MRI so thresholding does not work very well. Also, I already have a skull and mandible mask.
I am unclear if in this case I should create two additional masks (and use the input mask as masking region) to use grow from seeds. If I start painting seeds for skull_segment and mandible_segment, grow from seeds seems to do nothing.
I also tried masking my MRI and then using only two segments, and selecting “Editable intensity range [0.1, 300.0]” to immitate what the video is doing. Again, grow from seeds is not doing anything (segments are not modified).
Update:
I tried the second approach again, i.e. masking my MRI with the pre-existing mask and then using only two segments, and selecting “Editable intensity range [0.1, 300.0]” again, and this time it worked. Not sure what I did wrong before. Maybe I pressed “Apply” before the update was done - not sure…