That looks like it is the qform matrix in the nifti fileHi there,
How is the rightmost column in `mri_convert -c` calculated?
I have the following fslhd (relevant fields shown only) in a NIFTI image:
```dim1 208dim2 300dim3 320qto_xyz:1 0.799690 0.022176 0.001352 -86.687996
qto_xyz:2 -0.021442 0.783122 -0.162051 -62.728546qto_xyz:3 -0.005816 0.161952 0.783414 -174.620270qto_xyz:4 0.000000 0.000000 0.000000 1.000000```
Not necessarily. That matrix still converts from col-row-slice to scanner RAS (or whaterver the qform space is)
After `mri_convert -c`, mri_convert reports the following (relevant fields shown only) in the MGZ image:
```voxel to ras transform:-1.0000 -0.0000 0.0000 128.0225-0.0000 0.0000 1.0000 -101.41840.0000 -1.0000 -0.0000 102.41400.0000 0.0000 0.0000 1.0000```
Shouldn't the right-most column be:The numbers are (256+1)/2=128.5128.5-128.5128.51
Best,
Tashrif
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer