# TotalSegmentator heartchambers high res not working

**URL:** <https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524>\
**Category:** Support\
**Tags:** segmentation, heart, ai, totalsegmentator\
**Created:** [July 23, 2024, 4:33pm UTC](https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524 "2024-07-23T16:33:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ione\_Ianniruberto](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ione_ianniruberto/32/77418_2.png) [@Ione\_Ianniruberto](https://discourse.slicer.org/u/Ione_Ianniruberto)\
**Post date:** [July 23, 2024, 4:33pm UTC](https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524/1 "2024-07-23T16:33:24Z")

</div>

Hi,  
I have CT images and I would like to segment all the heart chambers using the heartchambers highres tool. However it works fine for some images while for others there are two possible outomes: it dosen’t recognize the left vetricle or the nii.gz file is genereted but is empty. How can I solve this problem? Is this releted to the image quality?  
Thanks  
Ione

---

<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:** [July 23, 2024, 4:33pm UTC](https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524/2 "2024-07-23T16:33:53Z")

</div>

Which Slicer extension are you using for this?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [July 23, 2024, 4:56pm UTC](https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524/3 "2024-07-23T16:56:46Z")

</div>

If using TotalSegmentator, I would suggest following up on this existing issue:

> <https://github.com/wasserth/TotalSegmentator/issues/334>
>
> Hello, 
> I'm using the latest TotalSegmentator to segment the heart in CT scans.… Visually inspecting the output I can see that the output is very roughly correct but large parts of the heart remain unlabeled. I suspect there's an issue with my preprocessing. 
> 
> My CT scans are composed of 512x512 slices with a pixel spacing of about 0.7mm and a slice thickness of 1.25mm. Axially, the scans are variable but include the chest and upper abdomen. Since TotalSegmentator expects 1.5mm slices, I've accounted for that by resampling. I've examined small dataset, a subset of TotalSegmentator's train dataset, and noticed that the slices are 255x255. I've also noticed that the orientation in the training dataset for Total Segmentator is such that the positive axial direction is from feet to head. I couldn't find any information on pixel spacing and any information at all regarding the heart\_highres dataset, neither on github nor in the paper.
> 
> Can you please specify in detail the input format parameters that TotalSegmentator expects, both for the "total" task and for "heart\_highres"? I mean input dimensions in all axes, pixel spacings, slices thickness, orientations, etc. 
> 
> Thank you

---

<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:** [July 23, 2024, 5:53pm UTC](https://discourse.slicer.org/t/totalsegmentator-heartchambers-high-res-not-working/37524/4 "2024-07-23T17:53:47Z")

</div>

@jamesobutler Thank you for the additional information.

@Ione_Ianniruberto I would recommend to check open issues in [TotalSegmentator’s issue tracker](https://github.com/wasserth/TotalSegmentator/issues). If others have already described similar behavior then add your comments there. If all other existing open issues are unrelated then you can create a new issue. Please post the link to the existing or newly created issue here (so that people who have similar questions can follow the discussion over there).
