Reading compressed DICOM JPEG2K images

Questions regarding the DCMJP2K library, a DCMTK add-on that implements support for JPEG 2000 compression (lossy and lossless) in DCMTK

Moderator: Moderator Team

Post Reply
Posts: 6
Joined: Mon, 2020-08-31, 07:05

Reading compressed DICOM JPEG2K images

#1 Post by ali » Sat, 2021-06-12, 17:48


We want to work with smaller DICOM images in our system.
My question - is it possible to read a compressed (lossless) DICOM JPEG2K image without decompressing?

Thanks in advance.

Michael Onken
DCMTK Developer
Posts: 2022
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany

Re: Reading compressed DICOM JPEG2K images

#2 Post by Michael Onken » Mon, 2021-07-05, 11:53


yes, you can read it like any other DICOM file using DCMTKs dcmdata library (this is for example, what also the dcmdump does). Here is a short code example in the dcmdata documentation start page.

Best regards,

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest