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!
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!