Decompressing large multiframe dataset

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
csmeso
Posts: 16
Joined: Mon, 2006-06-19, 15:21

Decompressing large multiframe dataset

#1 Post by csmeso » Mon, 2021-07-26, 16:17

I want to send a large JPEG-compressed multiframe dataset to an SCP which requires decompression (i.e. does not accept lossy compression). But decompressing using pDataset->chooseRepresentation() doesnt work because the uncompressed dataset is too large.
I tried the same dataset to expand using dcmdjpeg utility, this brings "Virtual Memory exhausted".
Is there any way to decompress individual images on-the-fly (frame-by-frame) while sending the (uncompressed) dataset? This would probably reduce the required memory to one decompressed frame only.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1301
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: Decompressing large multiframe dataset

#2 Post by Marco Eichelberg » Tue, 2021-08-31, 09:47

No, unfortunately DCMTK lacks this functionality. We support frame-by-frame decompression, and the transmission of a DICOM file without ever loading everything into memory, but this specific combination does not work, and would be rather difficult to implement.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest