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

What will happen if a DICOM has PixelData length lower than standard formula? #12

Open
iamatsundere opened this issue Oct 6, 2022 · 0 comments

Comments

@iamatsundere
Copy link
Collaborator

iamatsundere commented Oct 6, 2022

Hi

I have a standard formula to calculate the desired length of PixelData: ROWS * COLUMNS * NUMBER_OF_FRAMES * SAMPLES_PER_PIXEL * (BITS_ALLOCATED/8) to validate DICOM. If the PixelData length is lower than the result of this formula, I marked that my DICOM has invalid PixelData and my DICOM viewers can't view it, they thrown error. However, some of my files have PixelData length lower than expected value but the DICOM viewer can process them as well. So, how is the difference, and how can I recognize which data is valid or not. Sorry for my bad english.

Thanks!

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