[Gate-users] analyze image using the error.!!

jongskull jongskull at gmail.com
Thu Sep 23 13:03:46 CEST 2010


 Hello all,

I would like to insert a CT image for radiotherapie
Another way to use 3D images is available in GATE.
To insert an image you may use the following commands:

/gate/world/daughters/name                      patient
/gate/world/daughters/insert                    ImageNestedParametrisedVolume
/gate/patient/geometry/SetImage                 data/patient1.hdr
/gate/geometry/setMaterialDatabase              data/Humaterials.db
/gate/patient/geometry/SetHUToMaterialFile      data/Hu2mat.txt

To generate a correspondence between HU (voxel values) and material, you may use the following commands:

/gate/HounsfieldMaterialGenerator/SetMaterialTable                  data/Schneider2000MaterialsTable.txt 
/gate/HounsfieldMaterialGenerator/SetDensityTable                   data/mySchneider2000DensitiesTable.txt
/gate/HounsfieldMaterialGenerator/SetDensityTolerance               0.1 g/cm3
/gate/HounsfieldMaterialGenerator/SetOutputMaterialDatabaseFilename data/HUmaterials.db
/gate/HounsfieldMaterialGenerator/SetOutputHUMaterialFilename       data/HU2mat.txt
/gate/HounsfieldMaterialGenerator/Generate

Moreover I've check up that the format of my image was well in "analyze 7.5" (I make imageJ ).

However, when I run GATE, I've got this kind of error 
src/GateHounsfieldMaterialTable.cc (l.129): Current H1=-1050 is different from previous H2=-32768. Abort.

I already have the patch_2107.tar.... and Example1 is a well rum....
It's seems this error comes from to CT calibration test file " Schneider2000MaterialTable.txt, Schneider2000DensitiesTable.txt"

Have you got any idea to solve this problem ?
Thanks.

Best regards,

------------------------------------------
Jongwon  Kim
Plan Room. Dept. Proton Therapy Center
National Cancer Center.
Office  : 82)+31-920-0132
Mobile : 82)+11-9017-3889
E-mail : jongskull at gmail.com
------------------------------------------



More information about the Gate-users mailing list