簡體   English   中英

如何在遠程dicom服務器中推送壓縮的CT文件?

[英]How do i push compressed CT files in remote dicom server?

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

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

我用於將文件推送到遠程dicom Server的DcmSnd工具是否適合壓縮文件?

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

根據以上日志,您的關聯請求的呈現上下文“ 5”和“ 11”僅包含CT圖像存儲的未壓縮傳輸語法。 Sever接受您的建議,並使用表示上下文“ 11”(即Explicite VR Little Endian)以約定的傳輸語法發送數據。 嘗試將帶有壓縮傳輸語法的CT圖像存儲抽象語法的附加表示上下文添加到關聯請求命令中。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM