Fill holes after threshold-based bone segmentation in CT

Hi all,

I am segmenting the geometries of femur, tibia, fibula and patella from a CT scan using Threshold effect.
What is the best tool to fill the holes inside the segmented cortical layer (see picture below)? I would like to export an .stl file with only the outside surface.


Where the cortical layer is thin (e.g. at the epiphysis) there are some gaps in the segmentation (see picture below). Are there smart ways to fill the holes accounting for those gaps without closing them manually?




If you are lucky then with “Smoothing” effect you can fill the gaps and then you can fill cavities using “Flood filling” effect (in SegmentEditorExtraEffects extension).

Unfortunately, often you cannot make your mesh watertight easily. In such cases, follow these instructions:

1 Like

Dear Andras,

thanks for your quick response. I was eventually able to fix the segmentation using the “Closing (fill holes)” tool in the “Smoothing” Module after some minimal manual painting. When few large holes were left inside the bone, I inverted the mask (“Logical operators” -> “Invert”), removed the big islands one by one (“Islands” -> “Remove selected islands”), and inverted the mask again.

I could not figure out how to fill the cavities with “Flood filling”…

Thanks for your help!


1 Like