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 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.