Closed MauricePasternak closed 8 months ago
The surfaces saved in native space before resampling (i.e. lh.central.name.gii) can be viewed with Freeview. However, the resampled surfaces are saved in a gifti format which is not supported by Freeview and uses an additional dat file. The advantage of using this format is that the surfaces are not saved in the SPM.mat file for statistical analysis, which would otherwise result in a huge SPM.mat file. Also, the resampled surface contains the thickness texture and I am not sure if this is correctly recognised by Freeview. The attached file allows you to convert from this dat/gii format to the pure gii format under Linux: CAT_SurfConvert.zip However, I would recommend to view the native surface file before resampling...
Hello everyone,
I encountered a similar issue. I used CAT12 to perform group comparisons for cortical thickness (TFCE-based FWE correction), and I obtained the T_log_pFWE_0001.dat and T_log_pFWE_0001.gii files. My plan is to use the regions that show group differences as seed masks for a functional connectivity analysis. I tried using this file CAT_SurfConvert.zip to convert the T_log_pFWE_0001.gii and .dat files into a single .gii file for further file conversion. However, I encountered an issue with the CAT_SurfConvert step. My code is:
/CAT_SurfConvert T_log_pFWE_0001.dat T_log_pFWE_0001.gii
The error message is: “input_freesurfer: Unknown magic identifier: 12174918.”
Any insights on this issue would be appreciated.
Hey folks, loved your program from day 1.
Not sure if there is a workaround in the meantime, but I've been meaning to use the resampled surfaces from your program in other softwares like Freesurfer.
Issue 1 - num_cols and nvertices seem to be flipped.
However, upon trying to load a 164K-resampled .gii file into, say, freeview from Freesurfer, I receive the following error:
Issue 2 - cat_io_FreeSurfer does not convert resampled .gii files
I chanced upon this while thinking "okay, maybe they have a script that needs to be run in order to fix the above." Some Google-fu lead me to your
cat_io_FreeSurfer.m
script, but it seems to not work either:Example issue:
If it assists in any way, I have uploaded the native-space and resampled thickness files:
cat12_issue20.zip
My apologies if this is just my ignorance to all this coming through and making a non-issue. But if not, could this be addressed?