Does this happen on every volume or just with this one. If just this
one, then it is probably a problem with the volume itself and not the code
On 1/25/2023 9:15 PM, Siamak Sorooshyari wrote:
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
_______________________________________________
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.