Dear FreeSurfer experts, when I run e.g.:
mri_nu_correct.mni --i orig.mgz --mask brainmask.mgz --o nu.mgz --n 1 --proto-iters 1000 --uchar transforms/talairach.xfm —cm where orig.mgz and brainmask.mgz have 577 x 577 x 577 voxels, there is an error: $Id: mri_segstats.c,v 1.109 2014/10/17 19:31:46 greve Exp $ cwd cmdline mri_segstats --id 1 --seg ./tmp.mri_nu_correct.mni.15003/ones.mgz --i orig.mgz --sum ./tmp.mri_nu_correct.mni.15003/sum.junk --avgwf ./tmp.mri_nu_correct.mni.15003/input.mean.dat sysname Linux hostname shuki machine x86_64 user nzaretsk UseRobust 0 Loading ./tmp.mri_nu_correct.mni.15003/ones.mgz Loading orig.mgz ERROR: dimension mismatch between input volume and seg input 577 577 577 seg 578 578 578 I have checkt and it appears that mri_convert orig.mgz orig_out.mgz -cm results in orig_out.mgz having one voxel more, e.g. 578 x 578 x 578, instead of 577 x 577 x 577 This does not happen when one omits the “-cm" flag, or when the input volume is 578 x 578 x 578. Is this a bug, or do the image dimensions have to be even for some reason? Thanks! Natalia _______________________________________________ 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 Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.