# Smoothing algorithm 

**URL:** https://discourse.slicer.org/t/smoothing-algorithm/31060
**Category:** Support
**Tags:** segmentation
**Created:** [August 9, 2023, 11:27am UTC](https://discourse.slicer.org/t/smoothing-algorithm/31060 "2023-08-09T11:27:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Alessia1](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Alessia1](https://discourse.slicer.org/u/Alessia1)
#### Post date: [August 9, 2023, 11:27am UTC](https://discourse.slicer.org/t/smoothing-algorithm/31060/1 "2023-08-09T11:27:09Z")

</div>

I would like to know which smoothing algorithm is used in Total Segmentator. It would be very helpful in my thesis study. 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: [August 9, 2023, 11:28am UTC](https://discourse.slicer.org/t/smoothing-algorithm/31060/2 "2023-08-09T11:28:22Z")

</div>

No smoothing algorithm is used in TotalSegmentator module. Do you mean that you are interested in the algorithm that converts binary labelmap representation of the segmentation to closed surface representation?

---

<div class="post-metadata">

### Author: ![Alessia1](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Alessia1](https://discourse.slicer.org/u/Alessia1)
#### Post date: [August 9, 2023, 3:52pm UTC](https://discourse.slicer.org/t/smoothing-algorithm/31060/3 "2023-08-09T15:52:02Z")

</div>

![Schermata 2023-08-09 alle 17.43.42](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/a/bacce5ac30128041ace51f115f2495463897d5ed.png)

I’m referring to when, after having shown 3D and then marching cubes, I can modify the smoothing factor and I was wondering by which algorithm it was performed. I attach the photo

---

<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: [August 9, 2023, 4:37pm UTC](https://discourse.slicer.org/t/smoothing-algorithm/31060/4 "2023-08-09T16:37:13Z")

</div>

That smoothing algorithm is an ideal low-pass filter implemented in this class:

[https://vtk.org/doc/nightly/html/classvtkWindowedSincPolyDataFilter.html#details](https://vtk.org/doc/nightly/html/classvtkWindowedSincPolyDataFilter.html#details)
