I tried the following process to do this:
1) Registered the structural image to orig.mgz using:
bbregister --mov t1spgr.nii --s subject --t1 --init-fsl --reg register.dat
2) Applied the register.dat created by above process to the binary mask to transform it into the orig.mgz space using:
mri_vol2vol --reg register.dat --mov gabarightxyz_mask.nii --fstarg --o gabarightmask.mgh --interp nearest
(When I overlay this mask on orig.mgz using freeview they appear in the correct position.)
3) I then converted the volume to surface space using mri_vol2surf.
mri_vol2surf --src gabarightmask.mgh --out gabarightsurf.nii --srcreg myregister.dat --hemi rh
However the size of this mask created by mri_vol2surf process is (145236 vertices) different from the size of beta.nii (163842 vertices) that is created using selxavg. Is one of the above steps wrong? How to resolve this discrepancy?
Best,
Pia