If you have 2 volumes that share an RAS coordinate system but have different voxel geometry you can use the -rl ("reslice like") option:
mri_convert -rl template.mgz vol_to_convert.nii vol_like_template.mgz
cheers Bruce
From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu On Behalf Of Zeng, Victor (BIDMC - Keshavan - Psychiatry) Sent: Thursday, May 5, 2022 4:09 AM To: freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Reversing mri_convert
External Email - Use Caution Hi,
I convert orig.mgz -> T1.nii using mri_convert orig.mgz T1.nii
I now have something registered to the T1.nii and would like to move it back to Freesurfer space. How would you go about doing that? I am assuming I would do the inverse of the mri_convert, but I can't seem to find the option to write the matrix.
Victor Zeng Beth Israel Deaconess Medical Center Keshavan Lab --