[Debian-med-packaging] Bug#625816: dicom3tools: Error - Specification of value length for other byte/word element is illegal in encapsulated TS
Mathieu Malaterre
mathieu.malaterre at gmail.com
Fri May 6 08:08:33 UTC 2011
Package: dicom3tools
Version: 1.0~20110207-1
Severity: normal
Tags: upstream
dcdump/dciodvfy are not able to cope with an uncompressed Pixel Data Element with the Icon Image SQ, which is legal from a standard point of view:
Data Element (7FE0,0010) Pixel Data may be encapsulated or native.
It shall be encapsulated if present in the top-level Data Set (i.e. not nested within a Sequence Data Element).
Note: The distinction between fixed value length (native) and undefined value length (encapsulated) is present so that the top level data set Pixel Data can be compressed (and hence encapsulated), but the Pixel Data within an Icon Image Sequence may or may not be compressed.
See: PS 3.5-2009 section A.4
Here is a sample file:
http://gdcm.sourceforge.net/thingies/SC_JPEGlossless_UncompressIcon.dcm
Which leads to:
$ dciodvfy SC_JPEGlossless_UncompressIcon.dcm
Error - Specification of value length for other byte/word element is illegal in encapsulated transfer syntax
Error - Sequence Item dataset read failed - giving up
Error - Sequence attribute read failed
Error - Dicom dataset read failed
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dicom3tools depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.5.2-6 The GNU Standard C++ Library v3
dicom3tools recommends no packages.
Versions of packages dicom3tools suggests:
ii dcmtk 3.6.0-4 The OFFIS DICOM toolkit command li
ii libgdcm-tools 2.0.17-2+b2 Grassroots DICOM tools and utiliti
ii pvrg-jpeg 1.2.1+dfsg1-1 Stanford PVRG JPEG tool
-- no debconf information
More information about the Debian-med-packaging
mailing list