Hi all,
I preprocessed GSP fMRI dataset using the scripts in
https://github.com/ThomasYeoLab/Standalone_CBIG_fMRI_Preproc2016. The final step applis CBIG_preproc_native2fsaverage.csh to map the fMRI to fsaverage6 surface space.
Now I'm trying to load the output surface .nii.gz fMRI in MATLAB. I expect to see the data in 2D format (#vertices * #time). However, I found that
(1) cifti_read was not able to load the data as 2D surface fMRI in the same way as HCP data (error "cannot open as nifti file, hdr size = 134777631, should be 348 or 540")
(2) freesurfer's MRIread function was able to load the .nii.gz file, however, it read as 4D (1 * 6 * 6827 * 120 for one hemisphere) instead of 2D. The last dimension matches #time points of the fMRI. However, I'm not sure how to reshape it to the correct format. Since 6 * 6827 = 40962 which is the number of surface vertices in fsaverage6 space, I wonder if it is correct to just do "data = reshape(data, [40962, 120])" in MATLAB for each hemisphere's data?
Regards.
Yijun