External Email - Use Caution
Hi FreeSurfer Experts, I have successfully run mri_super_synth and obtained the following outputs: mni_deformation.mgz, mni_affine.txt, and segmentation.mgz. I am now trying to warp the segmentation to MNI space. I converted the .txt affine matrix to .lta format, but when I run mri_vol2vol, the output is not in the correct mni space: mri_vol2vol --mov ribbon.mgz \ --targ $FSLDIR/data/standard/MNI152_T1_1mm.nii.gz \ --m3z /path/to/mni_deformation.mgz \ --lta ./mni_affine.lta \ --o seg_mni.nii.gz \ --interp trilinear \ --noDefM3zPath
Thanks, Maurilio Genovese
Dear Maurilio The transform goes from MNI to subject space, and is not easily invertible (well, the affine part is!). You can apply linear transforms with eg mri_convert as: mri_convert moving.mgz output.mgz -rl reference.mgz -at linear_transform.lta Or, -ait instead of -at to apply the inverse (linear) transform. Cheers, /Eugenio
-- Juan Eugenio Iglesias http://www.jeiglesias.com From: Maurilio Genovese mauriliogenovese@gmail.com Date: Tuesday, May 12, 2026 at 2:03 AM To: freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Move mri_super_synth output in MNI space
External Email - Use Caution Hi FreeSurfer Experts, I have successfully run mri_super_synth and obtained the following outputs: mni_deformation.mgz, mni_affine.txt, and segmentation.mgz. I am now trying to warp the segmentation to MNI space. I converted the .txt affine matrix to .lta format, but when I run mri_vol2vol, the output is not in the correct mni space: mri_vol2vol --mov ribbon.mgz \ --targ $FSLDIR/data/standard/MNI152_T1_1mm.nii.gz \ --m3z /path/to/mni_deformation.mgz \ --lta ./mni_affine.lta \ --o seg_mni.nii.gz \ --interp trilinear \ --noDefM3zPath
Thanks, Maurilio Genovese
External Email - Use Caution
Thank you for your answer. As I can see, the output files are already in the subject space (except for 1x1x1 resampling). Which is the purpose of the mni to subject warp included in the output folder? Is it just a substep of the analysis?
Maurilio
Il mar 12 mag 2026, 19:12 Iglesias Gonzalez, Juan E. < JIGLESIASGONZALEZ@mgh.harvard.edu> ha scritto:
Dear Maurilio The transform goes from MNI to subject space, and is not easily invertible (well, the affine part is!). You can apply linear transforms with eg mri_convert as: mri_convert moving.mgz output.mgz -rl reference.mgz -at linear_transform.lta Or, -ait instead of -at to apply the inverse (linear) transform. Cheers, /Eugenio
-- Juan Eugenio Iglesias http://secure-web.cisco.com/1jz9ES4xdbdGk2QEikXmEC4kM2NkUg2MvRl7-dO5hwdRwUt2... *From: *Maurilio Genovese mauriliogenovese@gmail.com *Date: *Tuesday, May 12, 2026 at 2:03 AM *To: *freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu *Subject: *[Freesurfer] Move mri_super_synth output in MNI space
External Email - Use Caution *Hi FreeSurfer Experts, I have successfully run mri_super_synth and obtained the following outputs: mni_deformation.mgz, mni_affine.txt, and segmentation.mgz. I am now trying to warp the segmentation to MNI space. I converted the .txt affine matrix to .lta format, but when I run mri_vol2vol, the output is not in the correct mni space: mri_vol2vol --mov ribbon.mgz \ --targ $FSLDIR/data/standard/MNI152_T1_1mm.nii.gz \ --m3z /path/to/mni_deformation.mgz \ --lta ./mni_affine.lta \ --o seg_mni.nii.gz \ --interp trilinear \ --noDefM3zPath
Thanks, Maurilio Genovese
Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu To unsubscribe send an email to freesurfer-leave@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1r5iRA7-6A_3Yi6XedWuDiyffdgMT_QA6TIZoHtHjpkMBCP... 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/12naPHAW4MMBIfD75G4lFPdTt6m58HmVScQ4g09Lo-bCt8k... < https://secure-web.cisco.com/12naPHAW4MMBIfD75G4lFPdTt6m58HmVScQ4g09Lo-bCt8k... .
Warping any priors in atlas space to subject space 😉
-- Juan Eugenio Iglesias http://www.jeiglesias.com From: Maurilio Genovese mauriliogenovese@gmail.com Date: Tuesday, May 12, 2026 at 1:42 PM To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] Re: Move mri_super_synth output in MNI space
External Email - Use Caution Thank you for your answer. As I can see, the output files are already in the subject space (except for 1x1x1 resampling). Which is the purpose of the mni to subject warp included in the output folder? Is it just a substep of the analysis?
Maurilio
Il mar 12 mag 2026, 19:12 Iglesias Gonzalez, Juan E. <JIGLESIASGONZALEZ@mgh.harvard.edumailto:JIGLESIASGONZALEZ@mgh.harvard.edu> ha scritto: Dear Maurilio The transform goes from MNI to subject space, and is not easily invertible (well, the affine part is!). You can apply linear transforms with eg mri_convert as: mri_convert moving.mgz output.mgz -rl reference.mgz -at linear_transform.lta Or, -ait instead of -at to apply the inverse (linear) transform. Cheers, /Eugenio
-- Juan Eugenio Iglesias http://www.jeiglesias.comhttp://secure-web.cisco.com/1jz9ES4xdbdGk2QEikXmEC4kM2NkUg2MvRl7-dO5hwdRwUt2sVwb72WKgHs60NA4ko8pSqrqnctGyVK9RGG5fHd7ZD72vSmXoiq68HizosreioshfvpIdzrqw1cEBfAVtY9t1a41XZV5J6m_llEcJezqi6nnT9hSg_mYrMet38EG-oIIRgQW7ItXtHHT-VIIZqYNioGtG8ExzBnvzqhrQRc7wcF2Ll8fuqhVTkmxxEbZbLY3G1F9VjIsulmsHoEuei7OyQEWRN541Eoel9P_Vyj9Dil2UfbtXBQWGoP-9mUUDmCJaFk17VYixmYrve5HH/http%3A%2F%2Fwww.jeiglesias.com From: Maurilio Genovese <mauriliogenovese@gmail.commailto:mauriliogenovese@gmail.com> Date: Tuesday, May 12, 2026 at 2:03 AM To: freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Subject: [Freesurfer] Move mri_super_synth output in MNI space
External Email - Use Caution Hi FreeSurfer Experts, I have successfully run mri_super_synth and obtained the following outputs: mni_deformation.mgz, mni_affine.txt, and segmentation.mgz. I am now trying to warp the segmentation to MNI space. I converted the .txt affine matrix to .lta format, but when I run mri_vol2vol, the output is not in the correct mni space: mri_vol2vol --mov ribbon.mgz \ --targ $FSLDIR/data/standard/MNI152_T1_1mm.nii.gz \ --m3z /path/to/mni_deformation.mgz \ --lta ./mni_affine.lta \ --o seg_mni.nii.gz \ --interp trilinear \ --noDefM3zPath
Thanks, Maurilio Genovese
_______________________________________________ Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu To unsubscribe send an email to freesurfer-leave@nmr.mgh.harvard.edumailto:freesurfer-leave@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.e...https://secure-web.cisco.com/1r5iRA7-6A_3Yi6XedWuDiyffdgMT_QA6TIZoHtHjpkMBCPlHq6e-oc9S9BmOoMsoemmxRZFCh7byUyir13D-YHHScwrLiHZOTA7qvUIii8leeElSxmgV0JrpfPCS2EDtnOrpLlb1Zi3mhcwZjbsswppom7RnsjCZ2ADZJ6EhylwASxNvHyr36d8Rp0260QcpIqiGmIPwgiZTS182AJ1JQ2yrGw5B04U13oW3X4wf72QBreIVU3LpgnR8Vg116O9Nz-xI-al4hAAdGoggSvf00LjHx883dDgx_YwP2HgkhfYjPDjYS0Ubt4G89Q2IoDiE/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman3%2Flists%2Ffreesurfer%40nmr.mgh.harvard.edu%2F 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/compliancelinehttps://secure-web.cisco.com/12naPHAW4MMBIfD75G4lFPdTt6m58HmVScQ4g09Lo-bCt8kOwTZpxpyliyix0pxRwyyAJPh7jqCmCFNsq0dq33OfLII2WA33HnmloECp1Xef7k20Mr_IAkwwJOZj6PFW1QKU9rZ_KWK0tNTGg7PQYur9cxt0_rmJsauLFenLrGivv0H_nxbcJ3dxka4rXUrgxe549KwasYyS_hMkcxJ0ix7UcUclAQd4-XGMzK3YbLzZwRpQoNDT16OHusN8Pv3_t2ylnw9rszZZ3w33Emhzsra0qTPgcHWz9c2gut2yg-sPx__ev6E27HcSvfPpohuVA/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline <https://www.massgeneralbrigham.org/compliancelinehttps://secure-web.cisco.com/12naPHAW4MMBIfD75G4lFPdTt6m58HmVScQ4g09Lo-bCt8kOwTZpxpyliyix0pxRwyyAJPh7jqCmCFNsq0dq33OfLII2WA33HnmloECp1Xef7k20Mr_IAkwwJOZj6PFW1QKU9rZ_KWK0tNTGg7PQYur9cxt0_rmJsauLFenLrGivv0H_nxbcJ3dxka4rXUrgxe549KwasYyS_hMkcxJ0ix7UcUclAQd4-XGMzK3YbLzZwRpQoNDT16OHusN8Pv3_t2ylnw9rszZZ3w33Emhzsra0qTPgcHWz9c2gut2yg-sPx__ev6E27HcSvfPpohuVA/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
freesurfer@nmr.mgh.harvard.edu