Looks like it is because one of the files has multiple frames. mri_info first file:
Volume information for wm.reg.pet.mgz type: MGH dimensions: 256 x 256 x 256 x 6 voxel sizes: 1.0000, 1.0000, 1.0000 type: FLOAT (3) fov: 256.000 dof: 0 xstart: -128.0, xend: 128.0 ystart: -128.0, yend: 128.0 zstart: -128.0, zend: 128.0 TR: 0.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degrees nframes: 6 PhEncDir: UNKNOWN ras xform present xform info: x_r = -1.0000, y_r = 0.0000, z_r = 0.0000, c_r = -4.7658 : x_a = 0.0000, y_a = 0.0000, z_a = 1.0000, c_a = 75.9533 : x_s = 0.0000, y_s = -1.0000, z_s = 0.0000, c_s = 4.7458 talairach xfm : /home/icsapo/proc/bu/013_S_0860/mri/transforms/talairach.xfm Orientation : LIA Primary Slice Direction: coronal voxel to ras transform: -1.0000 0.0000 0.0000 123.2342 0.0000 0.0000 1.0000 -52.0467 0.0000 -1.0000 0.0000 132.7458 0.0000 0.0000 0.0000 1.0000 voxel-to-ras determinant -1 ras to voxel transform: -1.0000 0.0000 0.0000 123.2342 -0.0000 -0.0000 -1.0000 132.7458 -0.0000 1.0000 -0.0000 52.0467 0.0000 0.0000 0.0000 1.0000 and second file: Volume information for wm.pet_binarized.mgz type: MGH dimensions: 256 x 256 x 256 voxel sizes: 1.0000, 1.0000, 1.0000 type: INT (1) fov: 256.000 dof: 0 xstart: -128.0, xend: 128.0 ystart: -128.0, yend: 128.0 zstart: -128.0, zend: 128.0 TR: 0.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degrees nframes: 1 PhEncDir: UNKNOWN ras xform present xform info: x_r = -1.0000, y_r = 0.0000, z_r = 0.0000, c_r = -4.7658 : x_a = 0.0000, y_a = 0.0000, z_a = 1.0000, c_a = 75.9533 : x_s = 0.0000, y_s = -1.0000, z_s = 0.0000, c_s = 4.7458 talairach xfm : /home/icsapo/proc/bu/013_S_0860/mri/transforms/talairach.xfm Orientation : LIA Primary Slice Direction: coronal voxel to ras transform: -1.0000 0.0000 0.0000 123.2342 0.0000 0.0000 1.0000 -52.0467 0.0000 -1.0000 0.0000 132.7458 0.0000 0.0000 0.0000 1.0000 voxel-to-ras determinant -1 ras to voxel transform: -1.0000 0.0000 0.0000 123.2342 -0.0000 -0.0000 -1.0000 132.7458 -0.0000 1.0000 -0.0000 52.0467 0.0000 0.0000 0.0000 1.0000 On Mon, Jul 11, 2011 at 12:51 PM, Rudolph Pienaar < rudo...@nmr.mgh.harvard.edu> wrote: > (forgot to cc the list)... > > > In general, that error means the number of elements in your first input is > not equal to the number of element in your second. > > Can you run the command and copy-paste the output into an email? Also, run > 'mris_calc' with '--verbosity 10'. That will print out additional (useful) > information. > > > > On 7/11/11 12:25 , Corinna Bauer wrote: > >> When running fscalc, I get the following error on some of my subjects >> but not all of them, >> >> mris_calc: >> Sorry, but I seem to have encountered an error. >> While checking on input filetype sizes, >> I found a size mismatch, i.e. len(input1)!=len(input2) >> >> Any suggestions? >> >> Thanks, >> Corinna >> >> >> ______________________________**_________________ >> Freesurfer mailing list >> Freesurfer@nmr.mgh.harvard.edu >> https://mail.nmr.mgh.harvard.**edu/mailman/listinfo/**freesurfer<https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer> >> > > > -- > Rudolph Pienaar, M.Eng, D.Eng / email: rudo...@nmr.mgh.harvard.edu > MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging > 149 (2301) 13th Street, Charlestown, MA 02129 USA > > > 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<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. > >
_______________________________________________ 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.