[Gate-users] problem with voxelized mouse phantom

Sarah Blind sarah.blind at univ-lorraine.fr
Mon Apr 25 11:27:51 CEST 2022

Dear Gate users, 

I'm trying to use the mouse phantom from [ https://neuroimage.usc.edu/neuro/Digimouse_Download | https://neuroimage.usc.edu/neuro/Digimouse_Download ] . 
So I have my phantom of the form mouse.hdr , mouse.img and here is my code: 

1. I name my phantom, open the file and choose the algorithm to track particles from voxel to voxel 
2. I convert my image grayscales into material definitions with an units to materials conversion descriptor 

/gate/world/daughters/name mouse 
/gate/world/daughters/insert ImageRegularParametrisedVolume 
/gate/mouse/geometry/setImage ../data/mouse.hdr 

/gate/HounsfieldMaterialGenerator/SetMaterialTable ../data/Schneider2000MaterialsTable.txt 
/gate/HounsfieldMaterialGenerator/SetDensityTable ../data/Schneider2000DensitiesTable.txt 
/gate/HounsfieldMaterialGenerator/SetDensityTolerance 0.1 g/cm3 
/gate/HounsfieldMaterialGenerator/SetOutputMaterialDatabaseFilename ../data/patient-HUmaterials.db 
/gate/HounsfieldMaterialGenerator/SetOutputHUMaterialFilename ../data/patient-HU2mat.txt 

I get the following error message 


GateVImageVolume.cc (l.739): I find R=0 in the image, while range stop at -1 

### WARNING ### setSkipEqualMaterials at false !! The Geant4 method is not safe since the release 9.5 - Need to be fixed 
Error opening file. 


Does someone has an idea how to solve this problem ? 

Thank you in advance for your help, 

Sarah Blind 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220425/18ce9fbf/attachment.html>

More information about the Gate-users mailing list