[Gate-users] ERROR: The image contains HU indices out of range of the HU range

Mahdjoub Hamdi mahdjoub.hamdi at hotmail.fr
Mon Feb 14 03:51:42 CET 2022


Hi Abu Yusuf,

The file HU2mat.txt displayed in GATE error message is a "look-up table" used by GATE to convert each range of HU values in your CT image into tissue/organ material defined in the GATE material database. So error is saying that there are some HU values in your CT image that are defined in the  HU2mat.txt. You have two options, whether reacaling the HUs values in your CT images according to the HU values in the HU2mat.txt. Or modifying the later by adding the out of range HU values in your CT image and adding it to the HU2mat.txt.

I hope it helps,
Mahdjoub
________________________________
From: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> on behalf of Mohammed REZZOUG <nmedrezz at gmail.com>
Sent: Sunday, February 13, 2022 15:50
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] ERROR: The image contains HU indices out of range of the HU range

Dear Gate users,
I want to run a simulation with a CT images, but I've got the following error:

--------
<!> *** WARNING *** <!>  The image contains HU indices out of range of the HU range found in /home/med/Linac_ap15_9m/data/patient-HU2mat.txt
HU    min, max: -1001, 3001
Image min, max: -1000, 3071

[Volume-0] ERROR: too many HU values are out of the range of the materials table:
******** 0 underflows (HU<-1001) ********
******** 89 overflows (HU>3001) ********
[Volume-0] (The maximum 'bad' fraction is 0 and the image has 20709376 voxels,
so maximum 0 out-of-range HU values are allowed.
Possible solutions: fix your input image, or expand the HU range of the HU-to-materials table.
Or, if you really know what you are doing, you can set the 'setMaxOutOfRangeFraction' option to a nonzero value larger than 4.29757e-06 .)
GateVImageVolume.cc (l.469): ABORT

---------

Thank you in advance.


Abu Yusuf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220214/530f2d5f/attachment.html>


More information about the Gate-users mailing list