# Only black slices upon importing nrrd from 3DSlicer

**URL:** https://discourse.slicer.org/t/only-black-slices-upon-importing-nrrd-from-3dslicer/7400
**Category:** Support
**Created:** [July 3, 2019, 4:48pm UTC](https://discourse.slicer.org/t/only-black-slices-upon-importing-nrrd-from-3dslicer/7400 "2019-07-03T16:48:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![6ramr](https://avatars.discourse-cdn.com/v4/letter/6/a698b9/32.png) [@6ramr](https://discourse.slicer.org/u/6ramr)
#### Post date: [July 3, 2019, 4:48pm UTC](https://discourse.slicer.org/t/only-black-slices-upon-importing-nrrd-from-3dslicer/7400/1 "2019-07-03T16:48:11Z")

</div>

Hello there,

For a project I need to disassamble a nrrd-stack to separate tifs. I tried to accomplish this using Fiji (ImageJ2). Upon the import of said nrrd showing the segmenation-mask of tissue generated with 3DSlicer, I get a stack of all-black slices. The problem persists with other nrrds from the same project.

Importing [foolc.nrrd](http://teem.sourceforge.net/nrrd/files/foolc.nrrd) gives a 3-pixel-wide gray-scale stack, which viewed orthogonally depicts a person. So I guess this is a 3DSlicer specific issue.

Thanks in advance for any help!

---

<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: [July 3, 2019, 5:05pm UTC](https://discourse.slicer.org/t/only-black-slices-upon-importing-nrrd-from-3dslicer/7400/2 "2019-07-03T17:05:52Z")

</div>

I don’t see any issue here. You provided a 3D volume (all dimensions are spatial) and Slicer loaded it as a 3D volume.

If you want to load it as an RGB image then you need to specify the number and kind of dimensions accordingly:

```
NRRD0004
# Complete NRRD file format specification at:
# http://teem.sourceforge.net/nrrd/format.html
type: unsigned char
dimension: 4
space: left-posterior-superior
sizes: 3 128 128 1
space directions: none (1,0,0) (0,1,0) (0,0,1)
kinds: vector domain domain domain
encoding: gzip
space origin: (0,0,0)
data file: foolc.raw.gz

```

Note that you can directly load TIFF files to Slicer (single file or entire stack) - see [here](https://www.slicer.org/wiki/Documentation/Nightly/FAQ#How_to_load_data_from_a_sequence_of_jpg.2C_tif.2C_or_png_files.3F).

---

<div class="post-metadata">

### Author: ![6ramr](https://avatars.discourse-cdn.com/v4/letter/6/a698b9/32.png) [@6ramr](https://discourse.slicer.org/u/6ramr)
#### Post date: [July 3, 2019, 5:18pm UTC](https://discourse.slicer.org/t/only-black-slices-upon-importing-nrrd-from-3dslicer/7400/3 "2019-07-03T17:18:03Z")

</div>

SOLVED: I had to change the Look-Up-Table to 3-3-2 RGB.
