Error opening DICOM-File with JPEG2000 Lossles

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Holger Franke
Posts: 20
Joined: Tue, 2007-09-04, 13:24
Location: Chemnitz, Germany
Contact:

Error opening DICOM-File with JPEG2000 Lossles

#1 Post by Holger Franke » Mon, 2020-10-05, 13:46

Hello!
Opening CT DICOM-Files from NewTom we get some errors in our software.
If we try to extract the layers with dcmj2pnm, we get the following message:

E: can't change to unencapsulated representation for pixel data
E: can't determine 'PhotometricInterpretation' of decompressed image
E: mandatory attribute 'PhotometricInterpretation' is missing or can't be determined
F: Missing attribute

As a special property these files have the following entry:
[0002,0010] Transfer Syntax UID 1.2.840.10008.1.2.4.90 JPEG 2000 Image Compression (Lossless Only)
Can this be the reason, how can this error be avoided?

Some DICOM viewers can open the file, we have to explain this to our customers...

Best regards,
Holger

J. Riesmeier
DCMTK Developer
Posts: 2284
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Error opening DICOM-File with JPEG2000 Lossles

#2 Post by J. Riesmeier » Mon, 2020-10-05, 16:20

The public DCMTK does not support compression/decompression of JPEG 2000 image compression. The list of supported transfer syntaxes of the dcmj2pnm tool can be found in the documentation: https://support.dcmtk.org/docs/dcmj2pnm ... r_syntaxes

OFFIS offers a commercial extension for the DCMTK if you are interested in JPEG 2000 support: https://dicom.offis.de/dcmjp2k

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest