[Gate-users] voxelized phantom
Isabel Catarina Duarte
catarinaduarte86 at hotmail.com
Fri Dec 18 10:03:59 CET 2009
Hi Nouria,
I had the same problem with my phantom. It became solved when (I think!) I used the example of hof3: I copied all the text in the example and i replaced the values in the example by my values.
Try this!
Catarina Duarte
> Date: Thu, 17 Dec 2009 23:31:21 +0000
> From: nbendj at yahoo.fr
> To: gate-users at lists.healthgrid.org
> Subject: [Gate-users] voxelized phantom
>
> Dear users' gate,
> I have some difficulties to run my macro with a voxelized phantom. However, I've checked that the pixel is 16 bits unsingned integer (2 bytes per pixel) in my header file and I've also verified my data file : its size is 127926272 Bytes which corresponds to (512x512x244x2) and its min and max values are respectively 0 and 65535 (I read the data easily with Matlab).
> But when I run my macro I get the following message:
> 'nrecognised type name 'unsigned integer
> Header read from 'se2_1.h33'
> 'Data file name 'se2_1.i33
> Nb of planes: 244
> Nb of pixels per plane: 512 512
> Pixel size: 3.906e-01 3.906e-01
> Slice thickness: 3.200e+00
> Matrix size: 2.000e+02 2.000e+02
> Data type:
> '!ror: Could not open header file 'se2_1.i33
> ERROR - G4Box()::G4Box(): randohead_S
> Dimensions too small ! - 0, 0, 0
>
> *** G4Exception : InvalidSetup
> issued by : G4Box::G4Box()
> Invalid dimensions. Too small.
> *** Fatal Exception *** core dump ***
>
> *** G4Exception: Aborting execution ***
> Aborted
>
> To construct my interfile, I've grouped my 244 files ( because each slice is in one DICOM file and the pixel is encoded with 16 bits signed) in one file which its extension becomes .raw and the pixel is now 16 bit unsigned. Then I convert the file .raw to interfile by xmedcon.
> I couldn't see why it couldn't open the data file ? and why it wrote
> first " 'nrecognised type name 'unsigned integer" while my macro runs
> very well with the interfile gived in the example gate_v5.0.0 (hof3.h33
> and hof3.i33).
> Could anyone help me to resolve this problem?
> Thanks a lot
> Nouria
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
_________________________________________________________________
Novo Windows 7: Encontre o PC certo para si. Mais informações.
http://windows.microsoft.com/shop
More information about the Gate-users
mailing list