[gate-users] voxelised source

Justin Dingley weebl411 at ufl.edu
Sat Feb 25 08:54:21 CET 2006


Julia Trummer wrote:

>Bonjour!
>
>I try to use GATE with a voxelised source. When I use the brain
>interfile example I get the error that the header file hof3.i33 could
>not be opened.
>When I use my own ncat phantom, which I converted with xmedcon to
>inferfile, the error is: unrecognised type name: unsigned integer.
>I put both error messages here after. 
>Can anyone tell me whats wrong?
>Thanks
>
>Julia 
>
>/gate/source/ncat_source/interfileReader/readFile
>/afs/cern.ch/user/j/jtrummer/gate/gate_v2.1.0/ClearPEM/hof3.h33
>GateSourceVoxelImageReader::ReadFile : fileName:
>/afs/cern.ch/user/j/jtrummer/gate/gate_v2.1.0/ClearPEM/hof3.h33
> Header read from
>'/afs/cern.ch/user/j/jtrummer/gate/gate_v2.1.0/ClearPEM/
>hof3.h33'
> Data file name         'hof3.i33'
> Nb of planes:           55
> Nb of pixels per plane: 128 128
> Pixel size:             2.000e+00 2.000e+00
> Slice thickness:        2.000e+00
> Matrix size:            2.560e+02 2.560e+02
> Data type:              UNSIGNED INTEGER
>Error: Could not open header file 'hof3.i33'!
>
>
>
>
>/gate/source/ncat_source/interfileReader/readFile
>/afs/cern.ch/user/j/jtrummer/ncat/m002-m000-cl_test64_act_av.h33
>GateSourceVoxelImageReader::ReadFile : fileName:
>/afs/cern.ch/user/j/jtrummer/ncat/m002-m000-cl_test64_act_av.h33
>'nrecognised type name 'unsigned integer
>'nrecognised type name 'unsigned integer
>.....
> Header read from
>'/afs/cern.ch/user/j/jtrummer/ncat/m002-m000-cl_test64_a
>ct_av.h33'
>'Data file name         'm002-m000-cl_test64_act_av.i33
> Nb of planes:           0
> Nb of pixels per plane: 64 64
> Pixel size:             1.000e+00 1.000e+00
> Slice thickness:        0.000e+00
> Matrix size:            6.400e+01 6.400e+01
> Data type:
>Error: one of the matrix dimensions is zero!
>
>_______________________________________________
>gate-users mailing list
>gate-users at lphe1pet1.epfl.ch
>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>
>
>  
>
Not sure what the conversion that you used did exactly, but gate can 
only read integer values for phantoms- NCAT output is float 32. When I 
used it, I had to use something to convert to integer values.

-- 
Justin Dingley

Medical Physics
University of Florida
weebl411 at ufl.edu
(352)219-5529




More information about the Gate-users mailing list