使用DCMTK - DICOM-Toolkit 3.6.0 - dcmdump.exe失败了?

时间:2018-03-27 09:07:54

标签: dicom dcmtk

使用DCMTK - DICOM-Toolkit 3.6.0 Win - dcmdump.exe因DVT图像失败。

D:\dcmtk-3.6.0-win32-i386\bin>dcmdump -M -L +Qn -Un dicom-dvt-image-file 

像这样输出

    =================[OUTPUT]=====================================================================
W: DcmItem: Length of element (ffff,000d) is odd
E: DcmElement: Unknown Tag & Data (ffff,000d) larger (1313013767) than remaining bytes in file
E: dcmdump: I/O suspension or premature end of stream: reading file: dicom-dvt-image-file

这是什么样的DICOM图像类型(0008,0008)..? 任何提示?

修改

选项“ - E”我得到了

========================================================
W: DcmItem: Length of element (ffff,000d) is odd
E: DcmElement: Unknown Tag & Data (ffff,000d) larger (1313013767) than remaining bytes in file
E: dcmdump: I/O suspension or premature end of stream: reading file: 6.1180118095212400.122.a000

# Dicom-File-Format

# Dicom-Meta-Information-Header
# Used TransferSyntax: Unknown Transfer Syntax

# Dicom-Data-Set
# Used TransferSyntax: Little Endian Implicit
(ffff,000d) ?? (not loaded)                             # 1313013767, 1 Unknown Tag & Data

选项“-d”我得到了

D: $dcmtk: dcmdump v3.6.0 2011-01-06 $
D: 
D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Implicit"
D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Implicit"
W: DcmItem: Length of element (ffff,000d) is odd
E: DcmElement: Unknown Tag & Data (ffff,000d) larger (1313013767) than remaining bytes in file
E: dcmdump: I/O suspension or premature end of stream: reading file: 6.1180118095212400.122.a000

看起来像TransferSyntax: Little Endian Implicit 就是问题所在。

我在downvote并保持之后将此问题移至超级用户。 SuperUser不知道像“dicom”或“dcmtk”这样的标签。也许有人可以创造它们。

https://superuser.com/questions/1308596/using-dcmtk-dicom-toolkit-3-6-0-dcmdump-exe-failed

1 个答案:

答案 0 :(得分:2)

DICOM文件可能格式不正确。

  • 第一个提示是标记组(FFFF),它应该是私有标记,但可能来自格式不正确的文件
  • 第二个提示是标签的奇数(应该是偶数)
  • 第三个提示是标签的长度大于实际存储在文件中的字节数