# Vmtk Network algorithm error for the big diameter change part

**URL:** https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253
**Category:** Support
**Tags:** feature
**Created:** [July 8, 2024, 9:29am UTC](https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253 "2024-07-08T09:29:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gang\_fang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gang_fang/32/14391_2.png) [@gang\_fang](https://discourse.slicer.org/u/gang_fang)
#### Post date: [July 8, 2024, 9:29am UTC](https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253/1 "2024-07-08T09:29:59Z")

</div>

Dear , all and developers  
I use the network extraction for the vessel model with big aneursym , but the network line go outside of the surface , seem not right. Is there solution for this situation?

 ![err](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/9/3932c0de07b02448f0e79628c782a9d4bf75f768.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 8, 2024, 1:54pm UTC](https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253/2 "2024-07-08T13:54:54Z")

</div>

Does centerline extraction work well?  
Can you share the model so that we can do some more testing?

---

<div class="post-metadata">

### Author: ![gang\_fang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gang_fang/32/14391_2.png) [@gang\_fang](https://discourse.slicer.org/u/gang_fang)
#### Post date: [July 9, 2024, 5:21am UTC](https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253/3 "2024-07-09T05:21:12Z")

</div>

It is vmtk network extraction output, I use the vmtknetworkextraction script.  
Very grateful for your support. Look forward to your feedback.  
Here is the STL model link:  
[https://drive.google.com/file/d/1RTZhFll643\_bbPVBan98wSCbNUL2fVPl/view?usp=drive\_link](https://drive.google.com/file/d/1RTZhFll643_bbPVBan98wSCbNUL2fVPl/view?usp=drive_link)

---

<div class="post-metadata">

### Author: ![gang\_fang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gang_fang/32/14391_2.png) [@gang\_fang](https://discourse.slicer.org/u/gang_fang)
#### Post date: [July 9, 2024, 5:25am UTC](https://discourse.slicer.org/t/vmtk-network-algorithm-error-for-the-big-diameter-change-part/37253/4 "2024-07-09T05:25:25Z")

</div>

yes, If I use "vmtkcenterlines " and select two points near and far, it appear normal like:

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

but the network is

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/4/147f57994c1797b11e040e371af0d0e829185b48.jpeg)
