1

Using DCMTK - DICOM-Toolkit 3.6.0 Win - dcmdump.exe failed with DVT Images.

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

Output like this

    =================[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

What kind of DICOM Image Type (0008,0008) is this..? Any hint?

EDIT

With Option " - E" I get

========================================================
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

With option "-d" I get

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

Looks like TransferSyntax: Little Endian Implicit is the problem.

P.S. I moved this question from Stack Overflow https://stackoverflow.com/questions/49508699/using-dcmtk-dicom-toolkit-3-6-0-dcmdump-exe-failed

EDIT 1

try with dcmtk 3.6.3

D: $dcmtk: dcmdump v3.6.3 2018-02-05 $
D: 
D: DcmFileFormat::lookForXfer() no MetaInfo found
D: DcmDataset::read() trying to detect transfer syntax of data set (because it is unknown)
D: DcmDataset::read() 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
W: DcmItem: Invalid Element (ffff,000d) found in data set
E: dcmdump: I/O suspension or premature end of stream: reading file: 

EDIT 2

Take a closer look with makhaon DICOMDUMP I get this "error"

Detect if file is of Part10 format and detect encoding...
Read Preamble and DICOM Prefix..
DICOM Prefix ("DICM") not found; file is probably not of Part10 format
Try to parse file as non-Part10 file...
read DICOM Prefix ("DICM") at begining of file
DICOM Prefix ("DICM") is not found at the begining of file
Detect Encoding (Big Endian or Little Endian) by reading Group Number of first Element..
EDICOMParseError: Group number of first Element is larger than 0008
DavidPostill
  • 162,382
twyly
  • 111

1 Answers1

1

You could try to dump the DICOM file with dcmdump from the latest DCMTK release, i.e. version 3.6.3, but to me it looks like the file is no DICOM file (file meta information is missing).

Could you make the binary file available for further analysis?