<p dir="ltr">Thanks Seb.</p>
<p dir="ltr">Follow up question. When using the 16 bit image and running a sim to calculate dose I get an error "can't not open file" (I can't remember the exact wording, i'm at home) when writing the output dose image. Is this a memory issue when using 16 bit and a 65 million voxel phantom?</p>
<p dir="ltr">I'll send the exact error when back at work tomorrow morning.</p>
<p dir="ltr">Cheers<br>
Jye</p>
<div class="gmail_quote">On 12 Jun 2014 15:58, "JAN Sebastien" <<a href="mailto:sebastien.jan@cea.fr">sebastien.jan@cea.fr</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi,<br>
The interfile reader can only read unsigned 16 bits data type.<br>
Cheers<br>
Seb<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>De :</b> <a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a> [<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>] de la part de Jye Smith [<a href="mailto:jye.smith@gmail.com" target="_blank">jye.smith@gmail.com</a>]<br>
<b>Envoyé :</b> jeudi 12 juin 2014 07:20<br>
<b>À :</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br>
<b>Objet :</b> [Gate-users] 8 bit interfile<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Everyone,
<div><br>
</div>
<div>Im having trouble reading an 8 bit interfile with gate. My understanding is that I only need to modify the below tag from 2 -> 1.</div>
<div><br>
</div>
<div>
<div><i>!number of bytes per pixel := 1</i><br>
</div>
</div>
<div><br>
</div>
<div>But when running the sim Gate throws the below error. Looks like it is still trying to read 16 bits per pixel and hence only read half the required pixels before running out of file to read.</div>
<div><br>
</div>
<div>
<div><i>Error: the number of pixels that were read from the data file (32768000)</i></div>
<div><i>is inferior to the number computed from its header file (65536000)!</i></div>
</div>
<div><br>
</div>
<div>Is there something in a macro I need to add to read an 8 bit interfile?</div>
<div><br>
</div>
<div>Cheers</div>
<div>Jye</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>