Hello All,<div><br></div><div>Does anyone know who I need to get in contact with to register for the March workshop?<br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 3:14 AM, David Prakash <span dir="ltr">&lt;<a href="mailto:davidprakash@gmail.com">davidprakash@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear all<br>
<br>
I am trying to read the fiber data file using my own java code.<br>
In the header I am able to get the sFiberFileTag as &quot;FiberDat&quot;.<br>
<br>
Assuming fiber is stored as follows after the 128 bytes header:<br>
int nFiberLength; // fiber length<br>
unsigned char cReserved;<br>
RGB_TRIPLE rgbFiberColor; // R-G-B, 3 bytes totally<br>
int nSelectFiberStartPoint;<br>
int nSelectFiberEndPoint;<br>
XYZ_TRIPLE xyzFiberCoordinate[nFiberLength]; //x-y-z<br>
<br>
Can I say that there are nFiberNr fibers?<br>
For the first fiber data, I tried to read XYZ_TRIPLE data nFiberLength times<br>
but some how get EOF exception half way.<br>
<br>
I got a value of 704643132 for nFiberNr.<br>
These are the values for the first fiber:<br>
<br>
nFiberLength: 922746880<br>
cReserved: 1<br>
RGB_TRIPLE.r: 221<br>
RGB_TRIPLE.g: 138<br>
RGB_TRIPLE.b: 9<br>
nSelectFiberStartPoint: 0<br>
nSelectFiberEndPoint: 922746880<br>
<br>
I got the EOF while reading the 721879 th XYZ_TRIPLE data. Should<br>
there be 922746880 XYZ_TRIPLE data in the first fiber?<br>
<br>
Please advice.<br>
<font color="#888888">--<br>
Regards,<br>
David<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>David B. McCoy<br>Research Specialist - Olson Lab<br>Department of Psychology<br>Temple University - College of Liberal Arts<br><a href="mailto:dmccoy@temple.edu">dmccoy@temple.edu</a><br>

215-204-1708<br><br><br>Center for Cognitive Neuroscience<br>Department of Psychology<br>University of Pennsylvania<br><a href="mailto:dmccoy@psych.upenn.edu">dmccoy@psych.upenn.edu</a><br><br>
</div>