Use mri_coreg --mat2par file.lta



On 9/29/2024 5:48 AM, noga.kertes@campus.technion.ac.il wrote:

        External Email - Use Caution        

Hello FreeSurfer Developers,
I am using mri_robust_register to register a moving volume to a fixed one. The algorithm outputs the rigid transformation in a .lta file. I need to extract the rigid parameters (3 rotation angles in degrees and 3 translation parameters in millimeters).
However, the transformation in the file doesn't seem right, as the translation parameters appear to be very large (I assume the values in the last column of the transformation are in millimeters). The moved image doesn’t seem to translate by more than a few millimeters.
Is there a command for converting the .lta file into rotation and translation parameters? If not, could you provide more information on how to manually convert it using the transformation in the .lta file?
Freesurfer version: freesurfer-linux-centos7_x86_64-7.4.1-20230613-7eb8460

Thank you,
Noga


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer