External Email - Use Caution
Dear FreeSurfer, I am using the FieldTrip software to process MEG data, it involves my using the function ft_read_mri() in MATLAB to read in the anatomical MRI file. I have tried feeding into this function a .nii.gz as well as the unzipped .nii version. In the latter case I get an error: ERROR: D:\...\anat\sub-0249_ses-01_run-1_T1w.nii, read in 21626880 voxels, expected 10813440 I contacted the FieldTrip folks and they mentioned that it's a FreeSurfer issue. I think I've isolated the issue to the load_nifti.m file with the "nitemsread" variable and "nvoxels" variables not matching in value. I am not clear why this would happen, how can this be fixed? Best, Siamak
_______________________________________________ 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.