# Importing a binary nifti mask

**URL:** <https://discourse.slicer.org/t/importing-a-binary-nifti-mask/11050>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [April 8, 2020, 11:53pm UTC](https://discourse.slicer.org/t/importing-a-binary-nifti-mask/11050 "2020-04-08T23:53:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lenome](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@lenome](https://discourse.slicer.org/u/lenome)\
**Post date:** [April 8, 2020, 11:53pm UTC](https://discourse.slicer.org/t/importing-a-binary-nifti-mask/11050/1 "2020-04-08T23:53:45Z")

</div>

Hi all,

I have an MR dataset and a related binary mask file, both in nifti format. I have the lh and rh 3d files from freesurfer that I am using to display in 3d alongside the 2d MR as slices. I was able to read the binary mask file using the labelmap option to see it overlaid on the MR slices but I am unable to view the binary mask in the 3D view. Any thoughts on how to accomplish this?

Thank you,  
Suraj

---

<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:** [April 8, 2020, 11:58pm UTC](https://discourse.slicer.org/t/importing-a-binary-nifti-mask/11050/2 "2020-04-08T23:58:48Z")

</div>

In recent Slicer Preview Releases, you can load a nifti file as segmentation by selecting Description -\> Segmentation in Add data dialog (in older Slicer releases, you need to load the nifti file as labelmap and then convert it to segmentation by right-clicking on it in Data module).

To show the segmentation in 3D, go to Segment Editor module and click “Show 3D” button.
