# Help cropping 4D images after using segmentation wizard

**URL:** <https://discourse.slicer.org/t/help-cropping-4d-images-after-using-segmentation-wizard/6049>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [March 6, 2019, 8:01pm UTC](https://discourse.slicer.org/t/help-cropping-4d-images-after-using-segmentation-wizard/6049 "2019-03-06T20:01:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjortiz2](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@rjortiz2](https://discourse.slicer.org/u/rjortiz2)\
**Post date:** [March 6, 2019, 8:01pm UTC](https://discourse.slicer.org/t/help-cropping-4d-images-after-using-segmentation-wizard/6049/1 "2019-03-06T20:01:27Z")

</div>

I have a fMRI nifti file of that I need the skull to be extracted from.

I first set up an Image mask using segmentation wizard, to highlight the brain.  
After finishing segmentation wizard, I tried saving the masks as .nii.gz files, but when I open the files on my desktop, a folder is created, but empty.

Is there another way to use the highlighted masks to crop out the regions that I don’t want for my fMRI scans.

I have tried different modules to try to crop out my 4D image, but can’t seem to figure it out.
