# Segmentation of CT Dicoms

**URL:** <https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [January 19, 2022, 3:09pm UTC](https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527 "2022-01-19T15:09:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![3Dslicerhelp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/3dslicerhelp/32/13839_2.png) [@3Dslicerhelp](https://discourse.slicer.org/u/3Dslicerhelp)\
**Post date:** [January 19, 2022, 3:09pm UTC](https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527/1 "2022-01-19T15:09:59Z")

</div>

I uploaded a CT dicom image set into Slicer and segmented a region of interest. Now, I would like to save both my input volume and segmentation into a single file (preferably .nrrd). Is there a way I am able to do this?

I have attempted to export my segmentation as a labelmap; however, this only saves the segmentation without the CT dicoms. I need the 3D CT volume with the segmentation included as my label.

My end goal is to use these .nrrd files as inputs for a deep learning model that requires labelled image sets.

Thanks!

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [January 19, 2022, 4:10pm UTC](https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527/2 "2022-01-19T16:10:54Z")

</div>

A post was merged into an existing topic: [Saving a segmentation and input volume in one file](https://discourse.slicer.org/t/saving-a-segmentation-and-input-volume-in-one-file/21506)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [January 19, 2022, 4:10pm UTC](https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527/3 "2022-01-19T16:10:55Z")

</div>



---

<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:** [January 19, 2022, 7:59pm UTC](https://discourse.slicer.org/t/segmentation-of-ct-dicoms/21527/4 "2022-01-19T19:59:58Z")

</div>

If by “included” you mean the segmentation overlayed in color on the CT, then the Screen Capture module can work. But it will export png as 24 bit rgb that won’t be the best for learning. Better to use nrrd files for the CT and segmentation individually at full bit depth – have a look at MONAI for deep learning tools that work with medical formats.
