# Export the segmentation as DICOM series

**URL:** <https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769>\
**Category:** Support\
**Created:** [January 10, 2020, 2:41am UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769 "2020-01-10T02:41:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TongLyu](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TongLyu](https://discourse.slicer.org/u/TongLyu)\
**Post date:** [January 10, 2020, 2:41am UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769/1 "2020-01-10T02:41:14Z")

</div>

Hi!  
I want to know if there is any way that I could cut the other parts of CT images that I want to have after segmentation and only export the part I want as DICOM series.

Version: 3D Slicer 4.10.2

---

<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:** [January 10, 2020, 2:43am UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769/2 "2020-01-10T02:43:15Z")

</div>

Would you like to export the segmentation or the CT image? What part would you like to export (crop to the smallest bounding box that contains all the segments, blank out regions that are outside all segments, …)?

---

<div class="post-metadata">

**Author:** ![TongLyu](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@TongLyu](https://discourse.slicer.org/u/TongLyu)\
**Post date:** [January 10, 2020, 3:36pm UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769/3 "2020-01-10T15:36:42Z")

</div>

Morning, thanks for your reply.

I would like to export the segmentation part as DICOM series which gets rid of the regions that are outside all segments. Besides, I still want the exported DICOM series to have the sane number of images as the series before segmentation.

I appreciate your help and look forward to your response.

On 01/9/2020 21:54，Andras Lasso via 3D Slicer Community[slicer@discoursemail.com](mailto:slicer@discoursemail.com) wrote：

 ![Screen Shot 2020-01-10 at 10.33.07 AM.jpg](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/4/c436aa60568a24cbb3d23367e43ec61346819bf2.jpeg)

---

<div class="post-metadata">

**Author:** ![JanWitowski](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/janwitowski/32/4512_2.png) [@JanWitowski](https://discourse.slicer.org/u/JanWitowski)\
**Post date:** [January 10, 2020, 10:35pm UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769/4 "2020-01-10T22:35:38Z")

</div>

You probably would be able to do this by transforming the segmentation layer to binary labelmap in Segmentations module, and then exporting it to DICOM in Data module (by right clicking on labelmap). However this strips some meta data and some viewers might misinterpret e.g. patient orientation. Maybe @lassoan has a better idea

---

<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:** [January 11, 2020, 7:50pm UTC](https://discourse.slicer.org/t/export-the-segmentation-as-dicom-series/9769/5 "2020-01-11T19:50:26Z")

</div>

It is still not clear if you want to export the segmentation (DICOM Segmentation object or RT structure set) or a modified CT image (where areas outside segments are blanked out).
