Hi Barb,<br><br>I think the problem is caused by the space in the file path. For example, your directory path contains &quot;Document[space]and[space]Settings&quot;. Our code is based on MS-DOS, which interprets such a space as the end of each attribute. So, in your case, the code thought the directory information ended after &quot;Documents&quot;.<br>
<br>I know that it&#39;s a silly problem. The code was written using the compiler provided by Microsoft but it doesn&#39;t work for some directory names used in Windows.....<br><br>Anyway, please move all your data to another directory without &quot;space&quot; in your file path and try again. In general, it is a good idea to avoid any directories with &quot;space&quot; in the file path when you use our programs.<br>
<br>Susumu<br><br><div class="gmail_quote">On Tue, Jun 30, 2009 at 12:33 PM, Barbara Bendlin <span dir="ltr">&lt;<a href="mailto:bbb@medicine.wisc.edu">bbb@medicine.wisc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>
I am having a problem loading an ROI for fiber tracking. What happens is this:<br>
After fiber tracking I draw the ROI in DTI Studio (genu of the corpus callosum for example).<br>
The fibers are displayed.<br>
I then save the ROI as &quot;binary map&quot; format.<br>
When I attempt to load the ROI again (using the load tab under &quot;ROI operation&quot;), I choose the RoiMap_ROI.map file and get this error message:<br>
&quot;file OPEN error: C:\Documents&quot;<br>
I get the same error message when the ROI is created in ROI Editor.<br>
Is this a problem with the location of my files? DTI studio .exe is located on C:\Program Files\dtistudio<br>
My ROI files are located in C:\Documents and Settings\dom-user\My Documents\Studies\<br>
Or maybe I am missing something else?<br>
Thanks for your help.<br>
Barb<br>
<br>
<br>
&gt;&gt;&gt; susumu &lt;<a href="mailto:susumu@mri.jhu.edu">susumu@mri.jhu.edu</a>&gt; 9/5/2008 11:40 AM &gt;&gt;&gt;<br>
<br>
<br>
Hi Shan,<br>
<br>
<br>
<br>
Hangyi may have a more &quot;official&quot; answer to your question, but I want to<br>
introduce you to the &quot;Binary Map&quot; option.<br>
<br>
<br>
<br>
When you store your ROI, there are several options for the format and one of<br>
them is the &quot;Binary Map&quot;. If you click it, you get 3 files. Two 3D binary<br>
files (your ROI pixels are 1 and all other pixels are 0) and one text file.<br>
You get the two binary files because you drew 2 ROIs. If you drew 3 ROIs,<br>
you get 3 binary files. Please open the text file and study what&#39;s inside.<br>
It is like a header file containing information about the ROI binary file<br>
paths and image dimensions. There you can also find &quot;operation&quot; fields, in<br>
which you can specify how to use each ROI files. If one ROI have operation<br>
&quot;0&quot;, then it is used as &quot;OR&quot;. &quot;1&quot; is for &quot;AND&quot;. There is an explanation at<br>
the end of the file. You can specify the two ROI files for CUT#1 and CUT#2<br>
too.<br>
<br>
<br>
<br>
This format is much more powerful because you can import any 1/0 binary<br>
maps, such as fMRI activation maps, and combine them with different<br>
operators (OR, AND, NOT, CUT etc). Also in this way, you should not have the<br>
problem you reported.<br>
<br>
<br>
<br>
Susumu<br>
<br>
<br>
<br>
  _____<br>
<br>
From: <a href="mailto:mristudio-users-bounces@mristudio.org">mristudio-users-bounces@mristudio.org</a><br>
[mailto:<a href="mailto:mristudio-users-bounces@mristudio.org">mristudio-users-bounces@mristudio.org</a>] On Behalf Of<br>
<a href="mailto:Shan.Shen@surrey.ac.uk">Shan.Shen@surrey.ac.uk</a><br>
Sent: Thursday, August 28, 2008 6:32 AM<br>
To: <a href="mailto:mristudio-users@mristudio.org">mristudio-users@mristudio.org</a><br>
Subject: [Mristudio-users] Save ROIs in fibre tracking<br>
<br>
<br>
<br>
Hi,<br>
<br>
<br>
<br>
I would like to use the &#39;cut&#39; operation to track fibres between two ROIs. I<br>
did the fibre tracking first, then drew the two ROIs, the fibres displayed<br>
were those between the two ROIs. However, if I save the ROIs and load them<br>
again, this time the fibres displayed are not the ones between the ROIs<br>
anymore, but are fibres passing through one of the ROIs. Could anyone tell<br>
me what the possible problem is? I tried saving the ROIs as different<br>
formats, but the problem is the same.<br>
<br>
<br>
<br>
Many thanks<br>
<br>
<br>
<br>
<br>
<br>
shan<br>
<br>
<br>
<br>
_______________________________________________<br>
Mristudio-users mailing list<br>
<a href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br>
<a href="http://lists.mristudio.org/mailman/listinfo/" target="_blank">http://lists.mristudio.org/mailman/listinfo/</a><br>
Unsubscribe, send a blank email to: <a href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>
</blockquote></div><br>