The rawavg.mgz and brain.mgz are of different sizes. You'll need to transfer one to the other. You can do this with mri_vol2vol using brain as the mov and rawavg as the target and --regheader.

doug

On 2/21/11 11:49 AM, Gabriel Go.Es. wrote:
Hello Freesurfers,
 
I'm trying to mask the rawavg.mgz from some subjects with  the brain.mgz after doing some manual segmentation corrections by using mri_mask command, I have donne it before and it always works but with this subject, the command line is excacly the same so I have no idea what could be wrong:
 
mri_mask rawavg.mgz brain.mgz outbrain.mgz
 
ERROR: dimension mismatch between source and mask.

 Can any one help me with this?
 
Bests,
Gabriel


_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer