<?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=798" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC BXH/XCEDE Tools Forum: open-discussion</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=798</link>
  <description>General Discussion</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Sat, 11 Apr 2026 18:22:20 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>Docker and Singularity containers for FBIRN</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=13797&amp;forum_id=798</link>
   <description>Docker image is avaiable at https://hub.docker.com/repository/docker/diffdocker/fbirnqa.&lt;br /&gt;
&lt;br /&gt;
You can create a singularity contaner using the docker image (recommended)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##Run the docker image&lt;br /&gt;
&lt;br /&gt;
docker run fbirnqa:1.11.14 &quot;input dir&quot; &quot;output dir&quot;&lt;br /&gt;
&lt;br /&gt;
##Create a singularity container&lt;br /&gt;
&lt;br /&gt;
singularity build fbirnqa-1.11.14.sif docker://diffdocker/fbirnqa:1.11.14&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##Run using the singularity container&lt;br /&gt;
&lt;br /&gt;
singularity run --cleanenv fbirnqa.sif &quot;input dir&quot; &quot;output dir&quot;&lt;br /&gt;
You may have to bind the data directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Chandana Kodiweera</description>
   <author>Chandana Kodiweera</author>
   <pubDate>Thu, 22 Sep 2022 18:39:40 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=13797&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: ROI and ghost mask output</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</link>
   <description>You can download the source code using svn using the instructions here:&lt;br /&gt;
&lt;br /&gt;
http://www.nitrc.org/scm/?group_id=200&lt;br /&gt;
&lt;br /&gt;
If you wish to submit modifications to save the ghost mask, I will be happy to consider them!  Thanks!</description>
   <author>Syam Gadde</author>
   <pubDate>Thu, 12 Jan 2017 14:55:53 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: ROI and ghost mask output</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</link>
   <description>Dear Syam Gadde,&lt;br /&gt;
&lt;br /&gt;
thanks for your quick and helpful answer. &lt;br /&gt;
&lt;br /&gt;
So, with the exclusion of the dilated mask from the shifted ghost mask, everything should be fine. I have two wo more questions:&lt;br /&gt;
&lt;br /&gt;
1 - Where can I get the source code? I downloaded the tools from the NITRC site and have not found any source code in this package:&lt;br /&gt;
http://www.nitrc.org/frs/download.php/7385/bxh_xcede_tools-1.11.1-lsb30.i386.tgz&lt;br /&gt;
&lt;br /&gt;
2 - Is it possible to save an output of the roi and ghost mask (like on the left side of the attached figure)?&lt;br /&gt;
&lt;br /&gt;
Best Regards&lt;br /&gt;
&lt;br /&gt;
Sebastian Höfle&lt;br /&gt;
D'Or Institute for Research and Education (IDOR)&lt;br /&gt;
Phone/Fax: +55 21 3883 6000&lt;br /&gt;
e-mail: sebastian.hoefle@idor.org&lt;br /&gt;
http://www.idor.org&lt;br /&gt;
&lt;br /&gt;
The D'Or Institute is a not for profit research and educational organization partially supported by independent grants from the Rede D'Or health organization.</description>
   <author>Sebastian Hoefle</author>
   <pubDate>Thu, 12 Jan 2017 11:25:56 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: ROI and ghost mask output</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</link>
   <description>I don't see your attached file, but it's OK for the &amp;quot;ghost mask&amp;quot; to overlap with the &amp;quot;real phantom&amp;quot; -- the voxels considered in calculation are only those that are in one mask and not in the other.  That results in &amp;quot;ghost-only&amp;quot; voxels, and &amp;quot;non-ghost-only&amp;quot; voxels.  I guess typically the two ROIs would look like an hourglass on its side and it's shifted counterpart.  So if your ROIs look like that, then you are probably doing the right thing.  You can look at the code in fmriqa_ghostiness.c if want details on how the metrics are calculated (once the original dilated mask is generated).</description>
   <author>Syam Gadde</author>
   <pubDate>Wed, 11 Jan 2017 20:57:21 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</guid>
  </item>
  <item>
   <title>ROI and ghost mask output</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</link>
   <description>Dear BIRN developers,&lt;br /&gt;
