Actions
Bug #924
closedLossless JPEG encoding adds Derivation Code Sequence to image
Start date:
2020-02-24
Due date:
% Done:
100%
Estimated time:
1:00 h
Module:
dcmjpeg
Operating System:
Compiler:
Description
It seems that the lossless JPEG encoder sets the first value of the ImageType attribute to DERIVED and adds a DerivationCodeSequence with the following content:
(0008,0100) SH [121327] # 6, 1 CodeValue (0008,0102) SH [DCM] # 4, 1 CodingSchemeDesignator (0008,0104) LO [Full fidelity image] # 20, 1 CodeMeaning
This behaviour should be changed. Lossless compression should not affect ImageType and thus does not require the addition of a DerivationCodeSequence item.
Other codecs in DCMTK (RLE, JPEG-LS, JPEG 2000) are not affected by this issue.
See DCMTK forum: https://forum.dcmtk.org/viewtopic.php?f=1&t=4944
Updated by Jörg Riesmeier over 5 years ago
- Priority changed from Normal to High
In any case, the currently used code for "Full fidelity image" from CID 7205 is not allowed for the DerivationCodeSequence (according to DICOM PS3.3), so the created DICOM images are not conforming to the DICOM standard.
Updated by Marco Eichelberg over 5 years ago
- Status changed from New to Closed
- Assignee set to Marco Eichelberg
- % Done changed from 0 to 100
- Estimated time set to 1:00 h
Closed by commit #3a9592795.
Actions