For 3D nifti files slicer relies on ITK’s reader, which is pretty well tested and works on most files I have seen. But people do use the nifti format in a lot of ways so it’s possible that are “valid” in one program may not load the same in another program.
The affine matrix in Nifti defines the transform between voxel coordinate system (IJK) and the RAS anatomical coordinate system. Regardless of the matrix content, the target coordinate system is always RAS (never RSA, etc.). Axis directions of the IJK coordinate system may happen to coincide with some anatomical axis directions, but it does not have any consequence - the image acquisition system is free to choose any coordinate system as IJK coordinate system, it just has to set the voxel values in the image accordingly.
This matrix has a determinant of <0, which means that the voxel coordinate system is a left-handed coordinate system. This is probably permitted, but unusual. What software generated this image?
Actually, I think there’s something strange in the file itself. Opening it with Slicer gives the wrong orientation. The axial and coronal views are exchanged.
Having noticed this, I opened the nifti file in python to inspect the affine matrix and I found this strange matrix. I tried to change manually the affine matrix of the file to a diagonal one and loading it back in slicer, but nothing changed.
So I thought that maybe the original affine matrix was right, but slicer couldn’t read it.
I don’t know what kind of software generated this. I tried to open the original dicom with slicer and the orientation is again wrong. I don’t know what’s happening here…
Then it is quite likely that there is something wrong with that DICOM data set. Where is that DICOM image from? Can you share it (upload somewhere and post the link here)?