External Email - Use Caution
You could try affine first and initialize the deformable registration with that. Something like:
mri_synthmorph -m affine fa.nii.gz template.nii.gz -t affine.txt mri_synthmorph -m deform -i affine.txt fa.nii.gz template.nii.gz -o fa_in_MNI.nii.gz
Alternatively, assuming your T1 is aligned with the FA map, you can run the above on the T1, save the warp with `-t warp.nii.gz` in the second call, and apply it to the FA map:
mri_warp_convert -g t1.nii.gz --inras warp.nii.gz --outm3z warp.m3z mri_convert -at warp.m3z fa.nii.gz fa_in_MNI.nii.gz
________________________________________ From: John Anderson jb19790001@gmail.com Sent: Friday, September 1, 2023 13:43 To: Freesurfer support list; Hoffmann, Malte,PhD Subject: Re: [Freesurfer] mri_synthmorph
External Email - Use Caution
Dear Malte Thank you so much. I've tried both rigid and affine transformations, and I've attached a snapshot that shows how the CC doesn't fully overlap with the template. I'm using a high-quality DTI image and am wondering if incorporating a T1 image would help improve the registration. I'm not sure how to apply a two-step registration, if that's even possible, using mri_synthmorph. Thanks for your guidance.
Best, John
On Fri, Sep 1, 2023 at 1:27 PM Hoffmann, Malte,PhD <MHOFFMANN@mgh.harvard.edumailto:MHOFFMANN@mgh.harvard.edu> wrote: External Email - Use Caution
Hi John,
Currently, the default transformation model is "deform". Could you check if "affine" yields a better result?
mri_synthmorph -m affine fa.nii.gz template.nii.gz -o fa_in_MNI.nii.gz
Cheers, Malte
________________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of John Anderson <jb19790001@gmail.commailto:jb19790001@gmail.com> Sent: Friday, September 1, 2023 12:45 To: Freesurfer support list Subject: [Freesurfer] mri_synthmorph
External Email - Use Caution
Dear Freesurfer experts, I processed DTI data using dt_recon, and I want to register FA images to the standard MNI152 space. However, after running the command mri_synthmorph fa.nii.gz template.nii.gz -o fa_in_MNI.nii.gz,
the registration is not accurate. I'm not sure what I've done wrong. Thank you for any guidance.
sincerely J
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1EvPiZNOxdAH6hLxnbZlwQDryR0_o8GtgFOR2IAocG5U15k...https://secure-web.cisco.com/12zpNfGU-2pSTZTCrYb9xzCxn_hUyT2mJ4udMQ9tpIC2-GkAHFABErHI72IKTYeSJ_e22HTEik6iGqeDwECkXwaVuUXtWkY6XdETvXLXirzkh8O1y62AXpDge2J2wQ6mdjNxPcsXkS4RdrGBcJqa6AYscv77wagXkT0hHKTTM4lMHR3zK6FYIiddBEAQoeDJW0ZDRkG7YegnW3bnIjAStaTnY8gMe7FZ8X0_2cOJQ7ZmgZ3LdHL6R-vMiI9bf70RMecy7II0HWDW9K4mYhuus5dYcvBbHCZxHxwo-KIQUSx9Scbfb08Jiy9hkWr2puCzM/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer 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://secure-web.cisco.com/16gUefYCYNgkJJ3YczbpTT-HfOwtdb2Yi7sGeNB_bKDlCPU...https://secure-web.cisco.com/1wjA4u0uMJIQrOtewVWtyRpDRRH3s3yRtNrHEzMY6OZB07_R3QKgdzCN_tvGKe7bn8Y5SJnxQxC3arDGDH_b5HMFbi1CjgCzgAbxLw2EjECNMosaNsi5orcm_agoy8bale9P5SE_rVcXuKFbrX-KqbtKKqvw-ly0_vjBxxdgbMeqwpzrzwyoDu5h903LlJ4gdI2aqjZj06cI7zx7w9lfLHhSxdd6Zo0200LaNN9IdX0Pdsi86nEiAJ-ASMETjHjIJtaiGV0GbBXdliLjo1uq3evTFll8pco18VyHaxT7jtuvWdmNFNTyumY3hUa-Fh2Og/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline <https://secure-web.cisco.com/16gUefYCYNgkJJ3YczbpTT-HfOwtdb2Yi7sGeNB_bKDlCPU...https://secure-web.cisco.com/1wjA4u0uMJIQrOtewVWtyRpDRRH3s3yRtNrHEzMY6OZB07_R3QKgdzCN_tvGKe7bn8Y5SJnxQxC3arDGDH_b5HMFbi1CjgCzgAbxLw2EjECNMosaNsi5orcm_agoy8bale9P5SE_rVcXuKFbrX-KqbtKKqvw-ly0_vjBxxdgbMeqwpzrzwyoDu5h903LlJ4gdI2aqjZj06cI7zx7w9lfLHhSxdd6Zo0200LaNN9IdX0Pdsi86nEiAJ-ASMETjHjIJtaiGV0GbBXdliLjo1uq3evTFll8pco18VyHaxT7jtuvWdmNFNTyumY3hUa-Fh2Og/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .