Yes, 3 translation, then 3 rotation, then 3 scale, then 3 shear
The translations depend upon the coordinate system, so they are kind of arbitrary; they are simply the last column of the matrix in the LTA


On 10/1/2024 4:19 AM, noga.ker...@campus.technion.ac.il wrote:

        External Email - Use Caution

Thanks you for the help!

I ran this command and got the following output:

-14.7814 8.24088 7.81518 0.998388 4.87218 3.29326 1 1 1 0 -7.45058e-09 -5.58794e-09

What does each number represent?

Are the first three numbers representing translations? If so, and if they are supposed to be in millimeters, the values seem excessively high, even though the actual translation appears to be much smaller. However, when inspecting the resulting image, the registration seems to have been successful. Do you have any thoughts on why it could happen?

Thanks again,
Noga

------------------------------------------------------------------------
*From:* freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve <dgr...@mgh.harvard.edu>
*Sent:* Monday, September 30, 2024 17:02
*To:* freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
*Subject:* Re: [Freesurfer] FreeSurfer - extract rigid parameters from .lta file

        
You don't often get email from dgr...@mgh.harvard.edu. Learn why this is important <https://secure-web.cisco.com/1J52q-H-8YrKgC4MraUgYbyuk_pNsWLH07KCbcf3dtM-x3p520Qelg4fp_XtTrwwP1_Nkk5Ng48PHTyQgsTwUAhAQ4KSbZCYA2Ak87E2XmSbexQ0PWMPqwNyg2nfPQp_TUdzQe0pPuiWNKavrhaw4RTqnwHivdA-EJyyWTpm9Yp1LXREJIapPsWZJb2SR1tTn10owApXUmE_IDUvPQmdZJja4VUZWn-uCSp8WJJJaaneypk8Asjq2058Ka2v_2TamSqV6eXhMsPjpDfaXeLz3f0s_FmuM1vG2WMoytdTpH_3U_Srukm7fOwPmNBkoOhOSVZ3IvrK4y-J2casDB9R6RQ/https%3A%2F%2Faka.ms%2FLearnAboutSenderIdentification>
        

Use mri_coreg --mat2par file.lta



On 9/29/2024 5:48 AM, noga.ker...@campus.technion.ac.il <mailto:noga.ker...@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 <mailto:Freesurfer@nmr.mgh.harvard.edu>
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer <https://secure-web.cisco.com/1lfOnGw3bS5KKsNK7mij82i0jPgeP7SF1g4EuAwrh-E4cPUGPwWkSs9BizXjDt7j12EsnbKYtgR21dsYWjVfGkDvoKt5eEjC_X_EMj3oZXdZth26Dh407tccKkIQCr7zoqUlF8fpRr0_dKowitDga-v0U35BOYd8XxkPw2dQF3pTAuDLZvujCZo1CJBRP-tTAfZOgZXpMSCPei7_r-5HRJ_mb-sENUduMge6rmeKO1i88EtRqG8L5owrJo7n9REzl4zHIpulm8-sALuI9WhqB0EJWuVg_1Sq9l57N4EG9gjTWz2cMeootLqQ-71MogkMKE-yFcMLz7k7iecpxBc2KZA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>

*External e-mail, be judicious when opening attachments or links *


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
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