Operating system: Windows 10
Slicer version: 4.8.1
Hi,
I am attempting to convert a Nrrd file (.nrrd) to a Nifti file (.nii.gz).
I am aware of the DWIConvert module but I couldn’t understand how to get that to work as the U/I was confusing.
One could run this module from the Python interactor as well but I struggled with the syntax of this instruction and could find no apparent documentation.
So I tried this snippet of Python code (with the appropriate adjustments) and it seemed to work:
However, upon loading the newly created Nifti file in Slicer, the images are of the incorrect type.
That is to say, I get the Sagittal slice loaded in the Axial slice view and other such mishaps.
In addition, my Sagittal slice has been rotated by 180.
Nrrd File:
Results of Conversion (Niftii File):
I would appreciate any insight into this matter.
Thanks.