# Save segmented images

**URL:** <https://discourse.slicer.org/t/save-segmented-images/18523>\
**Category:** Support\
**Created:** [July 5, 2021, 9:45pm UTC](https://discourse.slicer.org/t/save-segmented-images/18523 "2021-07-05T21:45:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![refrangioni](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@refrangioni](https://discourse.slicer.org/u/refrangioni)\
**Post date:** [July 5, 2021, 9:45pm UTC](https://discourse.slicer.org/t/save-segmented-images/18523/1 "2021-07-05T21:45:57Z")

</div>

I need to use segmented images in a program that uses segmented slices in .bmp format  
I can also use segmented images in DICOM format and then transform them to .bmp  
what is the best way. and how to save segmented ​​slices images in DICOM in 3d slicer. I tried but I could not.

---

<div class="post-metadata">

**Author:** ![Gowtham\_P](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gowtham_p/32/11501_2.png) [@Gowtham\_P](https://discourse.slicer.org/u/Gowtham_P)\
**Post date:** [July 6, 2021, 10:27am UTC](https://discourse.slicer.org/t/save-segmented-images/18523/2 "2021-07-06T10:27:45Z")

</div>

I also had a similar problem, Currently, I am using a workaround to export the Segmentation node as DICOM series by using the Binary Labelmap option. I am not sure it’s the proper solution, but it works for me.

Solution:  
Right Click the segmentation node on Data Manager → Export visible segments to Binary Labelmap  
A new segmentation label will be created, if you right-click that you will get the option to export to DICOM, where you can add details and export your segment as a DICOM series.

Hope this Helps!!

---

<div class="post-metadata">

**Author:** ![refrangioni](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@refrangioni](https://discourse.slicer.org/u/refrangioni)\
**Post date:** [July 7, 2021, 12:56pm UTC](https://discourse.slicer.org/t/save-segmented-images/18523/3 "2021-07-07T12:56:12Z")

</div>

Thanks for your help !  
I tried this but it looks like the generated images don’t contain the segmentation.  
I think I’m doing something wrong when I get to stage of export.  
In “select export type” (iten 2) has “scalar volume”, “RT” and “slicer data bundle”.  
The first 2 (scalar volume and RT) generated files without segmentation and the third one did not complete.

---

<div class="post-metadata">

**Author:** ![Gowtham\_P](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gowtham_p/32/11501_2.png) [@Gowtham\_P](https://discourse.slicer.org/u/Gowtham_P)\
**Post date:** [July 8, 2021, 2:56pm UTC](https://discourse.slicer.org/t/save-segmented-images/18523/4 "2021-07-08T14:56:28Z")

</div>

Hi,

I think there is a small misunderstanding, probably due to my lazy short explanation.

you understood the concept of the export option which I mentioned as saving the data. Pls, see the attached images for reference. It’s actually exporting the same data inside the slicer to a different format.

 ![S1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/1/21d73d8a80dd7b5168bb8040b99585394a2c198b.jpeg)  
 ![S2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/d/7dc13565a685c1149845f57465653845b025faed.jpeg)  
 ![S3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/8/d852c4fcb32f6d69782eb7464d06ec5e30f16ad4.jpeg)

---

<div class="post-metadata">

**Author:** ![refrangioni](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@refrangioni](https://discourse.slicer.org/u/refrangioni)\
**Post date:** [July 10, 2021, 1:56am UTC](https://discourse.slicer.org/t/save-segmented-images/18523/5 "2021-07-10T01:56:48Z")

</div>

Hi,  
I managed to save the segmented images in dicom format using the SlicerRT extension.  
I followed as recommended by you  
Right Click the segmentation node on Data Manager → Export visible segments to Binary Labelmap  
right-click to export to DICOM, where you can add details and export your segment as a DICOM series.  
Need to choose RT in “select export type” item.  
But this RT only apear if SlicerRT extension is able.  
Thanks for your tips!!!  
Great and good explanations !!!
