DCM4CHE 3.3.7发送文件错误

时间:2016-09-08 08:56:22

标签: server dcm4che

我正在尝试将DICOM文件发送到DicomProxy,这意味着将文件和输出转换为另一台服务器。但是,在执行以下命令时:

bin/storescu -c DICOMPROXY@XX.XXX.XXX.XX:XXXX ../example/XXXXXX.dcm
在终端中

,将显示以下消息。

Connected to DICOMPROXY in 35ms
org.dcm4che3.net.NoPresentationContextException: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.1.2 - CT Image Storage negotiated
    at org.dcm4che3.net.Association.pcFor(Association.java:795)
    at org.dcm4che3.net.Association.cstore(Association.java:829)
    at org.dcm4che3.net.Association.cstore(Association.java:823)
    at org.dcm4che3.tool.storescu.StoreSCU.send(StoreSCU.java:483)
    at org.dcm4che3.tool.storescu.StoreSCU.sendFiles(StoreSCU.java:387)
    at org.dcm4che3.tool.storescu.StoreSCU.main(StoreSCU.java:296)
09:49:20,037 INFO  - STORESCU->DICOMPROXY(1) << A-RELEASE-RQ
09:49:20,037 DEBUG - STORESCU->DICOMPROXY(1): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
09:49:20,038 INFO  - STORESCU->DICOMPROXY(1) >> A-RELEASE-RP
09:49:20,039 INFO  - STORESCU->DICOMPROXY(1): close Socket[addr=/XX.XXX.XXX.XX,port=XXXX,localport=50596]
09:49:20,039 DEBUG - STORESCU->DICOMPROXY(1): enter state: Sta1 - Idle
Sent 0 objects (=0MB) in 0.022s (=0MB/s)

有人知道文件不发送的原因吗?

感谢。

1 个答案:

答案 0 :(得分:0)

好的,我想出了问题,我正在为storescu做错误的语法。它应该是这样的:

bin/storescu -c DICOMPROXY@XX.XXX.XXX.XX:XXXX -b AET:PORT ../example/XXXXXX.dcm

其中-c表示目的地,-b表示模态。