Использование 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 является проблемой.
PS Я перенес этот вопрос из переполнения стека https://stackoverflow.com/questions/49508699/using-dcmtk-dicom-toolkit-3-6-0-dcmdump-exe-failed
РЕДАКТИРОВАТЬ 1
попробуй с 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:
РЕДАКТИРОВАТЬ 2
Посмотрите внимательнее с makhaon DICOMDUMP Я получаю эту "ошибку"
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