It is probably changing the data type from short to float. Try adding -odt short --no_scale 1
You can also look at the data type with
mri_info --type file.nii
On 10/1/15 10:52 AM, Shaun Patel wrote:
I noticed after running slice-time correction with SPM, the resulting Nifti files do not have TR information in the header. This breaks the Freesurfer pipeline. To get around this, I attempted to use the mir_convert function with the “tr” flag to set the TR. However, in doing so, I noticed that the resulting nifti file doubles in size. I used the following command: mri_convert f.nii f.nii -tr 2000, to set the TR to 2s. Any suggestions as to what is happening to the file size and how to prevent it?
Many Thanks,
Shaun
-- Shaun Patel, Ph.D. Research Fellow Department of Neurosurgery Massachusetts General Hospital Harvard Medical School e. shaun.patel@me.com w. http://shaunpatel.com c. 317.340.7260
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu