Indeed you would want to separate the .surf.gii data (what tim calls surface geometry) from the .shape.gii data (any other quantitative data that you want to display). Once you do that, you will be able to view the data in Connectome Workbench. The GIFTI spec allows creation of arbitrary GIFTI files, but this does not guarantee that different software packages will read them (vs using the specifically defined GIFTI file types like .surf.gii or func.gii/shape.gii.
Peace, Matt. From: <[email protected]<mailto:[email protected]>> on behalf of Timothy Coalson <[email protected]<mailto:[email protected]>> Date: Monday, May 23, 2016 at 5:10 PM To: Elizabeth DuPre <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [HCP-Users] Using gii from CAT12 in Connectome Workbench Workbench expects data arrays (such as fMRI analysis results) to be in separate files from the surface geometry (2 arrays, triangles and coordinates). I think this is the source of your problem, but I'm not sure the best way to separate them, as I'm not all that familiar with gifti in matlab. Also beware that "CDATA" is an XML-specific way to escape text, while I believe the gifti toolbox uses a "cdata" member to expose the data array, and these are largely unrelated, and therefore confusing, uses of a similar term. Tim On Mon, May 23, 2016 at 4:13 PM, Elizabeth DuPre <[email protected]<mailto:[email protected]>> wrote: Hello, I am trying to display surface results from CAT12 in Connectome Workbench. I'm running into difficulties as gii files from CAT12 have 3 data arrays instead of the 2 required by Connectome Workbench. It seems that 'cdata' is retained as a separate array instead of being distributed throughout the XML file, as in the .surf.gii files distributed with Workbench. Any ideas how to reformat the .gii files in Matlab (or wb_command) for this purpose? Any and all insight is appreciated ! Thank you, Elizabeth -- Elizabeth DuPre Graduate Student Department of Human Development Cornell University _______________________________________________ HCP-Users mailing list [email protected]<mailto:[email protected]> http://lists.humanconnectome.org/mailman/listinfo/hcp-users _______________________________________________ HCP-Users mailing list [email protected]<mailto:[email protected]> http://lists.humanconnectome.org/mailman/listinfo/hcp-users ________________________________ The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail. _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
