# How to change branch centerline

**URL:** https://discourse.slicer.org/t/how-to-change-branch-centerline/18746
**Category:** VMTK
**Created:** [July 15, 2021, 10:25am UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746 "2021-07-15T10:25:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 15, 2021, 10:25am UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/1 "2021-07-15T10:25:52Z")

</div>

hi,i have extract the centerline,but i find centerline bifurcation is not right.just like this,i want modify centerline bifurcation from fig 1 to fig2,is there any function can achieve?

 ![分叉1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/9/89d55c19067784cd5aec4ae4d6297e1032733a64.png)  
 ![分叉2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/8/78e4ee9b1897cab2ecda627dfd061cac56aa318c.png)

---

<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: [July 16, 2021, 10:14pm UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/2 "2021-07-16T22:14:51Z")

</div>

The top image is the realistic anatomical centerline (can be obtained using centerline extraction filter). The bottom is geometric centerline (can be obtained using network extraction filter).

---

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 20, 2021, 6:53am UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/3 "2021-07-20T06:53:04Z")

</div>

thank you for explain the difference between anatomical centerline and geometric centerline.

---

<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: [July 20, 2021, 12:55pm UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/4 "2021-07-20T12:55:06Z")

</div>

Geometric centerline is just a plain skeletonization that returns points that are at equal distance from surface points.

Anatomical centerline provides realistic centerline shape at bifurcations, taking into account flow direction and radius.

You can find details in thesis and papers of Luca Antiga.

---

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 21, 2021, 4:06am UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/5 "2021-07-21T04:06:33Z")

</div>

thank you lasso,i will read more details between those centerlines

---

<div class="post-metadata">

### Author: ![Wei\_Wu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/wei_wu/32/65662_2.png) [@Wei\_Wu](https://discourse.slicer.org/u/Wei_Wu)
#### Post date: [April 18, 2023, 5:50pm UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/6 "2023-04-18T17:50:00Z")

</div>

Hi @lassoan,  
I am a new user of 3D slicer and I love this code very much!  
I am using slicer to create centerlines of coronary bifurcation. Now my problem is I can just get the centerlines like figure2, in no way I can get centerlines like figure1, even I tried network or centerline model. That is because of the code updates?  
Thank you so much!

---

<div class="post-metadata">

### Author: ![Wei\_Wu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/wei_wu/32/65662_2.png) [@Wei\_Wu](https://discourse.slicer.org/u/Wei_Wu)
#### Post date: [April 18, 2023, 5:55pm UTC](https://discourse.slicer.org/t/how-to-change-branch-centerline/18746/7 "2023-04-18T17:55:08Z")

</div>

Hi @junqiangchen, which slicer version were you using to create the centerlines like figure1? Now I can’t create centerline like figure1 but only figures2 using the lastest version.  
Thanks!
