Yes, the vertices array appears to be the vertex coordinates. You may need
to do the -file-convert -format-convert XML_BASE64_GZIP (not ASCII) on the
metric file (and maybe even rename it to end in .func.gii) to load it in
matlab as a gifti file.
The metric file does not contain voxel values, it
Thank you for your help. I use the command "caret_command -file-conver -sc -is
CARET" to get surf.gii file. And I use the GIFTI to open this surf.gii file and
get two important variables "vertices" and "faces".
vertices=
-6.8856 -52.5189 23.7218
-22.1394 -41.5367 68.0599
-49.4149 -0.
I am sorry that I still don't know how to do it.
Firstly, regularly spaced Cartesian grids were generated on the flattened
PALS-B12 average surface of the left and right hemispheres using the Caret
software. Grid points were spaced 20 mm apart on the flattened surface.
Then, How to get the 3-dim
Correction, there is a matlab GIFTI toolbox, not CIFTI. Metric files are
usually already GIFTI files, but caret5 coord/topo files need to be
converted:
to convert non-GIFTI metric file to GIFTI:
caret_command -file-convert -format-convert XML_BASE64_GZIP
to convert topo/coord to GIFTI surface:
First, I want to point out that there is a CIFTI matlab toolkit, I think, but I
know very little about it (or matlab in general). What I do know:
* The freesurfer_to_fs_LR pipeline probably doesn't generate CIFTI output. But
the forthcoming Human Connectome Project (HCP) pipeline does.
* Quest