Wednesday, May 22, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: jwmmd
New Today New Today: 0
New Yesterday New Yesterday: 13
User Count Overall: 28657

People Online People Online:
Visitors Visitors: 12
Members Members: 0
Total Total: 12

Online Now Online Now:

ClearCanvas Community Forums

uncompress and forward
Last Post 2012-05-06 02:02 PM by netadmin@sandiegoimaging.com. 7 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
netadmin@sandiegoimaging.com
New Member
New Member
Posts:5

--
2012-04-10 02:47 PM  

Good Morning;

 

We are forwarding studies to a Fuji Synapse server from our Merge PACs via IS. The Fuji server will not accept the JPEG2000 lossy compressed that the PACS provides for older studies. As a work around we can either retrieve the the studies from our LTA then forward them to the Fuji server or via CC workstation that seems to do the conversion on the fly.

 

Any way to write a rule to convert to JPEG lossless and auto-forward in the IS?.

Cheers.

Richard. 

steve
Senior Member
Senior Member
Posts:2096

--
2012-04-11 11:25 AM  
Richard, unfortunately, no, there is not a rule to force decompression of a study when it is processed. You could convert the images to another compressed format, but you cannot explicitly decompress.

I'd assume you're using the Team Edition of the software? The IS should also decompress on the fly before sending to Fuji like the Workstation does (assuming that the Fuji server does not negotiate JPEG2000 Lossy as a transfer syntax).

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
netadmin@sandiegoimaging.com
New Member
New Member
Posts:5

--
2012-04-11 03:07 PM  

Steve;

 

Thanks for the quick reply. No I am using the Community Edition. Good motivation to put in a request to purchase the Team addition.

The Fuji SCP rejects the lossy compressed transfer syntax.

The current rule does a compress to lossless on processing but if I send a lossy study over it errors out with:  

 Unexpected error when executing command: DICOM Compress Command ClearCanvas.Dicom.Codec.DicomCodecException: No registered codec for: JPEG 2000 Image Compression.

Is it possible to "transcode" to JPEG Lossless or RLE ?

Thanks.

Richard.

 

steve
Senior Member
Senior Member
Posts:2096

--
2012-04-12 11:23 AM  
Richard,

Although perhaps it wasn't the most useful design, the Community Edition of the ImageServer accepts JPEG 2000 Lossy & Lossless images, but does not have a codec for JPEG 2000. This means the JPEG2000 images must be sent out in the same transfer syntax they were received in. The errors you're seeing are because we don't have a codec to do a decompress of the original image, and thus the "transcode" you're requesting. The Team Edition does include a JPEG 2000 codec, so it could do the decompress of the J2K for you.

So, there's something you might be able to do to help with this. You can disable the ImageServer's support for JPEG 2000 by modifying the rows in the PartitionTransferSyntax table for JPEG 2000 to set the Enabled bit to 0. This would more than likely force the MergePacs to decompress the Jpeg 2000 Lossy images before transferring them. In that case, the Fuji system could then receive the studies.

Alternately, you could purchase the Team Edition, and it would be able to automatically decompress the studies before sending them to Fuji...

Steve

Live and real-time support available for Personal, Team, and Cleome Edition customers.
netadmin@sandiegoimaging.com
New Member
New Member
Posts:5

--
2012-05-03 12:30 PM  
Thanks.

I will try disabling the transfer syntax. I have also reached out to one of your partners about the Team Edition.
netadmin@sandiegoimaging.com
New Member
New Member
Posts:5

--
2012-05-04 12:21 PM  
I set the enabled flag to false for that row and sent over some JPEG 2000 images and it threw this error:

Unexpected User exception, description: Unexpected exception on OnReceiveAssociateRequest or StartDelegate
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ClearCanvas.Dicom.Network.Scp.DicomScpHandler`1.ClearCanvas.Dicom.Network.IDicomServerHandler.OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
at ClearCanvas.Dicom.Network.DicomServer.OnReceiveAssociateRequest(ServerAssociationParameters association)

Do I need to restart the services after making the DB change?

Have to wait till after hours to mess with this system.

Thanks.
steve
Senior Member
Senior Member
Posts:2096

--
2012-05-04 12:31 PM  
Richard,

Yes, I believe you do have to restart the services for the change to take effect properly...

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
netadmin@sandiegoimaging.com
New Member
New Member
Posts:5

--
2012-05-06 02:02 PM  
Made the changes and restarted the services, works like a champ. The images transfer over to the Fuji SCP as expected. I am going to have to dig around in the logs on the Merge PACS to figure out what it is doing.

The Fuji synapse client displays the images with the compression warning so that is good, these studies are provided for comparison purposes only in any case.

Thanks again for the help.

Richard.
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved