# Separating centerline metrics

**URL:** <https://discourse.slicer.org/t/separating-centerline-metrics/19173>\
**Category:** VMTK\
**Tags:** python, centerlines, vmtk-centerline\
**Created:** [August 12, 2021, 6:18pm UTC](https://discourse.slicer.org/t/separating-centerline-metrics/19173 "2021-08-12T18:18:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![som1197](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/som1197/32/14945_2.png) [@som1197](https://discourse.slicer.org/u/som1197)\
**Post date:** [August 13, 2021, 6:44pm UTC](https://discourse.slicer.org/t/separating-centerline-metrics/19173/9 "2021-08-13T18:44:46Z")

</div>

Hello @lassoan

Thanks for clarifying the curvature results! Could you tell me how you developed a tube representation of the centerline model to post process the curvature metric? Currently only radius is the scalar that is available to post process, following on my previous issue.

> [@Slicer - Convert centerlines to a graph {V,E}](https://discourse.slicer.org/t/slicer-convert-centerlines-to-a-graph-v-e/18604/3):
>
> Thank you @lassoan for the piece of code. Yes I will send out a pull request with the proposed changes soon. Moreover, I also wanted to know if scalar values of ‘GroupIDsarray’, ‘TortuosityArray’ , ‘BlankingArray’ etc. can be incorporated in the centerline model. I generated the following plots by using the conventional vmtkscripts, but it does not always work correctly. [image] [image] Currently there are only 3 ways to postprocess the centerline data as shown here. [image] However, ca…

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

I used the earlier method you mentioned in the video to coincide the merged centerlines (curves/splines) on the vtkpolydata surface representation of the centerline model but got this.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/8/c8e4b239a8e996cae6cf4a091ca9d051966b2859.jpeg)

Is there a way to obtain the curve/spline representation for the centerline model or the vtkpolydata?  
Basically I want a bifurcation point in the centerline model so that I can separate the vessels for the hemodynamic analysis later on.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/4/94d93aabd6cc9a0ba321d733b2f8573b18df4d08.jpeg)  
Thanks.

---

_[View the full topic](https://discourse.slicer.org/t/separating-centerline-metrics/19173)._
