External Email - Use Caution
what is roi_in_MNI152.mgz? If that is an binary ROI mask, then that will
certainly fail. Try something like
mri_coreg --mov orig.mgz --dof 12 --reg reg.mni152.lta --targ
mni152-template.nii.gz
where mni152 template is an intensity volume in voxel-for-voxel
registration with your roi volume, then
mri_vol2vol --interp nearest --mov orig.mgz --targ roi_in_MNI152.mgz
--reg reg.mni152.lta --inv
On 5/18/2023 5:33 PM, Carlos Alcocer wrote:
External Email - Use Caution
Hi,
I am trying to transform a volumetric ROI from MNI152 space to native
space. I am doing this in 2 steps. First (1) I am creating a
registration file using bb register to create a registration file and
then (2) I am using mri_vol2vol to transform volume onto my subject
using the registration file I created in step 1.
1. bbregister --s subjid --mov roi_in_MNI152.mgz --t1 --reg register.dat
2. mri_vol2vol --targ subjid/mri/T1.mgz --mov roi_in_MNI152.mgz --reg
register.dat --o roi_in_native.mgz
However, the transformed volume is not anatomically positioned where
it is supposed to be. Is there an error in my method?
Thank you,
Carlos
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1v-5FSl28N97gfQJmb76MW_BEQn-ww2yd6bLTVcyKd770Ln0gfH0Qpzi2CtA9AlBS2kElKMrtSmYyW60XsX8CRQrJrQfTgKQct3xG33HGFuM42ZZdpB_LknVHivbW_-L5j-0vD71MpWBW3LFYs3uEIAuAUv55tz-w80QxowHKSdz7CCersfS5N_7ZwW3PtRpH-XXMz9MdkBWFJ_XlbHaqOGqHJkIVL7WT33i6uNiKABfWoVUT4ol5IdMyfAip1c6eUMrLJYQJJp_4J1hGisLgvg/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.