dcm4che(Ver 2.x)

更新日2017-05-05 (金) 14:08:49

DICOMデータファイルをdcm4cheeサーバにインポートするツール。

以下からdcm4che-2.0.29-bin.zipをDL

https://sourceforge.net/projects/dcm4che/files/dcm4che2/

解凍後適当なフォルダコピー(今回はc:\apps)

サンプルデータはConquestに入っているデータを、kpacsからエクスポートしたファイルを使用した。

保存フォルダは「D:\Download\DICOMDATA」フォルダ名は「.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.316.9」

D:\Download\DICOMDATA>dir 1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.316.9
 ドライブ D のボリューム ラベルは ボリューム です
 ボリューム シリアル番号は 3460-3C62 です

 D:\Download\DICOMDATA\1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.316.9 のディレクトリ

2017/05/04  23:30    <DIR>          .
2017/05/04  23:30    <DIR>          ..
2017/05/02  08:08           120,054 1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.300.6.bmp
2017/05/02  08:08           210,130 1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.300.6.dcm
2017/05/02  08:08           120,054 1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.394.11.bmp
2017/05/02  08:08           210,134 1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.394.11.dcm
               4 個のファイル             660,372 バイト
               2 個のディレクトリ  56,629,329,920 バイトの空き領域
  • コマンド(dcmsnd)の実行
  • 使用方法
dcmsnd [AET]@[ホスト名orIP]:[ポート] 
D:\Download\DICOMDATA>C:\apps\dcm4che-2.0.29\bin\dcmsnd DCM4CHEE@localhost:11112
 ./1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.316.9
Scanning files to send
org.dcm4che2.io.DicomCodingException: Not a DICOM Stream
        at org.dcm4che2.io.DicomInputStream.guessTransferSyntax(DicomInputStream
.java:288)
        at org.dcm4che2.io.DicomInputStream.<init>(DicomInputStream.java:126)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1084)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1073)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.main(DcmSnd.java:835)
WARNING: Failed to parse .\1.2.826.0.1.3680043.2.135.734662.46716478.7.134759479
1.316.9\1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.300.6.bmp - skipped.
F.org.dcm4che2.io.DicomCodingException: Not a DICOM Stream
        at org.dcm4che2.io.DicomInputStream.guessTransferSyntax(DicomInputStream
.java:288)
        at org.dcm4che2.io.DicomInputStream.<init>(DicomInputStream.java:126)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1084)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.addFile(DcmSnd.java:1073)
        at org.dcm4che2.tool.dcmsnd.DcmSnd.main(DcmSnd.java:835)
WARNING: Failed to parse .\1.2.826.0.1.3680043.2.135.734662.46716478.7.134759479
1.316.9\1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.394.11.bmp - skipped.
F.
Scanned 2 files in 0.063s (=31ms/file)
23:35:53,698 INFO   - Association(1) initiated Socket[addr=localhost/127.0.0.1,port=11112,localport=55192]
23:35:53,698 INFO   - DCM4CHEE(1): A-ASSOCIATE-RQ DCM4CHEE << DCMSND
23:35:53,698 INFO   - DCM4CHEE(1): A-ASSOCIATE-AC DCMSND >> DCM4CHEE
Connected to DCM4CHEE@localhost:11112 in 0.031s
23:35:53,714 INFO   - DCM4CHEE(1) << 1:C-STORE-RQ[pcid=3, prior=0
        cuid=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        iuid=1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.300.6
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian]
23:35:54,119 INFO   - DCM4CHEE(1) >> 1:C-STORE-RSP[pcid=3, status=0H
        cuid=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        iuid=1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.300.6]
.23:35:54,119 INFO   - DCM4CHEE(1) << 2:C-STORE-RQ[pcid=3, prior=0
        cuid=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        iuid=1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.394.11
        ts=1.2.840.10008.1.2.1/Explicit VR Little Endian]
23:35:54,197 INFO   - DCM4CHEE(1) >> 2:C-STORE-RSP[pcid=3, status=0H
        cuid=1.2.840.10008.5.1.4.1.1.2/CT Image Storage
        iuid=1.2.826.0.1.3680043.2.135.734662.46716478.7.1347594791.394.11]
.
Sent 2 objects (=410.41406KB) in 0.499s (=822.473KB/s)
23:35:54,197 INFO   - DCM4CHEE(1) << A-RELEASE-RQ
23:35:54,213 INFO   - DCM4CHEE(1) >> A-RELEASE-RP
Released connection to DCM4CHEE@localhost:11112
23:35:54,213 INFO   - DCM4CHEE(1): close Socket[addr=localhost/127.0.0.1,port=11112,localport=55192]

View1.png

参考


添付ファイル: fileView1.png 80件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2017-05-05 (金) 14:08:49 (535d)