Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DICOM2DoseMatrix issue. #107

Open
mbower10 opened this issue Aug 2, 2024 · 0 comments
Open

DICOM2DoseMatrix issue. #107

mbower10 opened this issue Aug 2, 2024 · 0 comments

Comments

@mbower10
Copy link

mbower10 commented Aug 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant