My problem is I need to change the dimension of the image .Now it is 39*305*305. ie number of slices 39. So i need to change the dimension as 305*305*39.
I do X and Y rotation using
M=[0 1 0;1 0 0;0 0 1]
nii_reorient(“Sub.nii”,M) //SPM script
then I do Y and Z rotation using
M=[1 0 0;0 0 1;0 1 0]
nii_reorient(“Sub.nii”,M)
Now dimension is changed to 305X305x39 .but when I viewed this from MRIcron, axial one becomes sagittal. Please help me
fsl5.0-fslorient Sub1.nii gives
NEUROLOGICAL
fsl5.0-fslinfo Sub1.nii gives
data_type INT16
dim1 39
dim2 305
dim3 305
dim4 0
datatype 4
pixdim1 2.000000
pixdim2 1.250000
pixdim3 1.250000
pixdim4 0.000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|