The range limitation of HU values when importing a DICOM file

Dear FLUKA and Flair experts,

I’m trying to import a DICOM file by using flair.
The range of its HU value is about -1000 ~ 2300.
And it finished OK when I was simulating a proton beam penetrating the DICOM.

However, when I multiplied the HU values of the DICOM file by a factor of 10, namely changing the range to -10000 ~ 23000.
It can be imported to flair (the .vxl file can be generated successfully).
But it finished with errors when I performed the proton beam simulation.

Moreover, when I multiplied the HU values of the DICOM file by a factor of 5. It worked well.

(For all the above conditions, I used the same .mat file where I set -30000<HU<30000 to water and Crho_min=Crho_max=1)

Are there boundaries or range limitations of the HU value for a DICOM file?

Hi @kwlibuaa

I could imagine several reasons that it might lead to errors.
However to properly debug it we would need the input files, dicom, voxel etc… so we can replicate the crash.

Dear Vasilis,

Thanks for your reply.
Attached is the file with two DICOM slices.
The HU values in CT_5_times.dcm were multiplied by a factor of 5, which worked well.
The HU values in CT_10_times.dcm were multiplied by a factor of 10, which did not work.
Please import the two .dcm files separately.

dicom_test.zip (428.7 KB)

A post was split to a new topic: HU value of each voxel in a .vxl file

Hi @kwlibuaa
your CT_10_times file contains only values 2 blocks of data
from -32768 … -29691
and 32536 … 32767
which do not seem correct (look the histogram below)

while the CT_5_times seems more logical from -5000 … 8070

there was something wrong in your manipulation