External Email - Use Caution That worked, thanks Doug.
From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Douglas N. Greve Sent: Monday, 17 October 2022 8:15 AM To: freesurfer@nmr.mgh.harvard.edu Subject: [EXTERNAL]Re: [Freesurfer] mris_transform with flirt transformation wrong result CAUTION: External Email. Please be cautious with attachments and clicking links Not sure about mris_transform, but you can use mris_applyreg --lta source-surf ltafile output-surf You will have to convert your flirt reg to lta (lta_convert --infsl flirt.mtx --outlta flirt.lta --src flirtinput.nii --trg flirtoutput.nii) On 10/13/2022 9:40 PM, Chris Adamson wrote: External Email - Use Caution Freesurfer experts, I’m trying to put some subject surfaces into a template space. I have performed the following flirt registration per subject: flirt -in $SUBJECTS_DIR/$CURSUBJECT/mri/T2.nii.gz -ref template0.nii.gz -omat $SUBJECTS_DIR/$CURSUBJECT/mri/transforms/talairach.fslmat -out $SUBJECTS_DIR/$CURSUBJECT/mri/transforms/talairach.nii.gz -dof 12 -searchrx -$D $D -searchry -$D $D -searchrz -$D $D Then apply the flirt transform mris_transform --trx-src $SUBJECTS_DIR/$CURSUBJECT/mri/T2.nii.gz --trx-dst template0.nii.gz $SUBJECTS_DIR/$CURSUBJECT/surf/${CURHEMI}.${CURSURFTYPE} $SUBJECTS_DIR/$CURSUBJECT/mri/transforms/talairach.fslmat $SUBJECTS_DIR/$CURSUBJECT/surf/${CURHEMI}.${CURSURFTYPE}.flirt When I overlay the output surface $SUBJECTS_DIR/$CURSUBJECT/surf/${CURHEMI}.${CURSURFTYPE}.flirt over the template template0.nii.gz the surface is in the wrong orientation and in the wrong position, i.e. not correct. I have tried using lta_convert to make a lta transform and I get the same result. Any thoughts? Thanks, Chris. Dr Chris Adamson Senior Research Officer, Developmental Imaging, Clinical Sciences (0.3 EFT) Software Engineer, Cardiovascular Research (0.7 EFT) Murdoch Childrens Research Institute The Royal Children’s Hospital Flemington Road, Parkville, VIC 3052 Australia E chris.adam...@mcri.edu.au<mailto:chris.adam...@mcri.edu.au> MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://secure-web.cisco.com/1Ibqu8R4lNWjbfjXCtTMk7_O1lQVz9GcPED4GYqChN9GQliQvcoqkWn9UmK1ivCIFn1GlTdleCh8o93RSfSuAlCIn32IaQz8LKWQhSh2xU_VGBOjjyl1YLFTeE1uLOOtva0kdg9-mmrnKmiX8IuWemTsLN590jgVOTkjehHckOTPd1ev80vUlT2urgDI8bmgp8Yyrxn38qJltQl1wA1UA9HImByQOqGAfZj-Mb6h9psVu8Caf1RZnM2fre20Zx_VtORDyYQ8EyStuqW6hjHnXsfmqUDs5tMEzIGNCOg_dSBalo7Gq16zUpJ9LyIixWkUlbMORpEqDQyeg3KSveqyXRw/http%3A%2F%2Fwww.mcri.edu.au<http://secure-web.cisco.com/1qlMpfQw8j0R3pB1zfzODqkjLHdA5pw_AMVxM9hBQD5XAjotYaYlBjvNart-72HT-nZEh4HtAifeIM2EY_ix0toYDRYtfgA6aZu-lqQ5tCuS2nLzashJLDRy50deJ1HU5B95y7d3IHpE9AXSwoRI4BW01VowAhSX44tk0hlM8aWqA-1w9M9ZXcaH6eIuXajZx3cflhbcHnDII36hPwg45W8ICUSxoc2q1TYIkkEEk9zM9aZyaHr6gTcTn60QBBeylfffgqfZdmRKHEnKu092LobeQjFRWHbfBjOsO-vMgKH5LSkvSb1gMooHK_NaT-6nJWutvBdpJaCtXZYFcJjNP6w/http%3A%2F%2Fwww.mcri.edu.au%2F> This e-mail and any attachments to it (the "Communication") are, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Murdoch Children’s Research Institute (MCRI) ABN 21 006 566 972 or any of its related entities. MCRI does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu> https://secure-web.cisco.com/1LuhQ7CjTe9JREYT7wy-p2i_2uV_lFp41LmZtPmoAvsecDUE9yN5jiT2w_DlU3cnRlhtCY89imp4c4LrE3VReRRY_jsOFtw3rB0SpsBpWJfc3XdA3hzykEQ8hyW1BbK_g1xkOCHnE8IsnscU2YPjpWeQdyowJmUtg2fVmUH7eYJe2-mKRbkW6ysaylIFyE41Eios9xp9aGlMF28a5FmSJ_MQZeVwhvQBWqymoI63uS_yrYJ5TdDaFkyutCHZerZD49mZD2EwAFxJCRDD147nlkPrcUKErhpeYZ-Uhmnns0-euQoiAM7Y9_imtlx9V2HH313LlCgI_gH87GLVn1HuUSQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer<https://secure-web.cisco.com/1LuhQ7CjTe9JREYT7wy-p2i_2uV_lFp41LmZtPmoAvsecDUE9yN5jiT2w_DlU3cnRlhtCY89imp4c4LrE3VReRRY_jsOFtw3rB0SpsBpWJfc3XdA3hzykEQ8hyW1BbK_g1xkOCHnE8IsnscU2YPjpWeQdyowJmUtg2fVmUH7eYJe2-mKRbkW6ysaylIFyE41Eios9xp9aGlMF28a5FmSJ_MQZeVwhvQBWqymoI63uS_yrYJ5TdDaFkyutCHZerZD49mZD2EwAFxJCRDD147nlkPrcUKErhpeYZ-Uhmnns0-euQoiAM7Y9_imtlx9V2HH313LlCgI_gH87GLVn1HuUSQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>
_______________________________________________ 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.