Project

General

Profile

Actions

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.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Library and Apps
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:
Actions #1

Updated by Marco Eichelberg about 12 years ago

  • Module set to dcmdata

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.

Actions #2

Updated by Jörg Riesmeier about 12 years ago

  • Category set to Library and Apps
Actions

Also available in: Atom PDF