Problems using storescu data decompression flags

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Krishna Nanda
Posts: 1
Joined: Wed, 2020-08-05, 06:51

Problems using storescu data decompression flags

#1 Post by Krishna Nanda » Mon, 2020-08-10, 22:49


We have a dicom file with the image data in compressed jfif format. We would like to send it to another dicom node as a dicom file with no data compression. We were exploring various options using storescu in dcmtk to decompress the imaging data with no success.
e.g. storescu -nh +r +sd -x= -xd +cl 0 -v 8082 -aet DCM4CHEE -aec STORESCP C:\Data

Any suggestions on using the right flags/command line with storescu or even using other tools would be very helpful.

Thank you

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

Re: Problems using storescu data decompression flags

#2 Post by J. Riesmeier » Tue, 2020-08-11, 18:50

storescu has experimental support for compression/decompression of DiCOM images. This support is enabled by compiling the tool with the macro ON_THE_FLY_COMPRESSION being defined.

I personally would rather use the dcmsend tool instead, which has official support of image decompression. The list of supported transfer syntaxes is available when starting the tool with option --list-decoders, e.g.:

Code: Select all

Transfer syntaxes supported natively:
- Little Endian Implicit
- Little Endian Explicit
- Big Endian Explicit

Transfer syntaxes supported by decoders:
- Deflated Explicit VR Little Endian
- JPEG Baseline
- JPEG Extended, Process 2+4
- JPEG Spectral Selection, Non-hierarchical, Process 6+8
- JPEG Full Progression, Non-hierarchical, Process 10+12
- JPEG Lossless, Non-hierarchical, Process 14
- JPEG Lossless, Non-hierarchical, 1st Order Prediction
- JPEG-LS Lossless
- JPEG-LS Lossy (Near-lossless)
- RLE Lossless

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest