2014-10-07 104 views
0

我使用DcmSnd工具在遠程Dicom服務器上推送壓縮的CT文件。問題是在使用DcmQr從同一服務器中檢索未壓縮的文件時,我得到的所有文件都是以圖像的形式出現的,它使我獲得所有文件的失敗狀態。如何在遠程dicom服務器上推送壓縮的CT文件?

10:27:00,357 INFO [FsmImpl] sending [pc-1] 1:C_FIND_RSP with Dataset 
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND 
status: ff01 

而且它開始的所有文件

10:27:01,692 INFO [FsmImpl] received A-RELEASE-RQ 
10:27:01,692 INFO [FsmImpl] sending A-RELEASE-RP 
10:27:01,693 INFO [ServerImpl] handle - Socket[addr=/192.168.1.121,port=54491,localport=11112] 
10:27:01,695 INFO [FsmImpl] Socket[addr=/192.168.1.121,port=54491,localport=11112] 
10:27:01,696 INFO [FsmImpl] received AAssociateRQ 
    appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name 
    implClass: 1.2.40.0.13.1.1 
    implVersion: dcm4che-2.0 
    calledAET: DCM4CHEE 
    callingAET: DCM4CHEE 
    maxPDULen: 16384 
    asyncOpsWindow: maxOpsInvoked=1, maxOpsPerformed=0 
    pc-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-3: as=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-5: as=1.2.840.10008.5.1.4.1.1.2/CT Image Storage 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-7: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    pc-9: as=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    pc-11: as=1.2.840.10008.5.1.4.1.1.2/CT Image Storage 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    RoleSelection[sop=1.2.840.10008.5.1.4.1.1.2/CT Image Storage, scu=false, scp=true] 
    ExtNegotiation[sop=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND, info=00\00\00] 
    ExtNegotiation[sop=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET, info=00] 
10:27:01,696 INFO [FsmImpl] sending AAssociateAC 
    appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name 
    implClass: 1.2.40.0.13.1.1.1 
    implVersion: dcm4che-1.4.34 
    calledAET: DCM4CHEE 
    callingAET: DCM4CHEE 
    maxPDULen: 16352 
    asyncOpsWindow: maxOpsInvoked=1, maxOpsPerformed=1 
    pc-1: 0 - acceptance 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-3: 0 - acceptance 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-5: 0 - acceptance 
     ts=1.2.840.10008.1.2/Implicit VR Little Endian 
    pc-7: 4 - transfer-syntaxes-not-supported 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    pc-9: 4 - transfer-syntaxes-not-supported 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    pc-11: 0 - acceptance 
     ts=1.2.840.10008.1.2.1/Explicit VR Little Endian 
    RoleSelection[sop=1.2.840.10008.5.1.4.1.1.2/CT Image Storage, scu=false, scp=true] 
    ExtNegotiation[sop=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND, info=00\00\00] 
    ExtNegotiation[sop=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET, info=00] 
10:27:01,698 INFO [FsmImpl] received [pc-3] 1:C_GET_RQ with Dataset 
    class: 1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET 
10:27:01,708 INFO [FsmImpl] sending [pc-11] 2:C_STORE_RQ with Dataset 
    class: 1.2.840.10008.5.1.4.1.1.2/CT Image Storage 
    inst: 1.2.840.113704.1.111.6168.1127829523.11762/? 
10:27:01,708 INFO [FileDataSource] M-READ file:/media/data1/DicomServer2/dcm4chee-2.18.0-mysql/server/default/archive/2014/10/7/10/F4620895/47D29C4B/631BA185 
10:27:01,736 INFO [CodecCmd] start decompression of image: 512x512x1 (current codec tasks: compress&decompress:1 decompress:1) 
10:27:01,742 INFO [FsmImpl] closing connection - Socket[addr=/192.168.1.121,port=57544,localport=11112] 
10:27:01,743 INFO [ServerImpl] finished - Socket[addr=/192.168.1.121,port=57544,localport=11112] 
10:27:01,779 INFO [CodecCmd] finished decompression in 42ms. (remaining codec tasks: compress&decompress:0 decompress:0) 
10:27:01,789 INFO [FsmImpl] received [pc-11] 2:C_STORE_RSP 
    status: 0 
10:27:01,840 INFO [FsmImpl] sending [pc-3] 1:C_GET_RSP 
    class: 1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET 
    status: 0 

的解壓後是DcmSnd工具,我使用推送文件到遠程服務器DICOM是正確的compresed文件?

回答

0

我不知道DcmSnd,但您可以試試Orthanc,它支持通過DICOM協議發送壓縮文件(即它支持C-Store SCU的JPEG/JPEG2k傳輸語法)。

0

根據上述日誌,您的關聯請求的表示上下文「5」和「11」僅包含CT圖像存儲的未壓縮傳輸語法。 Sever接受你提出的建議,並使用演示文本「11」(這是Explicite VR Little Endian)以商定的傳輸語法發送數據。嘗試使用壓縮傳輸語法將CT圖像存儲抽象語法的附加表示上下文添加到關聯請求命令中。

相關問題