# Failed Centerline Extraction with ExtractCenterline Tree

**URL:** https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949
**Category:** Support
**Tags:** segmentation, centerlines
**Created:** [November 22, 2023, 11:16am UTC](https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949 "2023-11-22T11:16:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)
#### Post date: [November 22, 2023, 11:16am UTC](https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949/1 "2023-11-22T11:16:17Z")

</div>

Hi to everyone, today my post is quite simple. Extracting centerline curves with ExtractCenterline module using Trees fails a lot (joins with straight lines bifurcations with endpoint or something like that…). To be clear enough, the Network centerlines are not as well-made as we need so the only option are Tree centerlines.

 ![Captura de pantalla 2023-11-22 121029](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/f/dfe5c75522208365968a7e0efb46a2c67f1ab454.jpeg)

This type of bugged centerlines are obtained using segmentations, smoothed segmentation, models and smoothed models.

We also moved a little bit the endpoints to other positions and the results are equally bad.

Thanks a lot 🙂 .

---

<div class="post-metadata">

### Author: ![bserrano](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bserrano/32/17034_2.png) [@bserrano](https://discourse.slicer.org/u/bserrano)
#### Post date: [November 24, 2023, 8:00am UTC](https://discourse.slicer.org/t/failed-centerline-extraction-with-extractcenterline-tree/32949/2 "2023-11-24T08:00:41Z")

</div>

I’m experiencing the same issue. I attempted to resolve it by using version 4.2, and it eventually worked after the program crashed three times. Any suggestions for a permanent solution?

Thanks 🙂
