Would the best solution be to average the frames of the first file or can I specify just one frame?
Looks like it is because one of the files has multiple frames.mri_info first file:Volume information for wm.reg.pet.mgztype: MGHdimensions: 256 x 256 x 256 x 6voxel sizes: 1.0000, 1.0000, 1.0000type: FLOAT (3)fov: 256.000dof: 0xstart: -128.0, xend: 128.0ystart: -128.0, yend: 128.0zstart: -128.0, zend: 128.0TR: 0.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degreesnframes: 6PhEncDir: UNKNOWNras xform presentxform 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.7458talairach xfm : /home/icsapo/proc/bu/013_S_0860/mri/transforms/talairach.xfmOrientation : LIAPrimary Slice Direction: coronalvoxel to ras transform:-1.0000 0.0000 0.0000 123.23420.0000 0.0000 1.0000 -52.04670.0000 -1.0000 0.0000 132.74580.0000 0.0000 0.0000 1.0000voxel-to-ras determinant -1ras 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.04670.0000 0.0000 0.0000 1.0000and second file:Volume information for wm.pet_binarized.mgztype: MGHdimensions: 256 x 256 x 256voxel sizes: 1.0000, 1.0000, 1.0000type: INT (1)fov: 256.000dof: 0xstart: -128.0, xend: 128.0ystart: -128.0, yend: 128.0zstart: -128.0, zend: 128.0TR: 0.00 msec, TE: 0.00 msec, TI: 0.00 msec, flip angle: 0.00 degreesnframes: 1PhEncDir: UNKNOWNras xform presentxform 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.7458talairach xfm : /home/icsapo/proc/bu/013_S_0860/mri/transforms/talairach.xfmOrientation : LIAPrimary Slice Direction: coronalvoxel to ras transform:-1.0000 0.0000 0.0000 123.23420.0000 0.0000 1.0000 -52.04670.0000 -1.0000 0.0000 132.74580.0000 0.0000 0.0000 1.0000voxel-to-ras determinant -1ras 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.04670.0000 0.0000 0.0000 1.0000On Mon, Jul 11, 2011 at 12:51 PM, Rudolph Pienaar <rudolph@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
--
Rudolph Pienaar, M.Eng, D.Eng / email: rudolph@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 . 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.