# Has Centerline from Extract centreline module be smoothed?

**URL:** <https://discourse.slicer.org/t/has-centerline-from-extract-centreline-module-be-smoothed/16986>\
**Category:** VMTK\
**Tags:** python\
**Created:** [April 7, 2021, 4:26pm UTC](https://discourse.slicer.org/t/has-centerline-from-extract-centreline-module-be-smoothed/16986 "2021-04-07T16:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ge\_Tang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ge_tang/32/9935_2.png) [@Ge\_Tang](https://discourse.slicer.org/u/Ge_Tang)\
**Post date:** [April 7, 2021, 4:26pm UTC](https://discourse.slicer.org/t/has-centerline-from-extract-centreline-module-be-smoothed/16986/1 "2021-04-07T16:26:05Z")

</div>

I want to do the geometric analysis. The VMTK tutorial described that the centerline goes through a Laplacian smoothing filter first and then computes the derivatives and the related quantities ([Geometric Analysis | vmtk - the Vascular Modelling Toolkit](http://www.vmtk.org/tutorials/GeometricAnalysis.html)). I did not found the smoothing in the ExtractCenterline.py ([SlicerExtension-VMTK/ExtractCenterline.py at master · vmtk/SlicerExtension-VMTK · GitHub](https://github.com/vmtk/SlicerExtension-VMTK/blob/master/ExtractCenterline/ExtractCenterline.py))  
I am not sure if I understand the code well. Could you give me some advice?  
Thank you so much!  
Ge Tang

---

<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:** [April 14, 2021, 5:28am UTC](https://discourse.slicer.org/t/has-centerline-from-extract-centreline-module-be-smoothed/16986/2 "2021-04-14T05:28:44Z")

</div>

It is not smoothed. You can smooth the centerline by getting it as a curve node from Extract centerline, then use Markups module / Resample.
