You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the DICOM2DoseMatrix code has an issue reading in Unsigned Int Pixel data when the highest bit is set. I have an RTDose with Bits allocated and Stored = 16, High Bit = 15, and Pixel Representation = 0 (unsigned int). If I scale my Pixel data so that 32000 is the max, the data is read in correctly. If I scale the pixel data so that 65000 is the max value, then the maximum dose is about half what I expect, and the minimum dose is close to -Max Dose. I think it's reading those values in as signed short ints because the highest bit is set. I think any value > 32,768 in the Pixel data is going to cause this problem.
The text was updated successfully, but these errors were encountered:
I think the DICOM2DoseMatrix code has an issue reading in Unsigned Int Pixel data when the highest bit is set. I have an RTDose with Bits allocated and Stored = 16, High Bit = 15, and Pixel Representation = 0 (unsigned int). If I scale my Pixel data so that 32000 is the max, the data is read in correctly. If I scale the pixel data so that 65000 is the max value, then the maximum dose is about half what I expect, and the minimum dose is close to -Max Dose. I think it's reading those values in as signed short ints because the highest bit is set. I think any value > 32,768 in the Pixel data is going to cause this problem.
The text was updated successfully, but these errors were encountered: