<?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=4442" ?>
<?xml-stylesheet type="text/css" href="https://www.nitrc.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC MRIcroGL Forum: help</title>
  <link>http://www.nitrc.org/forum/forum.php?forum_id=4442</link>
  <description>Get Public Help</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Wed, 11 Nov 2026 7:02:25 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>MRIcroGL color bar for negative darkest and brightest colors</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=16089&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Hi,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We are using MRIcroGL to plot beta values across the brain, which means we are sometimes plotting a range of negative beta values.&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For the negative beta values, when I set the darkest value to a lower negative number (eg. -0.4), and the brightest value to a higher negative number (eg. -0.1), the color bar is oriented where -0.1 would be on the left and -0.4 would be on the right. If I switch the darkest and brightest, it still does not change the orientation of the color bar. Is there a way to flip the color bar when plotting a range of negative numbers so in this example it would go from -0.4 on the left to -0.1 on the right?&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thank you,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Hannah&amp;lt;/p&amp;gt;</description>
   <author>Hannah Hafner</author>
   <pubDate>Wed, 21 Oct 2026 17:51:42 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=16089&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>RE: Autoscaling of Darkest/Lightest values and find max voxel in overlay</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Chris, I used Codex and added the option to turn Darkest/Lightest autoscaling off. Seems to work fine. See attached for Options menu item. So need to add this feature.&amp;amp;nbsp;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Is there a python script that I could write to find the max (or min/most neg) voxel in an overlay?&amp;amp;nbsp;&amp;lt;/p&amp;gt;</description>
   <author>Christopher Hyatt</author>
   <pubDate>Sat, 18 Apr 2026 22:29:06 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>RE: Autoscaling of Darkest/Lightest values and find max voxel in overlay</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Chris, thanks for the help.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I'm not sure how to use niivue. It looks promising, but seems like one needs to know javascript to make it work. Is there a tutorial?&amp;lt;/p&amp;gt;</description>
   <author>Christopher Hyatt</author>
   <pubDate>Sat, 18 Apr 2026 0:30:36 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>RE: Autoscaling of Darkest/Lightest values and find max voxel in overlay</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;I will see if I can extend MRIcroGL. Note that we already have this feature in NiiVue, as shown by the &amp;quot;per-volume contrast&amp;quot; check box in this live demo:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;https://niivue.com/demos/features/timeseries2.html&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Fri, 17 Apr 2026 11:24:22 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>Autoscaling of Darkest/Lightest values and find max voxel in overlay</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</link>
   <description>&lt;p&gt;I often scroll through 4-D nifti overlays (ICA components, maps, etc) and I created a &lt;strong&gt;volume_select &lt;/strong&gt;Python script to move quickly to a different overlay. However, every time I move to a new overlay volume, the Darkest and Brightest values do some sort of autoscaling.&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;A great option would be to turn off autoscaling and retain the values I set for the Darkest and Brightest values (e.g., for z-scored overlays, Darkest at 1.0 and Brightest at say 4.0 or 5.0). I created another Python script called &lt;strong&gt;minmax &lt;/strong&gt;to set these values, but it doesn't appear that I can keep both volume_select and minmax open for running at the same time, but I don't want to have unload and load the two python scripts.&amp;nbsp;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;I have the Lazarus source code and the Lazarus compiler, and can compile/link source to binary successfully. I haven't coded in Pascal though since the 1980's, but I do know C/C++. Is there some source code I could change/add to the code to add a button box to turn autoscaling on/off?&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Also, is there a way to python script finding the max (or min) voxel value in the current overlay? I see there are cluster options, but I'm not sure how to use this to find max or min peak voxel values in an overlay.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Thanks so much,&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Chris&lt;/p&gt;</description>
   <author>Christopher Hyatt</author>
   <pubDate>Fri, 17 Apr 2026 0:24:13 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15993&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>MRIcroGL: Problem with loading image</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15855&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Hello,&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;I experience problems with opening MRI images in MRIcroGL. I receive the error &amp;quot;File smaller than described in header (expected 20971872, found 16781312)&amp;quot;, while I opened the exact same file yesterday without any problems. Could someone help me with this?&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Kind regards&amp;lt;/p&amp;gt;</description>
   <author>jcoryn</author>
   <pubDate>Fri, 05 Sep 2025 13:04:19 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15855&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>MRIcroGL citation</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15817&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;For those who use MRIcroGL in for their work, I would be grateful if you would consider including this citation&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Christopher Rorden (2025) MRIcroGL: voxel-based visualization for neuroimaging. Nature Methods. doi: 10.1038/s41592-025-02763-7&amp;lt;br&amp;gt;https://www.nature.com/articles/s41592-025-02763-7&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Thu, 24 Jul 2025 13:22:59 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15817&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>Changing color scheme for atlas overlays</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15569&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Hi, all! I am trying to create a figure with specific regions from the AAL atlas to visualize clusters of regions (i.e., precuneus, precentral, paracentral lobule all in one figure), but would like all of the clusters to be the same color. Is there a way to do this using the python scripts and the built in aal atlas? I have attached a screenshot of the figure and I would like all ROIs to be the same color&amp;lt;/p&amp;gt;</description>
   <author>Maria Misiura</author>
   <pubDate>Mon, 20 Jan 2025 21:28:18 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15569&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>RE: Saving a file from generateclusters</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15557&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;I am using Windows 10 and MRIcroGL 1.2.20211006&amp;lt;/p&amp;gt;</description>
   <author>Zdenek Linha</author>
   <pubDate>Fri, 17 Jan 2025 13:52:18 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15557&amp;forum_id=4442</guid>
  </item>
  <item>
   <title>RE: Saving a file from generateclusters</title>
   <link>http://www.nitrc.org/forum/forum.php?thread_id=15557&amp;forum_id=4442</link>
   <description>&amp;lt;p&amp;gt;Are you using MacOS, Linux or Windows?&amp;lt;/p&amp;gt;</description>
   <author>Chris Rorden</author>
   <pubDate>Fri, 17 Jan 2025 13:47:35 GMT</pubDate>
   <guid>http://www.nitrc.org/forum/forum.php?thread_id=15557&amp;forum_id=4442</guid>
  </item>
 </channel>
</rss>
