# \#centerlines

**URL:** https://discourse.slicer.org/tag/centerlines/105.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [Generate segmentation node (binary label map) from centerline](https://discourse.slicer.org/t/generate-segmentation-node-binary-label-map-from-centerline/26166)

<div class="topic-metadata">

**Author:** [@RomanStriker](https://discourse.slicer.org/u/RomanStriker)\
**Replies:** 5\
**Last updated:** [February 16, 2026, 1:03am UTC](https://discourse.slicer.org/t/generate-segmentation-node-binary-label-map-from-centerline/26166 "2026-02-16T01:03:58Z")

</div>

Hi, I want to obtain a label map corresponding to centerline generated by VMTK. I would also like to get a different label for voxels belonging to different branches. I have generated centerline tree for a vessel label…

---

## [Curvature, torsion from VMTK](https://discourse.slicer.org/t/curvature-torsion-from-vmtk/45652)

<div class="topic-metadata">

**Author:** [@kuoi](https://discourse.slicer.org/u/kuoi)\
**Replies:** 0\
**Last updated:** [January 1, 2026, 5:24pm UTC](https://discourse.slicer.org/t/curvature-torsion-from-vmtk/45652 "2026-01-01T17:24:12Z")

</div>

Hello, I am using the Extract Centerline module. I obtained one centerline and one table containing a single line with a pair of curvature and torsion values. I noticed that curvature and torsion are reported in the exp…

---

## [VMTK generated centerline curves missing structure hierarchy](https://discourse.slicer.org/t/vmtk-generated-centerline-curves-missing-structure-hierarchy/36586)

<div class="topic-metadata">

**Author:** [@RomanStriker](https://discourse.slicer.org/u/RomanStriker)\
**Replies:** 6\
**Last updated:** [April 29, 2025, 7:59am UTC](https://discourse.slicer.org/t/vmtk-generated-centerline-curves-missing-structure-hierarchy/36586 "2025-04-29T07:59:47Z")

</div>

Hi, I am using the Extract Centerline module of VMTK extension to generate network and centerline curves for the network and centerline models. The problem is that the network curve generated is missing the hierarchical…

---

## [Automated Detection of Aortic Sinus Points and Central Coordinate Calculation in Python](https://discourse.slicer.org/t/automated-detection-of-aortic-sinus-points-and-central-coordinate-calculation-in-python/38192)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 6:52am UTC](https://discourse.slicer.org/t/automated-detection-of-aortic-sinus-points-and-central-coordinate-calculation-in-python/38192 "2024-09-04T06:52:01Z")

</div>

I would like to automatically detect the three protruding points of the aortic sinus, as shown in the picture, using Python. Could you suggest an algorithm or code that can achieve this? The final goal is to identify …

---

## [How to extract both x-, y-, z-coordinates and normalvector at each point of centerline of airwaysegmentation](https://discourse.slicer.org/t/how-to-extract-both-x-y-z-coordinates-and-normalvector-at-each-point-of-centerline-of-airwaysegmentation/35353)

<div class="topic-metadata">

**Author:** [@Johan\_Rubak](https://discourse.slicer.org/u/Johan_Rubak)\
**Replies:** 10\
**Last updated:** [August 24, 2024, 7:44am UTC](https://discourse.slicer.org/t/how-to-extract-both-x-y-z-coordinates-and-normalvector-at-each-point-of-centerline-of-airwaysegmentation/35353 "2024-08-24T07:44:13Z")

</div>

Hi. I want to extract a centerline of an airwaysegmentation. I have tried out different tools for this, among other SlicerVMTK extension, but always ending up in a situation with only the possibility of exporting x-, y-,…

---

## [How can I draw normal vectors of a centerline in the 3D slicer?](https://discourse.slicer.org/t/how-can-i-draw-normal-vectors-of-a-centerline-in-the-3d-slicer/37933)

<div class="topic-metadata">

**Author:** [@mssm](https://discourse.slicer.org/u/mssm)\
**Replies:** 6\
**Last updated:** [August 19, 2024, 11:00pm UTC](https://discourse.slicer.org/t/how-can-i-draw-normal-vectors-of-a-centerline-in-the-3d-slicer/37933 "2024-08-19T23:00:54Z")

</div>

Dear respected experts, Please teach me how to draw normal vectors in the 3D slicer. I want to draw the normal vectors of the centerline of blood vessels obtained by VMTK’s “Extract centerline” module to visualize the …

---

## [Centerline extraction C++ having different result from the slicer](https://discourse.slicer.org/t/centerline-extraction-c-having-different-result-from-the-slicer/32370)

<div class="topic-metadata">

**Author:** [@liy0na](https://discourse.slicer.org/u/liy0na)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 12:47pm UTC](https://discourse.slicer.org/t/centerline-extraction-c-having-different-result-from-the-slicer/32370 "2024-08-12T12:47:56Z")

</div>

Hello, I have an STL file containing a surface mesh. When I use the slicer I can easily extract the centerlines from it. However when I use the following C++ code. I am only getting 3 output points. vtkSmartPointe…

---

## [Exporting Curvature Data](https://discourse.slicer.org/t/exporting-curvature-data/23181)

<div class="topic-metadata">

**Author:** [@heiko](https://discourse.slicer.org/u/heiko)\
**Replies:** 24\
**Last updated:** [August 6, 2024, 6:03am UTC](https://discourse.slicer.org/t/exporting-curvature-data/23181 "2024-08-06T06:03:47Z")

</div>

Hello everyone, I am using the Slicer VMTK extension in order to extract centerlines from a vascular tree. In addition to radius, I would also like to have the curvature at every point of the centerline (like I would ge…

---

## [Binary segmentation mask to centerline polydata using a python script](https://discourse.slicer.org/t/binary-segmentation-mask-to-centerline-polydata-using-a-python-script/36523)

<div class="topic-metadata">

**Author:** [@RomanStriker](https://discourse.slicer.org/u/RomanStriker)\
**Replies:** 4\
**Last updated:** [June 4, 2024, 10:53am UTC](https://discourse.slicer.org/t/binary-segmentation-mask-to-centerline-polydata-using-a-python-script/36523 "2024-06-04T10:53:12Z")

</div>

Hi, I am working on Ubuntu 20.04.6 LTS with the ATM’22 dataset. I have the CT volumes and the binary segmenatation mask of the pulmonary airway as nifty (.nii.gz) files. To get the centerline of the pulmonary airway, I …

---

## [Save a tree of centerline curves to json files using Python](https://discourse.slicer.org/t/save-a-tree-of-centerline-curves-to-json-files-using-python/36574)

<div class="topic-metadata">

**Author:** [@ruili](https://discourse.slicer.org/u/ruili)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 3:41pm UTC](https://discourse.slicer.org/t/save-a-tree-of-centerline-curves-to-json-files-using-python/36574 "2024-06-03T15:41:50Z")

</div>

Hello, I have created a tree of centerline curves using functions from the “Extract Centerline” module, and now I want to save the curves in a file structure that can reflect the tree structure. In Slicer, I can do this…

---

## [Coronary artery centerline extraction using VMTK slicer extension](https://discourse.slicer.org/t/coronary-artery-centerline-extraction-using-vmtk-slicer-extension/36139)

<div class="topic-metadata">

**Author:** [@Kavita\_C](https://discourse.slicer.org/u/Kavita_C)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 11:19am UTC](https://discourse.slicer.org/t/coronary-artery-centerline-extraction-using-vmtk-slicer-extension/36139 "2024-05-14T11:19:20Z")

</div>

I am trying to extract centerline using extract centerline from VMTK module. But I’m able to extract only one part of branch ,not other part of branch of coronary vessels. How do I extract both branches centerlines. Can …

---

## [Broken centerline model with continuous voronoi diagram](https://discourse.slicer.org/t/broken-centerline-model-with-continuous-voronoi-diagram/35755)

<div class="topic-metadata">

**Author:** [@ruili](https://discourse.slicer.org/u/ruili)\
**Replies:** 3\
**Last updated:** [April 27, 2024, 11:36am UTC](https://discourse.slicer.org/t/broken-centerline-model-with-continuous-voronoi-diagram/35755 "2024-04-27T11:36:08Z")

</div>

Hello, I have been using the Extract Centerline module to extract the centerlines from some vessel segmentation. However, I have been struggling to get a fully connected centerline model even though the segmentation is …

---

## [Centerline calculation warning (vmtkcenterlineviewer)](https://discourse.slicer.org/t/centerline-calculation-warning-vmtkcenterlineviewer/34573)

<div class="topic-metadata">

**Author:** [@MicheleIng](https://discourse.slicer.org/u/MicheleIng)\
**Replies:** 3\
**Last updated:** [April 9, 2024, 3:36am UTC](https://discourse.slicer.org/t/centerline-calculation-warning-vmtkcenterlineviewer/34573 "2024-04-09T03:36:04Z")

</div>

Once I import the stl file (the stl file is a vessel that has two bifurcations), vmtk doesn’t generate centerlines for me but it generates this warning message. Warning: In …\\vtkVmtk\\ComputationalGeometry\\vtkvmtkSteepe…

---

## [Centerline smoothing by vmtkCenterlineSmoothing does not work](https://discourse.slicer.org/t/centerline-smoothing-by-vmtkcenterlinesmoothing-does-not-work/35200)

<div class="topic-metadata">

**Author:** [@tomo-akiyama](https://discourse.slicer.org/u/tomo-akiyama)\
**Replies:** 4\
**Last updated:** [April 4, 2024, 1:44pm UTC](https://discourse.slicer.org/t/centerline-smoothing-by-vmtkcenterlinesmoothing-does-not-work/35200 "2024-04-04T13:44:20Z")

</div>

Hello, everyone, I’m interested in smoothing the centerlines of the cerebral arteries. Following the parameters recommended by “Kjeldsberg et al. BioMedical Engineering OnLine (2021) Automated landmarking of bends in v…

---

## [Exporting to as GLTF changes names](https://discourse.slicer.org/t/exporting-to-as-gltf-changes-names/34623)

<div class="topic-metadata">

**Author:** [@MuckYu](https://discourse.slicer.org/u/MuckYu)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 6:34pm UTC](https://discourse.slicer.org/t/exporting-to-as-gltf-changes-names/34623 "2024-02-29T18:34:22Z")

</div>

I am trying to export the centerline from a scene with a python script. OBJ/STL etc. don’t export the centerline at all. So I have to use GLTF - which works fine so far. The problem here is that it exports the whole s…

---

## [Radius Extraction from centerline](https://discourse.slicer.org/t/radius-extraction-from-centerline/34066)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 4\
**Last updated:** [January 31, 2024, 3:10pm UTC](https://discourse.slicer.org/t/radius-extraction-from-centerline/34066 "2024-01-31T15:10:52Z")

</div>

Hi to everyone. I’m working with centerlines, which I made with a external python code. From this code I return the centerlines as Markups nodes, and now I would like to extract radius info. For this purpose I use the C…

---

## [Centerline errors - help](https://discourse.slicer.org/t/centerline-errors-help/33945)

<div class="topic-metadata">

**Author:** [@tahmidullah](https://discourse.slicer.org/u/tahmidullah)\
**Replies:** 3\
**Last updated:** [January 26, 2024, 2:46am UTC](https://discourse.slicer.org/t/centerline-errors-help/33945 "2024-01-26T02:46:32Z")

</div>

Hi all, I am having some trouble deriving the centerline from my stl. I have attached some pictures of the settings and the issues with the centerline when using the vascular modeling toolkit extension. Thank you so muc…

---

## [Click and connect two separated segments of a vessel segmentation](https://discourse.slicer.org/t/click-and-connect-two-separated-segments-of-a-vessel-segmentation/33161)

<div class="topic-metadata">

**Author:** [@ruili](https://discourse.slicer.org/u/ruili)\
**Replies:** 7\
**Last updated:** [December 6, 2023, 12:59am UTC](https://discourse.slicer.org/t/click-and-connect-two-separated-segments-of-a-vessel-segmentation/33161 "2023-12-06T00:59:10Z")

</div>

Hi all, I am working on a project where I generate the segmentation of blood vessels in the brain using some other software and compute their centrelines using the SlicerVMTK extension. However, a common problem with th…

---

## [Failed Centerline Extraction with ExtractCenterline Tree](https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 1\
**Last updated:** [November 24, 2023, 8:00am UTC](https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949 "2023-11-24T08:00:41Z")

</div>

Hi to everyone, today my post is quite simple. Extracting centerline curves with ExtractCenterline module using Trees fails a lot (joins with straight lines bifurcations with endpoint or something like that…). To be clea…

---

## [Separating centerline metrics](https://discourse.slicer.org/t/separating-centerline-metrics/19173)

<div class="topic-metadata">

**Author:** [@som1197](https://discourse.slicer.org/u/som1197)\
**Replies:** 10\
**Last updated:** [October 27, 2023, 12:07pm UTC](https://discourse.slicer.org/t/separating-centerline-metrics/19173 "2023-10-27T12:07:22Z")

</div>

Hello, I want to isolate parameters such as Tortuosity, Curvature, Torsion, Length, Radius etc. for the centerlines. The current vmtk version groups these centerlines based on Centerline Ids, Group Ids etc. But it stil…

---

## [Merging 2 Network Curves into One](https://discourse.slicer.org/t/merging-2-network-curves-into-one/31610)

<div class="topic-metadata">

**Author:** [@sthaker](https://discourse.slicer.org/u/sthaker)\
**Replies:** 2\
**Last updated:** [September 9, 2023, 5:56pm UTC](https://discourse.slicer.org/t/merging-2-network-curves-into-one/31610 "2023-09-09T17:56:50Z")

</div>

Hello, I have been having this issue (using ExtractCenterline Module) when I am trying to extract the centerlines of a stl model of an aorta where there is a random branch (one not bounded by an endpoint) that is added.…

---

## [Automatic centerline generation and post processing steps](https://discourse.slicer.org/t/automatic-centerline-generation-and-post-processing-steps/30841)

<div class="topic-metadata">

**Author:** [@Ali\_Mokhtari](https://discourse.slicer.org/u/Ali_Mokhtari)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 1:17am UTC](https://discourse.slicer.org/t/automatic-centerline-generation-and-post-processing-steps/30841 "2023-07-28T01:17:55Z")

</div>

Hi all, I have a stl file for a bifurcation case (along the Z axis). I want to generate the centerline for this geometry. In the next step, I want to create the boundary planes perpendicular to this centerline (on the …

---

## [Error during spacing the points in centerlines module](https://discourse.slicer.org/t/error-during-spacing-the-points-in-centerlines-module/30316)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 1\
**Last updated:** [June 30, 2023, 11:45am UTC](https://discourse.slicer.org/t/error-during-spacing-the-points-in-centerlines-module/30316 "2023-06-30T11:45:04Z")

</div>

Hi to everyone once again :slight\_smile: In this ocassion I found a strange issue during the extract centerlines process with ‘extract centerlines’ module. I need a specific curve sampling for my centerlines so I sele…

---

## [Unable to open the saved stl or vtk centerline extraction in other modelling software](https://discourse.slicer.org/t/unable-to-open-the-saved-stl-or-vtk-centerline-extraction-in-other-modelling-software/29372)

<div class="topic-metadata">

**Author:** [@Yvonne](https://discourse.slicer.org/u/Yvonne)\
**Replies:** 2\
**Last updated:** [May 10, 2023, 10:52pm UTC](https://discourse.slicer.org/t/unable-to-open-the-saved-stl-or-vtk-centerline-extraction-in-other-modelling-software/29372 "2023-05-10T22:52:56Z")

</div>

Hi I’m trying to export the vessel center line and open file in Solidworks and Cura in order to 3D print the structure. However, all of the 3D modelling software showed that the file is corrupted. Can anyone suggest …

---

## [VMTK Centerline Computation error](https://discourse.slicer.org/t/vmtk-centerline-computation-error/12789)

<div class="topic-metadata">

**Author:** [@janneke\_slicer](https://discourse.slicer.org/u/janneke_slicer)\
**Replies:** 5\
**Last updated:** [December 21, 2021, 7:18am UTC](https://discourse.slicer.org/t/vmtk-centerline-computation-error/12789 "2021-12-21T07:18:18Z")

</div>

Hello, I want to use VMTK Centerline Computation. However, I get the following error after using the Preview button (it isn’t even possible to use the Start button): ‘local variable ‘vtkvmtkComputationalGeometry’ refer…

---

## [Measure (part of) model volume along centerline](https://discourse.slicer.org/t/measure-part-of-model-volume-along-centerline/26853)

<div class="topic-metadata">

**Author:** [@SvElst](https://discourse.slicer.org/u/SvElst)\
**Replies:** 7\
**Last updated:** [December 22, 2022, 6:35pm UTC](https://discourse.slicer.org/t/measure-part-of-model-volume-along-centerline/26853 "2022-12-22T18:35:05Z")

</div>

Hi, I have a tubular model (segmentation of a nerve). I used the ExtracCenterline module to extract the centerline of this model and the Cross-Section Analysis module to determine the diameter and cross-sectional area a…

---

## [About The Curvature of the Centerline](https://discourse.slicer.org/t/about-the-curvature-of-the-centerline/26563)

<div class="topic-metadata">

**Author:** [@LXT](https://discourse.slicer.org/u/LXT)\
**Replies:** 1\
**Last updated:** [December 3, 2022, 5:05am UTC](https://discourse.slicer.org/t/about-the-curvature-of-the-centerline/26563 "2022-12-03T05:05:44Z")

</div>

Hello, I am a beginner using the VMTK module. I would like to ask how the curvature value in the exported centerline quantitative Table is calculated. Because the average and maximum values of the same centerline obtaine…

---

## [perpendicular cross sectional area along centerline](https://discourse.slicer.org/t/perpendicular-cross-sectional-area-along-centerline/15556)

<div class="topic-metadata">

**Author:** [@airtech2](https://discourse.slicer.org/u/airtech2)\
**Replies:** 20\
**Last updated:** [November 30, 2022, 8:48pm UTC](https://discourse.slicer.org/t/perpendicular-cross-sectional-area-along-centerline/15556 "2022-11-30T20:48:23Z")

</div>

Operating system: windows Slicer version: 4.11 Expected behavior: Actual behavior: I need a perpendicular cross sectional area along centerline in vessel segmentation model. I can extract centerline using VMTK exten…

---

## [Extract CenterLine - Start in py](https://discourse.slicer.org/t/extract-centerline-start-in-py/26426)

<div class="topic-metadata">

**Author:** [@lucas\_sd](https://discourse.slicer.org/u/lucas_sd)\
**Replies:** 2\
**Last updated:** [November 28, 2022, 5:42pm UTC](https://discourse.slicer.org/t/extract-centerline-start-in-py/26426 "2022-11-28T17:42:34Z")

</div>

Hi, I have two points and a segmentation and I would like to obtain the center line. I did that using the extension VMTK and now I would like to do this in my phyton script, just like an other part of my process. Can I…

---

## [Processing of a large number of MRIs](https://discourse.slicer.org/t/processing-of-a-large-number-of-mris/26006)

<div class="topic-metadata">

**Author:** [@tsinesh](https://discourse.slicer.org/u/tsinesh)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 5:09pm UTC](https://discourse.slicer.org/t/processing-of-a-large-number-of-mris/26006 "2022-11-01T17:09:35Z")

</div>

How can I perform an analysis on a large data set with e.g. 800 MRIs? I imagine to process all images uniformly as far as possible automatically in a loop: e.g. N4 homogenization algorithm for MRI Bias Field Correction …

[Next page](https://discourse.slicer.org/tag/centerlines/105.md?match_all_tags=true&page=1&tags%5B%5D=centerlines)
