Actions
Feature #587
closedMethod getUncompressedFrameSize() misses robustness and log output
Start date:
2014-02-05
Due date:
% Done:
100%
Estimated time:
Module:
dcmdata
Operating System:
Compiler:
Description
The DcmElement::getUncompressedFrameSize() method is not very robust and not very verbose with regards to log output.
E.g., when a DICOM image with PhotometricInterpretation "YBR_FULL_422" specifies a wrong value for SamplesPerPixel ("1"), the log output is
E: can't decompress first frame: Buffer for decompressed image (8 bits/sample) too small
and the image is not processed. It would be interesting to know more details about the reason, and, preferably, the value of PhotometricInterpretation should be checked for plausibility (to give a hint on the logger).
Actions