# How to unmerge NIFTI (nii.gz) files?

**URL:** <https://discourse.slicer.org/t/how-to-unmerge-nifti-nii-gz-files/32433>\
**Category:** Support\
**Created:** [October 26, 2023, 8:01pm UTC](https://discourse.slicer.org/t/how-to-unmerge-nifti-nii-gz-files/32433 "2023-10-26T20:01:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaacrods](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@isaacrods](https://discourse.slicer.org/u/isaacrods)\
**Post date:** [October 26, 2023, 8:01pm UTC](https://discourse.slicer.org/t/how-to-unmerge-nifti-nii-gz-files/32433/1 "2023-10-26T20:01:10Z")

</div>

![Captura de pantalla 2023-10-26 212839](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/b/2b7bddeb54680f347c99884d1b9448a7e27ea77c.png)

Hello everyone,

I’m currently working on Radiomics. To do this, I set up a directory where I stored MRI scans in one folder, and segmented tumors (labels or masks) in another. Despite segmenting and saving everything separately as individual files, I’ve noticed that all the layers were merged, as you can see in the image.

How can I separate them? In very basic terms, how do I retrieve the blue, yellow, and green layers as single and distinct NIFTI files?

Thank you!
