Hello Freesurfer Experts,
Having morphed the surface data to fsaverage for individuals in our group of subjects, we need to convert MEG dSPM paint files of surface data to volume .nii format. I have attempted this using the following syntax and keep coming up with the subsequent errors:
mri_surf2vol --surfval .${STC_DIR}/${SUBJECT}${STC_MORPH_SUFFIX}-30_45_80 --hemi lh --volreg ${SUBJECTS_DIR}/fsaverage/mri.2mm/reg.2mm.dat --template ${SUBJECTS_DIR}/fsaverage/mri/orig.mgz --outvol ${NII_DIR}/${SUBJECT}${STC_MORPH_SUFFIX}-lh.mgz # Right Hemisphere mri_surf2vol --surfval .${STC_DIR}/${SUBJECT}${STC_MORPH_SUFFIX}-30_45_80 --hemi rh --volreg ${SUBJECTS_DIR}/fsaverage/mri.2mm/reg.2mm.dat --template ${SUBJECTS_DIR}/fsaverage/mri/orig.mgz --outvol ${NII_DIR}/${SUBJECT}${STC_MORPH_SUFFIX}-rh.mgz
gdiagno = -1 ERROR: cannot recognize the type of ./export/........to lh dspm paint file gdiagno = -1 ERROR: cannot recognize the type of ./export/........to rh dspm paint file ninputs = 2
Is there a format flag that one can put after the --surfval option so that the type would be recognized? I entered " ./ " before the path as the documentation says but from here I can't find a solution.
Thank you,
Franklin
freesurfer@nmr.mgh.harvard.edu