Print

Print


Dear Expert,

I have four T1 images in a directory. I am trying to use "for" function to
reorient all images at once. But I am getting the following out put, and
images were not reoriented. I think there is some mistake in the command
line. Please correct the mistake.

$ ls *.nii
grp203_t1.nii  grp205_t1.nii  grp208_t1.nii  grp209_t1.nii

$ for fn in *.nii; do fslreorient2std $fn ; done

0.000000 0.000000 -1.000000 173.999741
-1.000000 0.000000 0.000000 255.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 1.000000

0.000000 0.000000 -1.000000 174.001144
-1.000000 0.000000 0.000000 255.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 1.000000

0.000000 0.000000 -1.000000 174.000748
-1.000000 0.000000 0.000000 255.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 1.000000

0.000000 0.000000 -1.000000 173.998596
-1.000000 0.000000 0.000000 255.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 1.000000

And It is reoriented when I did separately. After reorientation the size of
the image doubles (22.9 mb to 45.9 mb). Why there is increase in the size
of the image after reorientation?

Thanks in advance
RB