Re: Is compressed pixel data in unencapsulated format valid?
- From: Mathieu Malaterre <mathieu.malaterre@xxxxxxxxx>
- Date: Thu, 12 Nov 2009 06:14:07 -0800 (PST)
On Nov 12, 2:30 pm, Michael Doppler <m.dopp...@xxxxxxxxx> wrote:
We have received a sample image from a customer that is compressed
using JPEG lossless non hierarchical 1st order prediction transfer
syntax and includes the pixel data in unencapsulated format, without
encoding it in a fragment. Is this valid according to the DICOM
Standard?
In chapter 8.2 of DICOM Standard 2008, Part 5 [1] it sounds as if
compressed pixel data shall be encoded in at least one fragment in
encapsulated format and not present in unencapsulated format. Is this
correct?
Thanks in advance,
Michael
[1]ftp://medical.nema.org/medical/dicom/2008/08_05pu.pdf#page=47
8.2 NATIVE OR ENCAPSULATED FORMAT ENCODING
Pixel data conveyed in the Pixel Data Element (7FE0,0010) may be sent
either in
a Native (uncompressed) Format or in an Encapsulated Format (e.g.
compressed)
defined outside the DICOM standard.
...
The encapsulated pixel stream of encoded pixel data is segmented in
one or
more Fragments which convey their explicit length.
No you need at least two items. The first one is the Basic Offset
Table (may be empty), the second one is indeed the jpeg stream. Anyway
simply storing the JPEG stream within Pixel Data element (7fe0,0010)
is a *very* bad idea. This is really a bad implementation of the DICOM
standard, just run away quick !
One way to check is run gdcmconv --raw or dcmtk: dcmconv +ti on the
file.
As a side note, I have seen people doing this kind of things, but they
were storing the JPG in a Raw Data Storage.
HTH
-Mathieu
Ref:
http://gdcm.sourceforge.net/html/gdcmconv.html
.
- Follow-Ups:
- Re: Is compressed pixel data in unencapsulated format valid?
- From: Michael Doppler
- Re: Is compressed pixel data in unencapsulated format valid?
- References:
- Is compressed pixel data in unencapsulated format valid?
- From: Michael Doppler
- Is compressed pixel data in unencapsulated format valid?
- Prev by Date: DICOM header validators questions
- Next by Date: Re: Is compressed pixel data in unencapsulated format valid?
- Previous by thread: Is compressed pixel data in unencapsulated format valid?
- Next by thread: Re: Is compressed pixel data in unencapsulated format valid?
- Index(es):
Relevant Pages
|