Dear all, Any help that you could give on this pretty basic question would be much appreciated. I've been trying to use the excellent fmri-to-anatomical registration produced by Freesurfer's bbregister to convert a 4d volume time series to a GIFTI surface time series. So far, I have tried using mri_vol2surf and mris_convert as below, with no success. In this example, the dataset volume_time_series.nii is of size 64x64x37x96, where 96 is the number of time points. I would really appreciate it if anyone spots and would correct the usage error(s) that I must have made. ?? Thank you, Kathleen
mri_vol2surf --mov volume_time_series.nii --reg good_registration.dat --hemi lh --o surface_time_series_lh.mgh --projfrac 0.5 --interp nearest srcvol = volume_time_series.nii srcreg = good_registration.dat srcregold = 0 srcwarp unspecified surf = white hemi = lh ProjFrac = 0.5 thickness = thickness interp = nearest float2int = round GetProjMax = 0 INFO: float2int code = 0 INFO: changing type to float Done loading volume Reading surface /nfs/data17/hansenka/ntopy/surf/D/D06/surf/lh.white Done reading source surface Reading thickness /nfs/data17/hansenka/ntopy/surf/D/D06/surf/lh.thickness Done Mapping Source Volume onto Source Subject Surface 1 0.5 0.5 0.5 Done mapping volume to surface Number of source voxels hit = 11133 Reshaping 19 (nvertices = 137275) Writing to surface_time_series_lh.mgh Dim: 7225 1 19
mris_convert surface_time_series_lh.mgh surface_time_series_lh.gii ERROR: MRISread: file 'surface_time_series_lh.mgh' has 0 vertices!