<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://www.nitrc.org/export/rss20_forum.php?forum_id=281" ?>
<?xml-stylesheet type="text/css" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC GIFTI Forum: devel</title>
  <link>http://www.nitrc.org/forum/forum.php?forum_id=281</link>
  <description>Developer Phorum</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Mon, 09 Mar 2026 3:13:56 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: Writing vertex-wise probability vectors akin to FreeSurfer's GCS files</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</link>
   <description>&amp;lt;p&amp;gt;As far as I can tell, NIFTI_INTENT_VECTOR is not restricted to length 3, though the included examples are of that length.&amp;amp;nbsp; I think dim[5] would specify the length of the nodewise vectors.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Having said that, when I copy a mixed-stats dataset (beta/t-stat/F-stat) into GIFTI format, the INTENTs are specified one index at a time, meaning the dataset is a list of DataArray elements.&amp;amp;nbsp; Given that, the intent_code might refer to the actual data, not the fact that there is a vector of such values at each node.&amp;amp;nbsp; So it might be reasonable to use NIFTI_INTENT_ESTIMATE (or even NONE), for example.&amp;amp;nbsp; I don't see anything to specifially note a probability, unless the values were from a specific distribution, like NIFTI_INTENT_GAMMA.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;rick&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;</description>
   <author>Richard Reynolds</author>
   <pubDate>Fri, 15 Mar 2024 17:18:11 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RE: Writing vertex-wise probability vectors akin to FreeSurfer's GCS files</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</link>
   <description>&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;Oscar,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;There is NIFTI_INTENT_VECTOR.&amp;amp;nbsp; While the format states that it is for three-dimensional vectors, I think it would be okay to use for vectors of any dimension.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;I have included a section of the GIFTI specification on extending GIFTI.&amp;amp;nbsp; You could use NIFTI_INTENT_NONE or create a new intent as specified in the second paragraph (below).&amp;amp;nbsp; Either way, you may want to put something in the metadata, perhaps a URL or email address for a description of the file&amp;amp;rsquo;s content. &amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;I was unable to find a description of FreeSurfer&amp;amp;rsquo;s GCS format.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;John Harwell&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;12.0 Extending GIFTI&amp;amp;nbsp;&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;This document describes the initial version of the GIFTI Surface Data Format. The data array intents in this version of GIFTI are those categories of data commonly interchanged between the various neuroimaging software packages. Developers are encouraged to use the GIFTI file format for new data intent types that do not require the addition of new XML tags. It is not necessary for developers to get approval of the GIFTI committee to add a new type of data intent. However, the GIFTI mailing list should be used to announce the new data intent to assess interest in the new data intent becoming an official GIFTI data intent.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;When naming a new data intent, a process similar to that used for OpenGL extensions (&amp;lt;a title=&amp;quot;http://en.wikipedia.org/wiki/OpenGL#Extensions&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/OpenGL#Extensions&amp;quot;&amp;gt;http://en.wikipedia.org/wiki/OpenGL#Extensions&amp;lt;/a&amp;gt;) should be followed. In the case of GIFTI, the name of the new data intent should begin with the name of the neuroimaging software package creating the new data intent. For example, if the developers of Caret wanted to store latitude/longitude data in a GIFTI data file, the data intent would initially be named &amp;amp;ldquo;CARET_INTENT_LATITIUDE_LONGITUDE&amp;amp;rdquo;. If the GIFTI committee supported the addition of this new data intent, its name would change to &amp;amp;ldquo;NIFTI_INTENT_LATITUDE_LONGITUDE&amp;amp;rdquo;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>John Harwell</author>
   <pubDate>Thu, 14 Mar 2024 14:21:51 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</guid>
  </item>
  <item>
   <title>Writing vertex-wise probability vectors akin to FreeSurfer's GCS files</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</link>
   <description>&amp;lt;p&amp;gt;After carefully reading the specifications, it is my impression that there is not a proper intent code to encode surfaces where vertices have associated a vector of probabilities.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;In this case, should we use NIFTI_INTENT_NONE? I think it would also be possible to &amp;quot;hack&amp;quot; my way around using NIFTI_INTENT_TIME_SERIES, but it doesn't seem very reasonable.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;A further complication is that GCS (Gaussian Classifier atlas Surfaces) files of FreeSurfer also store some sort of local information about &amp;quot;cliques&amp;quot;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Would this use case justify the creation of a new data intent?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Oscar Esteban</author>
   <pubDate>Thu, 14 Mar 2024 12:46:04 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15006&amp;forum_id=281</guid>
  </item>
  <item>
   <title>Suggestions to aid developers</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=9893&amp;forum_id=281</link>
   <description>1.) BrainVisa samples should be removed from the NITRC GIfTI downloads (or the data updated so the combination of matrix and vertex location matches the expectation of the specification. To demonstrate the issue, these images appear upside down in [url=https://github.com/Washington-University/workbench/issues/28]connecotme workbench[/url]. &lt;br /&gt;
&lt;br /&gt;
2.) Section 5.0 (&quot;Data Compression&quot;) of the specification should include a sentence explicitly describing the encoding used. I would write  'The tag &quot;Encoding=&quot;GZipBase64Binary&quot; denotes the data is compressed using the deflate algorithm with the standard zlib 2-byte header and 4 byte footer (https://tools.ietf.org/html/rfc1950). Therefore the first byte of the compressed datastream will be 0x78. Be aware that GIfTI compressed files do not use the 10+ byte GZip header and 8-byte footer (https://tools.ietf.org/html/rfc1952) typical of GZip files compressed using the deflate algorithm (where the first two bytes are 0x1f8b).' if you want to describe all the GIfTI images I have seen (or if either RFC1950 and RFC1952 are acceptable this should be explicitly described and samples provided). The issue I ran into reading the documentation is that GIfTI uses the key &quot;GZip&quot; which is is associated with RFC1952, but in practice I needed to implement RFC1950.&lt;br /&gt;
&lt;br /&gt;
These two changes would make it easier to develop and validate tools using this format.</description>
   <author>Chris Rorden</author>
   <pubDate>Tue, 08 Jan 2019 14:31:45 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=9893&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RE: BrainSuite</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=1321&amp;forum_id=281</link>
   <description>[i]Originally posted by Leonardo Barbosa:[/i][quote]Completely agree with that.&lt;br /&gt;
&lt;br /&gt;
I'm having a hard time using it outside BrainSuite.&lt;br /&gt;
&lt;br /&gt;
I can help to implement.[/quote]&lt;br /&gt;
[color=#000000]I just found this post today -- we plan to add GIFTI support. For now, if you need to work with BrainSuite files outside of our tools, you might want to look at this page:[/color]&lt;br /&gt;
&lt;br /&gt;
[color=#000000]http://users.loni.ucla.edu/~shattuck/brainsuite/file-formats/dfs/[/color]&lt;br /&gt;
&lt;br /&gt;
[color=#000000]which describes the format and has some links to source code for reading/writing the files.[/color]&lt;br /&gt;
&lt;br /&gt;
[color=#000000]cheers,[/color]&lt;br /&gt;
[color=#000000]David Shattuck[/color]&lt;br /&gt;
[color=#000000] [/color]</description>
   <author>David Shattuck</author>
   <pubDate>Mon, 02 May 2011 21:46:33 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=1321&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RE: Valid GIFTI Data Array Dimensions</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</link>
   <description>We received a functional file with a DataArray that had dimensionality=2 with Dim0=1 and Dim1=73xxx.  The GIFTI Document does state (13.2) that a functional DataArray is Dimensionality=1 and Dim0=#nodes so it is technically not a valid functional file.  Is there any valid case for a two-dimensional DataArray with the first dimension equal to one?</description>
   <author>John Harwell</author>
   <pubDate>Wed, 20 Apr 2011 15:36:18 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RE: Valid GIFTI Data Array Dimensions</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</link>
   <description>What is the objective of making this change ?</description>
   <author>Simon Warfield</author>
   <pubDate>Wed, 20 Apr 2011 15:07:05 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</guid>
  </item>
  <item>
   <title>Valid GIFTI Data Array Dimensions</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</link>
   <description>&amp;lt;span style=&amp;quot;font-family: Times; font-size: 14px;&amp;quot;&amp;gt;In the GIFTI Document (2.3.4.4) it states &amp;quot;The last dimension &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-family: Times; font-size: 14px;&amp;quot;&amp;gt;shall never be one (The only exception is if the array contains one &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-family: Times; font-size: 14px;&amp;quot;&amp;gt;data value in which case Dim0 will be one)&amp;quot;.  Thus, a DataArray with &amp;quot;Dimensionality=2, Dim0=73730, Dim1=1&amp;quot; is invalid and should be &amp;quot;Dimensionality=1, Dim0=73730&amp;quot;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-family: Times; font-size: 14px;&amp;quot;&amp;gt;Does this also apply to the first dimension?  Is a DataArray with &amp;quot;Dimensionality=2, Dim0=1, Dim1=73730&amp;quot; valid?  Or should it be a one-dimensional array with &amp;quot;Dimensionality=1  Dim0=73730&amp;quot;?&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-family: Times; font-size: 14px;&amp;quot;&amp;gt;I would like to change the GIFTI Document to state that &amp;quot;Neither the first, nor the last dimension shall be one (The only exception is if the array contains one data value in which case Dim0 will be one)&amp;quot;.&amp;lt;/span&amp;gt;</description>
   <author>John Harwell</author>
   <pubDate>Wed, 20 Apr 2011 14:53:57 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=2277&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RE: RGBA files</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=2079&amp;forum_id=281</link>
   <description>An unreleased version of Caret is able to read the RGBA file.  Image is attached.</description>
   <author>John Harwell</author>
   <pubDate>Mon, 14 Mar 2011 17:55:44 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=2079&amp;forum_id=281</guid>
  </item>
  <item>
   <title>RGBA files</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=2079&amp;forum_id=281</link>
   <description>As Ziad requested, let's continue the discussion about GIFTI RGBA files here on the message board.&lt;br /&gt;
&lt;br /&gt;
I have attached a sample GIFTI surface and a sample RGBA file to go with it. The PNG screenshot illustrates how the colors should look like.&lt;br /&gt;
The data type of the RGBA file is float, with values between 0.0 and 1.0.</description>
   <author>Arne Hans</author>
   <pubDate>Mon, 28 Feb 2011 21:07:40 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=2079&amp;forum_id=281</guid>
  </item>
 </channel>
</rss>
