Unfortunately, after changing the geometry fields as described, I am still not able to load the dataset into Slicer.
The header now is the following:
NRRD0005
# This NRRD file was generated by pynrrd
# on 2022-01-27 11:44:32(GMT).
# Complete NRRD file format specification at:
# http://teem.sourceforge.net/nrrd/format.html
type: float
dimension: 4
space: left-posterior-superior
sizes: 256 256 120 20
space directions: (1.7578100000000001,0,0) (0,1.7578100000000001,0) (0,0,1.7999999999999972) none
kinds: domain domain domain time
endian: little
encoding: gzip
space origin: (-215.285,-214.73699999999999,105.34099999999999)
Additionally, I took the original 3D MRI Dicom data, loaded it into Slicer and saved ist as .nrrd to check on the header which looks like this:
NRRD0004
# Complete NRRD file format specification at:
# http://teem.sourceforge.net/nrrd/format.html
type: unsigned short
dimension: 3
space: left-posterior-superior
sizes: 256 256 120
space directions: (1.7578099999999999,0,0) (0,1.7578099999999999,0) (0,0,1.7999999999999996)
kinds: domain domain domain
endian: little
encoding: gzip
space origin: (-215.285,-214.73699999999999,105.34099999999998)
For me (as a Slicer/nrrd beginner) the header that was generated for the 4D dataset looks reasonable.
Might there be any other issue with the header or data?
An additional information: using other tools like e.g. Matlab I was able to read the data, so that I can assume that the dataset is not corrupt.
I would be happy about any hints, thanks in advance.