Problem with 3.6.3 dcmSend

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
dicomDuty
Posts: 13
Joined: Fri, 2012-05-11, 20:57

Problem with 3.6.3 dcmSend

#1 Post by dicomDuty »

It seems to not want to decompress baseline JPEG:

This is dcmSend from 3.6.3.

I: Converting transfer syntax: JPEG Baseline -> Little Endian Explicit
I: Sending C-STORE Request (MsgID 1, USm)
W: DIMSE Warning: (SUN-DFENSTEM10,STENTOR_SCP): sendMessage: unable to convert dataset from 'JPEG Baseline' transfer syntax to 'Little Endian Explicit'
E: Failed sending C-STORE request: 0006:020e DIMSE Failed to send message
F: cannot send SOP instance: DIMSE Failed to send message
I: Aborting Association

I thought dcmSend would be automatic for this syntax. Any ideas on what I should do here? Thanks!

dicomDuty
Posts: 13
Joined: Fri, 2012-05-11, 20:57

Re: Problem with 3.6.3 dcmSend

#2 Post by dicomDuty »

I figured out the problem.

Here is the help for dcmsend:

+dls --decompress-lossless only decompress lossless compression (default)
+dly --decompress-lossy decompress both lossy and lossless compression

+dly does not decompress both, only lossy. You need to specify both tags (+dls +dly)

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

Re: Problem with 3.6.3 dcmSend

#3 Post by J. Riesmeier »

It is correct that dcmsend does not decompress lossy compressed DICOM objects by default (as documented). This is because the DICOM standard only requires an SCU to propose the Default Transfer Syntax (Implicit VR Little Endian) when the "original data" to be sent is not compressed in a lossy manner.
+dly does not decompress both, only lossy. You need to specify both tags (+dls +dly)
No, that's not true and, in fact, options +dls and +dly overwrite each other, i.e. the rightmost one on the command line "wins". Why do you think that you need to specify both? Option +dly should be sufficient.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest