Project

General

Profile

Actions

Bug #878

closed

img2dcm assigns wrong BitsAllocated value for 12-bit JPEG images

Added by Marco Eichelberg over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Application
Target version:
Start date:
2019-04-11
Due date:
% Done:

0%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

img2dcm has the ability to convert 12-bit (extended sequential) JPEG images to DICOM. Unfortunately, the tool in this case sets BitsAllocated=12 (which is not permitted in DICOM). BitsAllocated should be set to 16 in this case. Attached a sample JPEG image (from the IHE Connectathon 2019) and the result of the conversion to DICOM with DCMTK 3.6.4


Files

12-bit-lossy-jpeg.dcm (43.3 KB) 12-bit-lossy-jpeg.dcm Marco Eichelberg, 2019-04-11 10:54
12-bit-lossy-jpeg.jpg (42.5 KB) 12-bit-lossy-jpeg.jpg Marco Eichelberg, 2019-04-11 10:54
Actions

Also available in: Atom PDF