# Cannot save binary mask of annottated images from Segmentation module

**URL:** <https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [October 18, 2019, 8:53am UTC](https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829 "2019-10-18T08:53:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pinar\_Uskaner\_Hepsag](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pinar_uskaner_hepsag/32/4913_2.png) [@Pinar\_Uskaner\_Hepsag](https://discourse.slicer.org/u/Pinar_Uskaner_Hepsag)\
**Post date:** [October 18, 2019, 8:53am UTC](https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829/1 "2019-10-18T08:53:11Z")

</div>

I am very new in Slicer. I want to save binary masks of annotated images. I cannot save binary masks of all annotated images using export binary label map in segmentations module. When ı right click in the DATA module and tell the export to dicom, I can see the binary mask of the only one image all other segmented slices are seen as white not like a binary mask. What I am doing wrong?

---

<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:** [October 22, 2019, 1:27pm UTC](https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829/2 "2019-10-22T13:27:45Z")

</div>

Are you sure you need the segmentation results in DICOM format?  
You can save the segmentation as labelmap by right-clicking on the segmentation in Data module to export to binary labelmap then use menu: File / Save to save as nrrd file.

---

<div class="post-metadata">

**Author:** ![Pinar\_Uskaner\_Hepsag](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pinar_uskaner_hepsag/32/4913_2.png) [@Pinar\_Uskaner\_Hepsag](https://discourse.slicer.org/u/Pinar_Uskaner_Hepsag)\
**Post date:** [October 23, 2019, 5:45am UTC](https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829/3 "2019-10-23T05:45:59Z")

</div>

No. I do not need to the segmentation results in DICOM format. But I just want to check binary results. How can I visualize nrrd file? Or How can I see binary images ?

Thanks,

Pinar

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 23, 2019, 5:54am UTC](https://discourse.slicer.org/t/cannot-save-binary-mask-of-annottated-images-from-segmentation-module/8829/4 "2019-10-23T05:54:49Z")

</div>

As Andras said, after segmentation all you need to do is to right click on your segment name in the Data module, and export it to a binary label map.

After that if you want to save the labelmap as NRRD or NIFTI, just use the regular Save dialog box.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/9/c90079f90db9576e1815155814adffd64e6d3339.png)
