# What smoothing is applied to segmentations before STL export?

**URL:** https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743
**Category:** Support
**Created:** [February 17, 2025, 2:41pm UTC](https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743 "2025-02-17T14:41:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ramen](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@ramen](https://discourse.slicer.org/u/ramen)
#### Post date: [February 17, 2025, 2:41pm UTC](https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743/1 "2025-02-17T14:41:59Z")

</div>

Hi everyone,

I would like to understand the smoothing process applied to segmentations when exporting them as .stl files in 3D Slicer.

I assume that after applying the Marching Cubes algorithm, the software performs some form of surface smoothing to refine the final result. Could someone clarify what specific smoothing steps are applied by default?

- Does 3D Slicer use a particular smoothing filter after mesh generation?
- Is it possible to disable the smoothing process?

Thank you in advance for your help!

---

<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: [February 18, 2025, 12:46pm UTC](https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743/2 "2025-02-18T12:46:03Z")

</div>

I don’t have any time right now to find the information, but I am completely sure that this question has been answered several times here in the forum (by me as well more than once). I know that the search function on discourse is really bad, but please give it a try!

Let us know if you cannot find it. And if you can please paste the links here for future reference.

Again, sorry for the non-answer, but this is an FAQ by now and I’m super swamped today.

---

<div class="post-metadata">

### Author: ![ramen](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@ramen](https://discourse.slicer.org/u/ramen)
#### Post date: [February 19, 2025, 9:08am UTC](https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743/3 "2025-02-19T09:08:39Z")

</div>

Thank you for your reply!

I’ve spent several hours searching through the forum, but unfortunately, I couldn’t find the answer. I understand that this is a frequently asked question, but the search function made it quite challenging to locate the relevant threads.

If you have any hints on specific keywords or topics to look for, I’d really appreciate it. Otherwise, if you happen to find a moment later on, any guidance would be super helpful.

Thanks again for your time and understanding!

---

<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: [February 19, 2025, 10:01am UTC](https://discourse.slicer.org/t/what-smoothing-is-applied-to-segmentations-before-stl-export/41743/4 "2025-02-19T10:01:51Z")

</div>

I understand, sorry that you spent so much time searching, with no avail. I found this topic which talks about this:

> [@Turn off all smoothing in segmentation](https://discourse.slicer.org/t/turn-off-all-smoothing-in-segmentation/1933):
>
> O.S. Win 10 - 64bit Version: 4.8.1 Hi there, We are willing to apply this software to segment the thalamus and need to correct segmentation errors on a pixel-by-pixel basis. For this reason, we need to abolish any possible type of smoothing on the source image. Is that by any means possible? With very best wishes and many thanks in advance, Leonardo

Also either the paper or the thesis will have detailed information about the smoothing applied during conversion:

Pinter, C., Lasso, A., & Fichtinger, G. (2019). Polymorph segmentation representation for medical image computing. Computer Methods and Programs in Biomedicine, 171, 19–26. [Redirecting](https://doi.org/10.1016/j.cmpb.2019.02.011)  
([https://labs.cs.queensu.ca/perklab/wp-content/uploads/sites/3/2024/02/Pinter2019\_Manuscript.pdf](https://labs.cs.queensu.ca/perklab/wp-content/uploads/sites/3/2024/02/Pinter2019_Manuscript.pdf))

> **[Dynamic Representation of Anatomical Structures in Radiation Therapy...](https://qspace.library.queensu.ca/handle/1974/26422)**
>
> Segmentation is a ubiquitous operation in radiation therapy (RT) and in medical image computing (MIC) in general. Various data representations can describe segmentation results, such as binary volumes or surface models. Conversions between them are...

Let us know if you still haven’t found the answer you’re looking for.
