# Unable to compute the ferret diameter on segmentation from totalsegmentator

**URL:** <https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623>\
**Category:** Support\
**Tags:** segment-statistics, totalsegmentator\
**Created:** [April 19, 2024, 2:32pm UTC](https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623 "2024-04-19T14:32:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [April 19, 2024, 2:32pm UTC](https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623/1 "2024-04-19T14:32:26Z")

</div>

Hello,

I did the following step :

1. Load “CT Chest” from the sample data module

2. Segment it using totalsegmentator (task total, fast mode activated)

3. Compute the statistic using the “Segment Statistics” module, it’s a success

4. Enable the statistics “Ferret Diameter mm” in Advanced \>Labelmap Statistics. Slicer runs indefinitely without raising an error.

If I create my segmentation by right-clicking the volume and doing " Segment this …", I can calculate the ferret diameter

I tried on version 5.6.0 and 5.6.2 and I got the error in both cases  
If it’s a known issue and a fix is already available, I would gladly use it.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 19, 2024, 2:38pm UTC](https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623/2 "2024-04-19T14:38:30Z")

</div>

It may just take a long time to compute for a complex segment.

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [April 19, 2024, 3:04pm UTC](https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623/3 "2024-04-19T15:04:34Z")

</div>

You’re right, 😃  
I did a test using only the “spleen” segment from totalsegmentator and the computation completed

I’m surprised that the computation time increases that much with the volume of the segment.

Anyway, thank you so much and sorry for bothering you with such a simple question 😅

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 19, 2024, 3:15pm UTC](https://discourse.slicer.org/t/unable-to-compute-the-ferret-diameter-on-segmentation-from-totalsegmentator/35623/4 "2024-04-19T15:15:29Z")

</div>

No problem - glad it’s working for you 👍
