Hi, I’m hoping someone can recommend a fix for a problem I’m having. I have been using GIFTI library (http://www.artefact.tk/software/matlab/gifti/ <http://www.artefact.tk/software/matlab/gifti/>) to read GIFTIs into Matlab and perform computations. I would like to save as a gifti. Using the software, I have tried the following:
M; % matrix of values [vertices by timepoints] g=gifti(M); % converts my matrix to a gifti object with M stored under g.cdata; save(g, ’saveName.gii’); This seems to work fine. I can re-load the saved gift into Matlab— newGifti=gifti(’saveName.gii’);— and it looks correct. However, when I try to open saveName.gii using a non-Matlab visualization software— e.g. tksurfer, wb_view, freeview— I either encounter errors or load what looks like a gift containing all 0’s. Has anyone had success using GIFTI library to save or is there an alternative technique? Thank you very much in advance, Rita _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