&lt;br /&gt;
first of all, thanks a lot for providing the tools for the QA.&lt;br /&gt;
&lt;br /&gt;
We have a minor issue for the fmri_phantom_qa.pl routine (included in bxh_xcede_tools-1.11.1-lsb30.x86_64). The routine works without any problems and produces the expected html report. However, we would like to have more information about the exact location of the ROI and ghost masks. Is it possible to have an output file for the internally created ROI and ghost mask (similar to the left figure of the attached file)? I had a look into the manual and found these informations:&lt;br /&gt;
&lt;br /&gt;
For EPI sequences, this image plots the&lt;br /&gt;
&amp;quot;ghostiness&amp;quot; of the data. The ghost metric is&lt;br /&gt;
calculated for each volume by calculating a&lt;br /&gt;
dilated mask (&amp;quot;original mask&amp;quot;) of the motion corrected,&lt;br /&gt;
detrended data, and shifting it by&lt;br /&gt;
N/2 voxels in the appropriate axis to create a&lt;br /&gt;
&amp;quot;ghost mask&amp;quot;. The mean intensities of those&lt;br /&gt;
voxels in the original mask and not in the&lt;br /&gt;
ghost mask, and of voxels in the ghost mask&lt;br /&gt;
and not in the original mask are calculated.&lt;br /&gt;
The mean intensity of the top 10 percent&lt;br /&gt;
of ghost-only voxels (&amp;quot;meanBrightGhost&amp;quot;)&lt;br /&gt;
is also calculated. The ghost values are&lt;br /&gt;
plotted as a percentage of the mean intensity&lt;br /&gt;
of non-ghost voxels. The dilated mask is&lt;br /&gt;
generated using the following sequence of&lt;br /&gt;
AFNI commands:&lt;br /&gt;
3dvolreg --prefix REG INPUT&lt;br /&gt;
3dDetrend --polort 2 --prefix&lt;br /&gt;
DETREND REG&lt;br /&gt;
3dTstat --mean --prefix MEAN REG&lt;br /&gt;
3dAutomask --q --dilate 4 --prefix&lt;br /&gt;
MASK MEAN&lt;br /&gt;
&lt;br /&gt;
Based on these informations, I tried to reproduce the ghost mask (see right figure of the attached file), by shifting the dilated mask by N/2 voxels (half of the FOV). The resulting ghost mask has substantial overlap with the phantom for our dimensions (spherical phantom diameter: 165 mm ; FOV: 220 mm; Matrix: 64x64). Is this the expected location for the ghost mask or did I misunderstand something? Are there any alternatives or recommendations for creating/confirming the position of the ROI and ghost mask?&lt;br /&gt;
&lt;br /&gt;
Best Regards&lt;br /&gt;
&lt;br /&gt;
Sebastian Höfle&lt;br /&gt;
D'Or Institute for Research and Education (IDOR)&lt;br /&gt;
Phone/Fax: +55 21 3883 6000&lt;br /&gt;
e-mail: sebastian.hoefle@idor.org&lt;br /&gt;
http://www.idor.org</description>
   <author>Sebastian Hoefle</author>
   <pubDate>Wed, 11 Jan 2017 20:36:54 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=7601&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: Phantom QA script error</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4475&amp;forum_id=798</link>
   <description>For any who find this thread but not the other one with the same issue -- I posted a solution. See the &amp;quot;help&amp;quot; forum, question by Shashwath Meda on the same topic.</description>
   <author>Matthew Johnson</author>
   <pubDate>Fri, 25 Mar 2016 1:19:01 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4475&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: Is there any materials that shows the result?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</link>
   <description>Thanks Syam.</description>
   <author>Ruiyang Ge</author>
   <pubDate>Thu, 11 Feb 2016 17:39:52 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</guid>
  </item>
  <item>
   <title>RE: Is there any materials that shows the result?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</link>
   <description>This page has some details on the phantom QA:&lt;br /&gt;
&lt;br /&gt;
  https://xwiki.nbirn.org:8443/bin/view/Function-BIRN/AutomatedQA&lt;br /&gt;
&lt;br /&gt;
The results of fmriqa_generate.pl are documented on the QA results themselves (there are question marks you can click to bring up descriptions of all the metrics).</description>
   <author>Syam Gadde</author>
   <pubDate>Thu, 11 Feb 2016 15:11:54 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</guid>
  </item>
  <item>
   <title>Is there any materials that shows the result?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</link>
   <description>Is there any material or manual that explain the result? I cannot understand some part of the results.</description>
   <author>Ruiyang Ge</author>
   <pubDate>Fri, 05 Feb 2016 20:06:30 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=6491&amp;forum_id=798</guid>
  </item>
  <item>
   <title>   RE:  bash:
 ./bxhabsorb: No such file or directory</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4170&amp;forum_id=798</link>
   <description>Running it while you're in the bin directory should also work but on most linux systems you need to run it like this:&lt;br /&gt;
&lt;br /&gt;
./bxhabsorb&lt;br /&gt;
&lt;br /&gt;
Without the ./ (which refers to the current directory) most Linux environments will not find bxhabsorb because the current directory is not part of the default search path, for security reasons.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you add the full path to the bin directory to your search path:&lt;br /&gt;
&lt;br /&gt;
export PATH=&amp;quot;$PATH&amp;quot;:/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin&lt;br /&gt;
&lt;br /&gt;
then you will be able to run bxhabsorb without specifying any directory.</description>
   <author>Syam Gadde</author>
   <pubDate>Thu, 14 Jan 2016 1:10:23 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4170&amp;forum_id=798</guid>
  </item>
 </channel>
</rss>
