Fill or extract cavities in segmentations using the new "Wrap Solidify" effect

Making a segment that has fractured, discontinuous boundary and holes inside to be a simple solid object is a quite common task for segmentation. For example it is needed for creating simple solid bone models from CT images, extracting skin surface, segment thin surfaces, such as orbital bone wall, measuring brain volume, or volumes of various cavities.

Slicer now has a tool for all this: “Wrap Solidify” Segment Editor effect, provided by SurfaceWrapSolidify extension and contributed by Sebastien Andress (Ludwig-Maximilians-University of Munich).

The tool can extract outer surface, largest cavity, or a custom region and has option to prevent leaking through small holes. The solidified segment can be also hollowed (converted to shell) out for faster 3D printing. Optionally, surface fractures can be preserved in created shells, which is useful for reproducing thin fractures in the created segmentation.

A short demonstration of cavity extraction feature:

Segmentation recipes are updated to use this tool:


I just saw the youtube video about the Wrap Solidify effect, very nice work!

I’d like to ask about its potential usage to fill smaller holes. Looking at this screenshot, I can see that there is a Custom region mode, which allows selecting one of the segments. Could this be used to segment smaller cavities such as the soft bone area in the mandible, like in this screenshot below?
Thank you!

Yes, this can be very useful for dental applications for bone or teeth segmentation. For example, the result with outer surface extraction with minimum 10mm hole size:

1 Like

Solidify effect can be used for automatic removal of table from CT images, too. See this post for details.

If there is interest, we can create a dedicated module for this.


Thanks! What settings should be used so that the mandible is filled like this?

Region: “outer surface”, carve holes: enabled, minimum hole size: 10mm. Hole carving is enabled so that concave are segmented accurately. Minimum hole size of 10mm ensures that you don’t carve into the bone through holes smaller than 10mm.

1 Like