# How to connect sub-branches with together?

**URL:** <https://discourse.slicer.org/t/how-to-connect-sub-branches-with-together/3658>\
**Category:** Support\
**Created:** [August 4, 2018, 11:40am UTC](https://discourse.slicer.org/t/how-to-connect-sub-branches-with-together/3658 "2018-08-04T11:40:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Post date:** [August 4, 2018, 11:40am UTC](https://discourse.slicer.org/t/how-to-connect-sub-branches-with-together/3658/1 "2018-08-04T11:40:11Z")

</div>

Hi Slicer developers and users

I have a large bunch of parallel branches and one oblique branch (approximately 300 branches). Obviously, these branches do not collied with together. I extract these branches from CT imaging using Effects of “Segment Editor” firstly and then “Extract Skeleton”.  
In several areas, these branches are cut off (disconnected) and each branch becomes a few subbranches (3-4 subbranches). I want to connect these subbranches automatically. How can I do it?  
Please guide me.  
Best regards,  
Shahrokh

---

<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:** [August 4, 2018, 9:36pm UTC](https://discourse.slicer.org/t/how-to-connect-sub-branches-with-together/3658/2 "2018-08-04T21:36:48Z")

</div>

For specific problems like this, you may need to develop your own algorithm.

However, probably you can avoid breaking up of branches if you resample the volume before segmentation to have smaller voxels (vessel diameters should be at least 5-10 voxels).
