我使用DcmSnd工具在远程Dicom服务器中推送压缩的CT文件。问题是在使用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的DcmSnd工具是否适用于压缩文件?
答案 0 :(得分:0)
我不知道DcmSnd,但您可以尝试Orthanc,它支持通过DICOM协议发送压缩文件(即它支持C-Store SCU的JPEG / JPEG2k传输语法)。 / p>
答案 1 :(得分:0)
根据上述日志,您的Associate请求的表示上下文“5”和“11”仅包含CT Image Storage的未压缩传输语法。 Sever接受您提议的内容,并使用演示文稿上下文“11”(即Explicite VR Little Endian)以商定的传输语法发送数据。尝试使用压缩传输语法为CT Image Storage抽象语法添加其他演示文稿上下文到您的关联请求命令。