<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=254" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC GIFTI Forum: open-discussion</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=254</link>
  <description>General Discussion</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Tue, 07 Apr 2026 17:53:27 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>convert gifti to nifti files with CAT12</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=10038&amp;forum_id=254</link>
   <description>Dear all,&lt;br /&gt;
&lt;br /&gt;
I'm using CAT12 to do gyrification and surfaces comparaison: as results i have gifti files (.gii) but i don't know how to convert them in to nifti files: is anyone has a Matlab script or find how to do that on CAT12 directly?&lt;br /&gt;
&lt;br /&gt;
Thank you so much,&lt;br /&gt;
Pauline,</description>
   <author>ali pauline</author>
   <pubDate>Tue, 05 Mar 2019 14:54:36 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=10038&amp;forum_id=254</guid>
  </item>
  <item>
   <title>Error reading func.gii giles into MATLAB</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7704&amp;forum_id=254</link>
   <description>Hi all, &lt;br /&gt;
&lt;br /&gt;
I'm working with HCP data. Starting with some of their cifti dscalar.nii files of individual subject myelin and task-based contrasts, I pulled out specific columns from their task-based contrasts using -cifti-merge. Then, I combined these individual one-column dscalar files into one cifti file with 500 columns again using cifti-merge. Finally, I converted this to a metric gifti using cifti-separate. The gifti looks great in wb_view. However, I'm getting an error reading it into matlab with Guillaume Flandin's gifti library at http://www.artefact.tk/software/matlab/gifti/.&lt;br /&gt;
&lt;br /&gt;
Error using read_gifti_file_standalone (line 20)&lt;br /&gt;
[GIFTI] Loading of XML file&lt;br /&gt;
AllWM14CLeft.func.gii failed.&lt;br /&gt;
&lt;br /&gt;
Error in gifti (line 71)&lt;br /&gt;
this = read_gifti_file_standalone(varargin{1},giftistruct);&lt;br /&gt;
&lt;br /&gt;
Any help would be greatly appreciated! I'm using the 1.6 version of the gifti library so I think it's up to date. &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Lauren</description>
   <author>Lauren Nelson</author>
   <pubDate>Wed, 08 Feb 2017 18:32:01 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7704&amp;forum_id=254</guid>
  </item>
  <item>
   <title>Error reading gifti into Matlab</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7697&amp;forum_id=254</link>
   <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
I'm working with HCP data. Starting with some of their cifti dscalar.nii files of individual subject myelin and task-based contrasts, I pulled out specific columns from their task-based contrasts using -cifti-merge. Then, I combined these individual one-column dscalar files into one cifti file with 500 columns again using cifti-merge. Finally, I converted this to a metric gifti using cifti-separate. The gifti looks great in wb_view. However, I'm getting an error reading it into matlab with Guillaume Flandin's gifti library:&lt;br /&gt;
&lt;br /&gt;
Error using read_gifti_file_standalone (line 20)&lt;br /&gt;
[GIFTI] Loading of XML file&lt;br /&gt;
AllWM14CLeft.func.gii failed.&lt;br /&gt;
Error in gifti (line 71)&lt;br /&gt;
this = read_gifti_file_standalone(varargin{1},giftistruct);&lt;br /&gt;
&lt;br /&gt;
Any help would be greatly appreciated! I'm using the 1.6 version of the gifti library so I think it's up to date.&lt;br /&gt;
Thanks,&lt;br /&gt;
Lauren</description>
   <author>Lauren Nelson</author>
   <pubDate>Tue, 07 Feb 2017 19:02:12 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7697&amp;forum_id=254</guid>
  </item>
  <item>
   <title>RE: freesurfer_annot_to_gifti files DataType </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</link>
   <description>Byte-wise RGBA datasets might be stored as UINT8,&lt;br /&gt;
