Feature #342
open
Option in dcmcjpeg to determine whether to compress icon image sequence pixel data or to leave it uncompressed
Added by Omar El Gazzar over 14 years ago.
Updated about 12 years ago.
Category:
Library and Apps
The compression codecs in DCMTK recursively search a DcmDataset instance for all occurances of a PixelData element, and try to apply compression to each element found, even when this is nested within a sequence, e.g. IconImageSequence or some private sequence.
This is OK for the icon image sequence, where the DICOM rules say that it may either be compressed or remain uncompressed, but there are problems sometimes with private sequences. We have received a sample image that contains, in LittleEndianExplicit, a pixel data element that actually contains JPEG data and thus fails compression because there are not sufficient bytes.
It would be good to have an option in all codecs to limit compression/decompression to only the main dataset, and to ignore all other occurances of the PixelData element.
- Category set to Library and Apps
Also available in: Atom
PDF