[Fixed] StoreSCU and Fuji PACS

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

[Fixed] StoreSCU and Fuji PACS

#1 Post by martinrame »

Hi, I'm trying to send an CR image to a Fuji Synapse PACS without luck using this command:

Code: Select all

storescu -v -d -xf storescu.cfg Fuji -aec SYNAPSEDICOMSCP -aet D
ICOMGATEWAYSCU 192.168.0.175 104 "P:\ris\dicom\Indina\1.2.392.200036.9125.4.0.10
1659260.1327633152.426942455"
As you can note, I'm using the config file "storescu.cfg". I added this to this file (in [[PresentationContexts]]):

Code: Select all

[FujiPresentationContext]
PresentationContext1  = 1.2.392.200036.9125.1.1.2\JPEGLossless
and this to the [[profiles]] section:

Code: Select all

[Fuji]
PresentationContexts = FujiPresentationContext
Note: the presentation context "1.2.392.200036.9125.1.1.2" corresponds to "Fuji Private CR Storage" SOP class.

The file is sent, but the PACS rejects it with an "Status=Refused: OutOfResources". I'm sure the server has plenty of disk space and RAM to process this image. What can I do to fix this?

This is the output from the command:

Code: Select all

Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    
Their Implementation Version Name: 
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    DICOMGATEWAYSCU
Called Application Name:     SYNAPSEDICOMSCP
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
  Context ID:        1 (Proposed)
    Abstract Syntax: 1.2.392.200036.9125.1.1.2
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =JPEGLossless:Non-hierarchical-1stOrderPrediction
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Requesting Association
Constructing Associate RQ PDU
PDU Type: Associate Accept, PDU Length: 181 + 6 bytes PDU header
  02  00  00  00  00  b5  00  01  00  00  53  59  4e  41  50  53
  45  44  49  43  4f  4d  53  43  50  20  44  49  43  4f  4d  47
  41  54  45  57  41  59  53  43  55  20  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  10  00  00  15  31  2e
  32  2e  38  34  30  2e  31  30  30  30  38  2e  33  2e  31  2e
  31  2e  31  21  00  00  1e  01  00  00  00  40  00  00  16  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  2e  34  2e  37  30  50  00  00  32  51  00  00  04  00  00  fd
  e8  52  00  00  12  31  2e  32  2e  38  34  30  2e  31  31  33
  38  34  35  2e  31  2e  31  55  00  00  10  53  79  6e  61  70
  73  65  56  33  2c  32  2c  31  2c  32  35
Transport connection: TCP/IP, unencrypted.
Association Parameters Negotiated:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    1.2.840.113845.1.1
Their Implementation Version Name: SynapseV3,2,1,25
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    DICOMGATEWAYSCU
Called Application Name:     SYNAPSEDICOMSCP
Responding Application Name: SYNAPSEDICOMSCP
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 65000
Presentation Contexts:
  Context ID:        1 (Accepted)
    Abstract Syntax: 1.2.392.200036.9125.1.1.2
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =JPEGLossless:Non-hierarchical-1stOrderPrediction
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Association Accepted (Max Send PDV: 64988)
--------------------------
Sending file: P:\ris\dicom\Indina\1.2.392.200036.9125.4.0.101659260.1327633152.426942455
Transfer: JPEGLossless:Non-hierarchical-1stOrderPrediction -> JPEGLossless:Non-hierarchical-1stOrderPrediction
Store SCU RQ: MsgID 1, ((null))
XMIT:DIMSE Command To Send:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0                                        #   4, 1 CommandGroupLength
(0000,0002) UI [1.2.392.200036.9125.1.1.2]              #  26, 1 AffectedSOPClassUID
(0000,0100) US 1                                        #   2, 1 CommandField
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,1000) UI [1.2.392.200036.9125.4.0.101659260.1327633152.426942455] #  54, 1 AffectedSOPInstanceUID
DIMSE sendDcmDataset: sending 148 bytes
DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 64988 bytes
.DIMSE sendDcmDataset: sending 45074 bytes
.
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (218 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI [1.2.392.200036.9125.1.1.2]              #  26, 1 AffectedSOPClassUID
(0000,0100) US 32769                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257                                      #   2, 1 DataSetType
(0000,0900) US 42752                                    #   2, 1 Status
(0000,0902) LO [CSTORE: SCP Could not store expected number of images/frames.] #  62, 1 ErrorComment
(0000,1000) UI [1.2.392.200036.9125.4.0.101659260.1327633152.426942455] #  54, 1 AffectedSOPInstanceUID
C-Store RSP: MsgID: 1 [Status=Refused: OutOfResources]
  AffectedSOPClassUID: (null)
  AffectedSOPInstanceUID: 1.2.392.200036.9125.4.0.101659260.1327633152.426942455
  Data Set: Not Present
  Status Detail:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0902) LO [CSTORE: SCP Could not store expected number of images/frames.] #  62, 1 ErrorComment
Releasing Association
Last edited by martinrame on Wed, 2010-05-05, 14:57, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

I don't know what the reason for your problems with the Fuji system is but your proposed presentation context is incorrect since you are not proposing the default transfer syntax "Implicit VR Little Endian".

martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

#3 Post by martinrame »

Thanks Jörg, in [[TransferSyntaxes]] there is:

Code: Select all

[Uncompressed]
TransferSyntax1 = LittleEndianExplicit
TransferSyntax2 = BigEndianExplicit
TransferSyntax3 = LittleEndianImplicit
To set "Implicit VR Little Endian", should I use "Uncompressed" instead of "JPEGLossless?, if not, I'd have to add a new transfer syntax to storescu.cfg like:

Code: Select all

[LittleEndianImplicit]
TransferSyntax1 = LittleEndianImplicit
And use it in my "FujiPresentationContext", but it does not work anyway. Its output is this:

Code: Select all

Association Accepted (Max Send PDV: 64988)
--------------------------
Sending file: P:\ris\dicom\Indina\1.2.392.200036.9125.4.0.101659260.1327633152.426942455
Transfer: JPEGLossless:Non-hierarchical-1stOrderPrediction -> LittleEndianImplicit
Store SCU RQ: MsgID 1, ((null))
XMIT:DIMSE Warning: (DICOMGATEWAYSCU,SYNAPSEDICOMSCP): sendMessage: unable to convert dataset
from 'JPEG Lossless, Non-hierarchical, 1st Order Prediction' transfer syntax to 'LittleEndianImplicit'.

storescu: Store Failed, file: P:\ris\dicom\Indina\1.2.392.200036.9125.4.0.101659260.1327633152.426942455:
0006:020e DIMSE Failed to send message
storescu: SCU Failed:
0006:020e DIMSE Failed to send message
Aborting Association

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

Did you propose Implicit VR Little Endian only? Please note that storescu is not able to decompress JPEG compressed images - at least not by default.

A valid configuration file would look like the following (although not tested):

Code: Select all

[[TransferSyntaxes]]

[Uncompressed]
TransferSyntax1 = LittleEndianExplicit
TransferSyntax2 = BigEndianExplicit
TransferSyntax3 = LittleEndianImplicit

[JPEGLossless]
TransferSyntax1 = JPEGLossless:Non-hierarchical-1stOrderPrediction

[[PresentationContexts]]

[FujiPresentationContext] 
PresentationContext1 = 1.2.392.200036.9125.1.1.2\JPEGLossless
PresentationContext2 = 1.2.392.200036.9125.1.1.2\Uncompressed

[[Profiles]]

[Fuji] 
PresentationContexts = FujiPresentationContext

martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

#5 Post by martinrame »

Thanks!, now images are received by the PACS.

Post Reply

Who is online

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