Thursday, February 09, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: VMCCNY
New Today New Today: 18
New Yesterday New Yesterday: 26
User Count Overall: 20581

People Online People Online:
Visitors Visitors: 10
Members Members: 4
Total Total: 14

Online Now Online Now:
01: tservice
02: Chimarides
03: Leighann
04: lecalos

ClearCanvas Community Forums

Unable to find matching negotiated presentation context for sop Digital Mammography
Last Post 2010-02-16 07:36 AM by jcorba. 7 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
jcorba
New Member
New Member
Posts:7

--
2010-01-28 02:41 PM  

 

Hi,

First off I'm totally new to DICOM.

I'm using the DICOM toolkit to implement a SCP receiver.

I get this error message

Unable to find matching negotiated presentation context for sop Digital Mammography X-Ray Image Storage – For Presentation and syntax JPEG 2000 Image Compression (Lossless Only)

Am I missing some DDLs or there's a new DICOM toolkit that solves this problem.

Thanks!

Joe

jasper.yeh
Senior Member
Senior Member
Posts:521
Avatar

--
2010-02-02 12:30 PM  
Hi Joe,

Sorry, we do not support JPEG 2000 compressed images at the moment. We originally had a JPEG 2000 codec built using an open source toolkit, but there turned out to be a bug in the toolkit that causes image corruption, and so we had to remove it from release. We do have a JPEG 2000 codec built using a proprietary toolkit which we intend to make available as a paid-for plugin. If you want more information on this option, please contact us directly (see Contact Us at the top of this page).
// Jasper
jcorba
New Member
New Member
Posts:7

--
2010-02-02 12:40 PM  
Thanks Jasper,

I'll bring it up, but we have licensed Lead Tools, so I'm not sure the pay option
would fly ;-)

Regards,

Joe
jasper.yeh
Senior Member
Senior Member
Posts:521
Avatar

--
2010-02-02 12:45 PM  
Hi Joe,

The original codec using the open source toolkit is still available in the source tree for reference (and really in case the bug ever gets fixed and we can release the codec again). It shouldn't take much to, say, modify it to use a different toolkit :-)
// Jasper
jcorba
New Member
New Member
Posts:7

--
2010-02-02 02:10 PM  
Thanks Jasper,

I'll give a shot, because
I did a test with LeadTools SCP it worked but it took 8 minutes & 4 sec forr 1300 images. Not acceptable at all.

-------------------Header---------------------
Timestamp: 2/2/2010 1:07:09 PM
Message: StorageScu.Send - Association Accepted:
{0}
Category: Application Context: ==DICOM Application Context Name
Implementation Class: 1.3.6.1.4.1.25403.1.1.1
Implementation Version: Dicom 0.1
Local Maximum PDU Size: 116794
Remote Maximum PDU Size: 116794
Called AE Title: xxxxxxxx
Calling AE Title: Exxxxxxx
Presentation Contexts: 4
Presentation Context 1 [Accept] Abstract: Secondary Capture Image Storage Transfer: Explicit VR Little Endian
Presentation Context 3 [Accept] Abstract: CT Image Storage Transfer: Explicit VR Little Endian
Presentation Context 5 [Accept] Abstract: Positron Emission Tomography Image Storage Transfer: Explicit VR Little Endian
Presentation Context 7 [Accept] Abstract: Computed Radiography Image Storage Transfer: Explicit VR Little Endian

Priority: -1
EventId: 1
Severity: Information
Title:
Application Domain:Uploader.exe
Process Id: 4412
Process Name:
Win32 Thread Id: 336
Thread Name: DicomClient: xxxxxxxxxxxxxxx:9119 [10]
Extended Properties:

-------------------Header---------------------
Timestamp: 2/2/2010 1:15:04 PM
Message: StorageScu.Send - OnReceiveResponseMessage-Completed sending C-STORE-RQ messages, releasing association.
stewart
Senior Member
Senior Member
Posts:2032

--
2010-02-12 02:19 PM  
Hi Joe, you're just implementing the receiver side, right? Do you actually need to be able to decompress the images that you receive? If not, you can just add the correct Presentation Contexts in your SCP implementation so that you can receive J2K images. This is exactly what our ImageServer does - it doesn't have to have a matching codec for each Transfer Syntax.

Hope this helps,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
jcorba
New Member
New Member
Posts:7

--
2010-02-12 03:39 PM  
Thanks Stewart,

I'll try it as soon as I figure it out how to do it ;-)

Regards,

Jow
jcorba
New Member
New Member
Posts:7

--
2010-02-16 07:36 AM  
Hi Stewart,

It's working. Here is what did to make work. I hope it will help someone.
pcid = assoc.AddPresentationContext(SopClass.DigitalMammographyXRayImageStorageForPresentation);
assoc.AddTransferSyntax(pcid, TransferSyntax.ExplicitVrLittleEndian);
assoc.AddTransferSyntax(pcid, TransferSyntax.ImplicitVrLittleEndian);
assoc.AddTransferSyntax(pcid, TransferSyntax.Jpeg2000ImageCompressionLosslessOnly);

Thanks!
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.