# Surface details in segmenting

**URL:** <https://discourse.slicer.org/t/surface-details-in-segmenting/4154>\
**Category:** Support\
**Created:** [September 20, 2018, 2:15am UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154 "2018-09-20T02:15:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 2:15am UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/1 "2018-09-20T02:15:34Z")

</div>

I am new to slicer. I tried segmenting small bones from 3D DICOM images and the 3 d image quality is not very clear as shown in videos. Like bone surface are not smooth ( if I make it smooth by surface tools module, I lose surface details, don’t I?). Trying to recreate good surface details. Could anyone please advise. Thanks

---

<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:** [September 20, 2018, 3:22am UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/2 "2018-09-20T03:22:56Z")

</div>

Could you paste here a few screenshots to illustrate what kind of input images you have and how the segmented output looks like?

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 6:13am UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/4 "2018-09-20T06:13:48Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/1/91758dd60dbf6b4a6657dddd1ebadb92db4c2cd2.jpeg)

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 6:17am UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/5 "2018-09-20T06:17:25Z")

</div>

This is as opposed to the following image unsegmented but built from the same CT scan usi g a dicom viewer. Surface! anatomy is clearer and surfaces are smooth  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/6/36b9d5ea91eac0c5d7a44f44a7fae292d32fbf62.jpeg)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 20, 2018, 2:15pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/6 "2018-09-20T14:15:05Z")

</div>

The two visualizations are very different. What you segmented is a surface rendering of a surface model created from a labelmap of the segmentation. The image you pasted from the DICOM viewer is a volume rendering, which is a visualization technique directly from the volume. Read a bit on this here:

> [@Save volume rendering as STL file](https://discourse.slicer.org/t/save-volume-rendering-as-stl-file/524):
>
> Hello, I am a new user on 3D slicer. I was using the display preset feature under volume rendering, and I was wondering if there is a way to save what I was viewing as an .stl or 3D printable file. For example, I was viewing a sample MRI using the CT-cardiac3 preset display. When I tried to save that specific 3D preset displayed sample in a .stl file, the option was unavailable. I was only able to see .vp (volume property), .txt formats. Is there a way to accomplish what I desire in 3D slic…

The segmentation is mostly based on intensities, and is usually not perfect. Also the output of it is a binary mask volume (i.e. labelmap), which is by definition “not smooth”. You can do further smoothing in Segment Editor using the Smoothing effect, or you can increase the smoothing factor applied for the surface conversion under the small arrow next to the Show 3D button.

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 2:20pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/7 "2018-09-20T14:20:52Z")

</div>

Thank you very much @cpinter. Does this mean segmenting a small bone of about 15 mm diameter and trying to identify a 1mm sized vascular foramen on the surface is not very accurate, after segmentation.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 20, 2018, 2:49pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/8 "2018-09-20T14:49:49Z")

</div>

If you need small details, and you are able to do a very accurate segmentation, then you could increase the resolution of the segmentation. There is a small box-like icon next to the master volume selector in Segment Editor. If you click it (before segmentation), select your image, then increase the oversamplinc factor to 2, then you get a segmentation twice as high resolution in each direction. That said, your original volume won’t contain more details, so this is only usable if you do manual segmentation.

An idea if you’d like to identify a 1mm feature in the 3D view: do a volume rendering using the Volume Rendering module (select a good preset and then adjust shift to get a good visualization). Look for the foramen, and mark it using a fiducial (tool bar icon showing a blue arrow pointing up with a red dot next to it). Go to the fiducial in the 2D views and mark the exact foramen with the Segment Editor tools, now that you know where to look for it.

I hope this helps at least a bit, I’m not familiar with what you’d like to segment, and not sure how you want to do it.

---

<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:** [September 20, 2018, 2:51pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/9 "2018-09-20T14:51:09Z")

</div>

This picture shows how to oversample the segmentation by a factor of 2:

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

---

<div class="post-metadata">

**Author:** ![rkikinis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rkikinis/32/791_2.png) [@rkikinis](https://discourse.slicer.org/u/rkikinis)\
**Post date:** [September 20, 2018, 3:01pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/10 "2018-09-20T15:01:10Z")

</div>

Hi,  
It depends on the resolution of your CT data relative to the size of the structure that you want to see. Lets say you have data with 1mm resolution in all directions, then your 1mm vascular opening is just one voxel.  
Best  
Ron

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 3:01pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/11 "2018-09-20T15:01:54Z")

</div>

Thank you ever so much @cpinter. This DOES help a lot

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 3:03pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/12 "2018-09-20T15:03:32Z")

</div>

Thank you very much. Will try this. Thanks a lot again.

---

<div class="post-metadata">

**Author:** ![Melanie](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Melanie](https://discourse.slicer.org/u/Melanie)\
**Post date:** [September 20, 2018, 3:05pm UTC](https://discourse.slicer.org/t/surface-details-in-segmenting/4154/13 "2018-09-20T15:05:18Z")

</div>

Thank you very much Ron

Melanie
