# Cannot import the centerline calculation from a model and some other problems

**URL:** <https://discourse.slicer.org/t/cannot-import-the-centerline-calculation-from-a-model-and-some-other-problems/6123>\
**Category:** Support\
**Tags:** vmtk, centerlines\
**Created:** [March 13, 2019, 2:41am UTC](https://discourse.slicer.org/t/cannot-import-the-centerline-calculation-from-a-model-and-some-other-problems/6123 "2019-03-13T02:41:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cduque](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cduque](https://discourse.slicer.org/u/cduque)\
**Post date:** [March 13, 2019, 10:36am UTC](https://discourse.slicer.org/t/cannot-import-the-centerline-calculation-from-a-model-and-some-other-problems/6123/3 "2019-03-13T10:36:28Z")

</div>

Dear Andras,

Thanks for your time and reply

> [@lassoan](#):
>
> How much RAM do you have. Slicer should not crash unless you run out of memory. For dealing with a 4.5GB image you need to have about 40-50GB memory space available (preferably physical RAM).

I have 128 GB RAM. I post this problem some time ago in the forum: [Fail to load a big tiff stack](https://discourse.slicer.org/t/fail-to-load-a-big-tiff-stack/4832)

> [@lassoan](#):
>
> Which module did you use for computing the centerline? Did you get the centerline as a model node? Can you attach a screenshot?

The VMTK (Vascular modelling toolkit). I attach a screenshot of the “Data” tab and of the “Centerline calculation”.

 ![grafik](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/d/ed179f6a15245f87b604ca1b350ed2fd04844538.png)  
 ![grafik](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/8/48d2003c99fdf34ca68211c52ff2df070b1e8c79.png)

> [@lassoan](#):
>
> “Extract skeleton” module is much simpler and robust way of computing centerline. It works by gradually peeling off layers from the input labelmap, so the thicker the structure is, the longer it takes. For faster extraction, you can resample the input image to make the vessel diameter about 5 voxels.

I will try. Thanks!

---

_[View the full topic](https://discourse.slicer.org/t/cannot-import-the-centerline-calculation-from-a-model-and-some-other-problems/6123)._
