# How to get the surface of a human body from DICOM

**URL:** <https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [December 26, 2018, 8:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194 "2018-12-26T20:47:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moeka\_Chan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/moeka_chan/32/3388_2.png) [@Moeka\_Chan](https://discourse.slicer.org/u/Moeka_Chan)\
**Post date:** [December 26, 2018, 8:47pm UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194/1 "2018-12-26T20:47:13Z")

</div>

Hello, I am new to 3DSlicer.  
I watched the segmentation tutorials.  
However, I don’t know how to create the surface of a body…  
I painted the skin and space in the body and out of the body.  
I don’t get a good result…

---

<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:** [December 27, 2018, 4:56am UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194/2 "2018-12-27T04:56:31Z")

</div>

See this segmentation recipe for skin surface extraction: [Overview | 3D Slicer segmentation recipes](https://lassoan.github.io/SlicerSegmentationRecipes/SkinSurface/)

> [@Moeka\_Chan](#):
>
> I don’t get a good result

We would be happy to help but need more specific information. Describe what you do, what you expect to happen, and what happens instead. Also attach a screenshot if possible.

---

<div class="post-metadata">

**Author:** ![Moeka\_Chan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/moeka_chan/32/3388_2.png) [@Moeka\_Chan](https://discourse.slicer.org/u/Moeka_Chan)\
**Post date:** [December 27, 2018, 5:20am UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194/3 "2018-12-27T05:20:36Z")

</div>

Thanks. The link is helpful.  
It shows how to get a surface of a head.  
I want to get a surface of a human body.  
Hmm,but each click floor filling effect costs a few second…

---

<div class="post-metadata">

**Author:** ![Moeka\_Chan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/moeka_chan/32/3388_2.png) [@Moeka\_Chan](https://discourse.slicer.org/u/Moeka_Chan)\
**Post date:** [December 27, 2018, 5:43am UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194/4 "2018-12-27T05:43:34Z")

</div>

I use threshold effect and flood filling effect to solve my current problem.  
It looks much better.  
I have one more problem, is there any way to lower polygons?  
The generated mesh has too many vertices…

---

<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:** [December 27, 2018, 5:46am UTC](https://discourse.slicer.org/t/how-to-get-the-surface-of-a-human-body-from-dicom/5194/5 "2018-12-27T05:46:35Z")

</div>

You extract skin surface of a body part or the whole body the same way. You may need to adjust some parameters, such as neighborhood size.

> [@Moeka\_Chan](#):
>
> Hmm,but each click floor filling effect costs a few second…

That should be fine, as long as you only have a handful of air pockets to fill. If there are too many then it may be better to use Grow from seeds effect with two segments (“body” and “outside”). You can start with a few very bold strokes and make adjustments as needed.

> [@Moeka\_Chan](#):
>
> is there any way to lower polygons?

If you don’t need small details then you may resample the input volume before you start segmenting, using Crop volume module. If you just want to remove points from the generated surface mesh then you can decimate the closed surface representation as described in this post: [Size of STL/OBJ files - too many triangles - #2 by cpinter](https://discourse.slicer.org/t/size-of-stl-obj-files-too-many-triangles/5137/2).
