# vtkvmtkCenterlineBranchExtractorfunction bug

**URL:** https://discourse.slicer.org/t/vtkvmtkcenterlinebranchextractorfunction-bug/19761
**Category:** VMTK
**Created:** [September 20, 2021, 2:44pm UTC](https://discourse.slicer.org/t/vtkvmtkcenterlinebranchextractorfunction-bug/19761 "2021-09-20T14:44:53Z")
**Posts on this page:** 1
**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: [September 20, 2021, 2:44pm UTC](https://discourse.slicer.org/t/vtkvmtkcenterlinebranchextractorfunction-bug/19761/1 "2021-09-20T14:44:53Z")

</div>

hi, i use vtkvmtkCenterlineBranchExtractor to calculate branch centerline,but i find there have bug that is the number of points is different the last offset value

 ![有中心线分支提取](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/5/4532fb143f8a0a80be890c677efe3e60f319e962.png)  
and i don’t use the function i can get the same number.  
 ![没有中心线分支提取](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/9/c9445a2ac12e55079882edbfd36f258375c51fc9.png)  
can anyone tell me why that happens?  
thank you
