<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<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 tabindex="-1">
<div style="direction: ltr;" id="divRpF481586"><font color="#000000" face="Tahoma" size="2"><b>De :</b> gate-users-bounces@lists.opengatecollaboration.org [gate-users-bounces@lists.opengatecollaboration.org] de la part de Jye Smith [jye.smith@gmail.com]<br>
<b>Envoyé :</b> jeudi 12 juin 2014 07:20<br>
<b>À :</b> gate-users@lists.opengatecollaboration.org<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>
</body>
</html>