Negotiate JPEG2000 Lossless without the J2K license?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
bnoeafk
Posts: 32
Joined: Fri, 2012-10-12, 08:05

Negotiate JPEG2000 Lossless without the J2K license?

#1 Post by bnoeafk »

I understand that DCMTK can be downloaded without a license and that enables a LOT of functionality and that there is an additional license for converting images to JPEG2000. However assuming that I don't have a J2K license, will storescu still negotiate a JPEG2000 Lossless transfer syntax, either using -xv or --propose-j2k-lossless?

Example, when attempting

Code: Select all

storescu -v +sd +r --propose-j2k-lossless -aet DCMTX -aec DCMRX 192.168.56.61 104 ./AGECANONIX/
I get the following warnings, basically telling me that I'm proposing LittleEndianImplicit, even though I've requested JPEG2000Lossless?

Code: Select all

I: determining input files ...
I: checking input files ...
I: Requesting Association
I: Association Accepted (Max Send PDV: 16340)
I: Sending file: ./AGECANONIX/AGECANONIX/Specials 1CoronaryCTA_with_spiral _CTA_pre/CorCTA w-c  1.0  B20f - 6/IM-0001-0064.dcm
I: Transfer Syntax: JPEG2000 -> LittleEndianImplicit
I: Sending Store Request: MsgID 1, (CT)
XMIT: W: DIMSE Warning: (DCMTX,VPACS): sendMessage: unable to convert dataset from 'JPEG 2000 (Lossless or Lossy)' transfer syntax to 'Little Endian Implicit'
E: Store Failed, file: ./AGECANONIX/AGECANONIX/Specials 1CoronaryCTA_with_spiral _CTA_pre/CorCTA w-c  1.0  B20f - 6/IM-0001-0064.dcm:
E: 0006:020e DIMSE Failed to send message
E: Store SCU Failed: 0006:020e DIMSE Failed to send message
I: Aborting Association

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

Re: Negotiate JPEG2000 Lossless without the J2K license?

#2 Post by J. Riesmeier »

The SCP seems to accept only (or at least prefers) the Default Transfer Syntax, which is "Implicit VR Little Endian", and storescu is not able to decompress your JPEG2000-compressed DICOM image. That means, you should check whether you need to change the configuration on the receiver (SCP) side.

bnoeafk
Posts: 32
Joined: Fri, 2012-10-12, 08:05

Re: Negotiate JPEG2000 Lossless without the J2K license?

#3 Post by bnoeafk »

That's what I thought too (and certainly ILE was higher in the order to negotiate with), but in my testing I tried another command line utility (dcm4che) and that sent the same files just fine, as JPEG2000, without any further changes to the SCP

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

Re: Negotiate JPEG2000 Lossless without the J2K license?

#4 Post by Marco Eichelberg »

Looks to me as if the file you are trying to send is encoded using the JPEG 2000 (lossy or lossless) transfer syntax, whereas the command line option you are using with storescu only proposes JPEG 2000 (lossless only), which is a different transfer syntax in DICOM. Try calling storescu with --propose-j2k-lossy.

Post Reply

Who is online

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