# Virtual reconstruction of a brain

**URL:** <https://discourse.slicer.org/t/virtual-reconstruction-of-a-brain/17552>\
**Category:** Support\
**Tags:** build, segmentation\
**Created:** [May 10, 2021, 9:50pm UTC](https://discourse.slicer.org/t/virtual-reconstruction-of-a-brain/17552 "2021-05-10T21:50:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marta\_Fernandez](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/marta_fernandez/32/10323_2.png) [@Marta\_Fernandez](https://discourse.slicer.org/u/Marta_Fernandez)\
**Post date:** [May 10, 2021, 9:50pm UTC](https://discourse.slicer.org/t/virtual-reconstruction-of-a-brain/17552/1 "2021-05-10T21:50:40Z")

</div>

Hi.  
I would like to create a brain from a skull. The problem is that the object is an STL and I cant create a volume from it.  
Someone know how can I create a virtual brain from it?

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/b/3b47fb9164090ecc2d7e0b9b8c3f0985bd38ef70.png)

Thanks in advice for the answer

---

<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:** [May 11, 2021, 4:05am UTC](https://discourse.slicer.org/t/virtual-reconstruction-of-a-brain/17552/2 "2021-05-11T04:05:12Z")

</div>

You can extract a closed brain volume despite the missing cranium pieces, by following these steps:

- Install WrapSolidify extension from Extensions Manager.
- Load the STL file as segmentation (drag-and-drop the STL file to the Slicer application window and select “Segmentation” in “Description” column)
- Go to Segment Editor module and generate a master volume (click specify geometry - button next to master volume selector, select the segmentation node as “Source geometry”, specify spacing -probably something between 0.2-1.0mm will work, and click OK).
- Switch to “Wrap Solidify” effect, choose Region → Largest cavity, Output → New segment, and click Apply. =\> this will extract the largest cavity enclosed in the convex hull of the model, fully automatically
