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.
Decompressing large multiframe dataset
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Decompressing large multiframe dataset
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.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest