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-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@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
--
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to