# Save overlapping segments in binary labelmaps - Nrrd

**URL:** <https://discourse.slicer.org/t/save-overlapping-segments-in-binary-labelmaps-nrrd/28042>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [February 25, 2023, 12:36am UTC](https://discourse.slicer.org/t/save-overlapping-segments-in-binary-labelmaps-nrrd/28042 "2023-02-25T00:36:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bmendes](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bmendes/32/18557_2.png) [@bmendes](https://discourse.slicer.org/u/bmendes)\
**Post date:** [February 25, 2023, 6:37pm UTC](https://discourse.slicer.org/t/save-overlapping-segments-in-binary-labelmaps-nrrd/28042/3 "2023-02-25T18:37:55Z")

</div>

Dear @lassoan,  
Thank you for your quick reply. I did follow your recommendation in a previous post, [https://discourse.slicer.org/t/how-can-i-convert-an-rtstruct-to-an-nrrd/539/2](https://discourse.slicer.org/t/how-can-i-convert-an-rtstruct-to-an-nrrd/539/2), and I was able to save a 4D volume. The problem is we can’t reference the CT volume, and the number of images doesn’t match the number of masks, a necessary condition for PyRadiomics. Exporting to a file in the segmentations module does not save overlapping segments but provides the ability to reference a volume. I will try the slicerio Python package as you recommended since it seems very promising.

---

_[View the full topic](https://discourse.slicer.org/t/save-overlapping-segments-in-binary-labelmaps-nrrd/28042)._
