The way the reg is set up, the targ is your mask. Try this cmd: mri_vol2vol --targ lh_entorhinal.nii.gz --mov MNI152_T1_2mm.brain.nii.gz --o lh_entorhinal_MNI.nii.gz --reg $FREESURFER_HOME/average/mni152.register.dat --inv
doug
Linda Douw wrote:
Hi all,
I am trying to transform some labels from the aparc to masks in MNI space. Ideally, I would like to do this for each subject in my study individually (using their own rawavg.mgz and labels), but for now I started out with fsaverage. I first converted the label file into a nifti:
mri_label2vol --label ./fsaverage/label/lh.entorhinal.label --subject fsaverage --temp ./fsaverage/mri/brainmask.mgz --o lh_entorhinal.nii.gz --identity
And then put the nifti file containing the label into MNI space:
mri_vol2vol --mov lh_entorhinal.nii.gz --targ MNI152_T1_2mm.brain.nii.gz --o lh_entorhinal_MNI.nii.gz --reg $FREESURFER_HOME/average/mni152.register.dat
But when I open lh_entorhinal_MNI.nii.gz with fslview, the location is completely wrong. I checked the location with tkregister as well:
tkregister2 --mov lh_entorhinal_MNI.nii.gz --reg /$FREESURFER_HOME/average/mni152.register.dat
But here the entorhinal was also in the wrong place.
Do you know how to fix this?
Thanks,