with INTENT_CODE NIFTI_INTENT_RGBA_VECTOR.&lt;br /&gt;
&lt;br /&gt;
Each element would essentially be a 4-byte vector,&lt;br /&gt;
which would sit in memory the exact same way as with&lt;br /&gt;
the UINT32 datum.&lt;br /&gt;
&lt;br /&gt;
Does that seem reasonable?&lt;br /&gt;
&lt;br /&gt;
- rick</description>
   <author>Richard Reynolds</author>
   <pubDate>Tue, 08 Nov 2016 14:20:37 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</guid>
  </item>
  <item>
   <title>RE: freesurfer_annot_to_gifti files DataType </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</link>
   <description>Hi, in the case of the annotation file lh.aparc.a2009s.gii, the data is RGBA values, which are unsigned, so technically i suppose UINT32 is the accurate data type.  however, it appears the fact that UINT32 is not one of the required gifiti datatypes means that it probably should be defined as INT32.  i'm not sure what to do at this point, as an argument could be made either which should change:  either UINT32 is added as a valid datatype (thus making the freesurfer_annot valid), or freesurfer should change the datatype for annot labels to INT32.   maybe you have thoughts on this.  in any case, it gets interpreted as an RGBA value, so it doesnt really matter.&lt;br /&gt;
&lt;br /&gt;
Nick</description>
   <author>Nick Schmansky</author>
   <pubDate>Mon, 07 Nov 2016 23:30:27 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</guid>
  </item>
  <item>
   <title>freesurfer_annot_to_gifti files DataType </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</link>
   <description>From the GIFTI DTD I have:&lt;br /&gt;
&lt;br /&gt;
DataType     (NIFTI_TYPE_UINT8 |&lt;br /&gt;
NIFTI_TYPE_INT32 |&lt;br /&gt;
NIFTI_TYPE_FLOAT32)  #REQUIRED&lt;br /&gt;
&lt;br /&gt;
But in the lh.aparc.a2009s.gii file from freesurfer_annot_to_gifti.tgz, the format is NIFTI_TYPE_UINT32.  Is the DTD not complete with data types or is this a misspecification?</description>
   <author>John  Muschelli</author>
   <pubDate>Mon, 07 Nov 2016 22:32:54 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7381&amp;forum_id=254</guid>
  </item>
  <item>
   <title>RE:   Create gifti surfaces for matlab</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4538&amp;forum_id=254</link>
   <description>Hi,&lt;br /&gt;
&lt;br /&gt;
You will need to download the 'development' version of the entire freesurfer package in order to get the binary mris_convert.  Note that is version is pre-version 6 release, which we hope to release within a month.&lt;br /&gt;
&lt;br /&gt;
ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/dev&lt;br /&gt;
&lt;br /&gt;
Nick</description>
   <author>Nick Schmansky</author>
   <pubDate>Tue, 25 Oct 2016 14:50:05 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4538&amp;forum_id=254</guid>
  </item>
  <item>
   <title>RE:   Create gifti surfaces for matlab</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4538&amp;forum_id=254</link>
   <description>Dear Nick,&lt;br /&gt;
&lt;br /&gt;
Is this version available for Mac (Yosemite) as well?&lt;br /&gt;
&lt;br /&gt;
Thanks very much,&lt;br /&gt;
&lt;br /&gt;
Rogier</description>
   <author>Rogier Mars</author>
   <pubDate>Tue, 25 Oct 2016 12:13:01 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4538&amp;forum_id=254</guid>
  </item>
  <item>
   <title>RE: Write gifti to file</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5037&amp;forum_id=254</link>
   <description>Sorry, just wanted to add that I want to export a 'shape' file, not a surface file.</description>
   <author>Mac Shine</author>
   <pubDate>Thu, 04 Dec 2014 22:01:47 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5037&amp;forum_id=254</guid>
  </item>
  <item>
   <title>Write gifti to file</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=5037&amp;forum_id=254</link>
   <description>Hi there&lt;br /&gt;
&lt;br /&gt;
I've created some experimental data that I'd like to map back onto the surface. I first used the 'gifti' command to read a '.gii' file (with each vertex labelled according to a parcellation scheme) into matlab, after which time I replaced each parcellation label with a statistical value. Is there a way to use gifti to export this data into a gifti file that I could then open in a program like connectome workbench?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance for the help.&lt;br /&gt;
&lt;br /&gt;
Mac</description>
   <author>Mac Shine</author>
   <pubDate>Thu, 04 Dec 2014 21:53:00 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=5037&amp;forum_id=254</guid>
  </item>
 </channel>
</rss>
