# Segmentation of artificially created surfaces

**URL:** <https://discourse.slicer.org/t/segmentation-of-artificially-created-surfaces/27662>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [February 6, 2023, 2:09pm UTC](https://discourse.slicer.org/t/segmentation-of-artificially-created-surfaces/27662 "2023-02-06T14:09:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonathanLV](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JonathanLV](https://discourse.slicer.org/u/JonathanLV)\
**Post date:** [February 6, 2023, 2:09pm UTC](https://discourse.slicer.org/t/segmentation-of-artificially-created-surfaces/27662/1 "2023-02-06T14:09:26Z")

</div>

Hello,  
I’ve generated a segment of an endocast from a fossil. The thing is that there are holes in the skull I’ve used, so the module tried to interpolate the surface, creating artificial part in this segment. I’d like to find a way to highlight these parts with an additional segment probably. Any suggestions?  
In the following image you may find said part represented as a bulge with flat surfaces or the bottom part of it.

 ![001_frontal](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/8/f8d56ac06b699685da3c696dc3a46f9093507465.jpeg)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 6, 2023, 2:14pm UTC](https://discourse.slicer.org/t/segmentation-of-artificially-created-surfaces/27662/2 "2023-02-06T14:14:51Z")

</div>

You can distinguish regions that hole filling adds by computing distance between the mesh with hole fllling and the mesh without the filling. You can use ModelToModelDistance extension to compute the distance and color the surface with it.

What is your overall goal? Colored 3D printing, surface area measurement, …?

Did you use “Wrap Solidify” effect (provided by SurfaceWrapSolidify extension) to automatically create a solid endocast from the skull?

---

<div class="post-metadata">

**Author:** ![JonathanLV](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JonathanLV](https://discourse.slicer.org/u/JonathanLV)\
**Post date:** [February 6, 2023, 2:24pm UTC](https://discourse.slicer.org/t/segmentation-of-artificially-created-surfaces/27662/3 "2023-02-06T14:24:32Z")

</div>

Thank you so much Andras.  
Will try your suggestion, although I got to say that I’ve already found some sort of a solution. This solution was to manually go with the paint brush in sphere mode with a threshold set for covering empty voxels and draw only within the endocast segment. Not the best solution and took me forever, but somehow worked.  
The goal is indeed to get this in the end to 3D printing, but initially I just wanted to show what parts are artifacts, so they could be ignored. I’ve used the Wrap Solidify indeed! What a great tool!
