[Gate-users] 8 bit interfile

JAN Sebastien sebastien.jan at cea.fr
Thu Jun 12 07:58:30 CEST 2014


Hi,
The interfile reader can only read unsigned 16 bits data type.
Cheers
Seb
________________________________
De : gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] de la part de Jye Smith [jye.smith at gmail.com]
Envoyé : jeudi 12 juin 2014 07:20
À : gate-users at lists.opengatecollaboration.org
Objet : [Gate-users] 8 bit interfile

Hi Everyone,

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.

!number of bytes per pixel := 1

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.

Error: the number of pixels that were read from the data file (32768000)
is inferior to the number computed from its header file (65536000)!

Is there something in a macro I need to add to read an 8 bit interfile?

Cheers
Jye
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140612/4f039eff/attachment.html>


More information about the Gate-users mailing list