15.12.2012 Views

Digital Imaging and Communications in Medicine (DICOM)

Digital Imaging and Communications in Medicine (DICOM)

Digital Imaging and Communications in Medicine (DICOM)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.1 <strong>DICOM</strong> BMPs 85<br />

Chapter 6<br />

Medical Images <strong>in</strong> <strong>DICOM</strong><br />

Let me assume, my dear reader, that the time we used to w<strong>and</strong>er <strong>in</strong> the l<strong>and</strong> of<br />

VRs <strong>and</strong> <strong>DICOM</strong> objects has been well spent, <strong>and</strong> that you have a much better<br />

idea of how <strong>DICOM</strong> deals with medical data. This has prepared us for the<br />

next important step <strong>in</strong> our voyage: look<strong>in</strong>g at how <strong>DICOM</strong> works with medical<br />

images. Certa<strong>in</strong>ly, images possess some well-known properties (width, height,<br />

bits per pixel), which can be found <strong>in</strong> the <strong>DICOM</strong> Data Dictionary, <strong>and</strong> which<br />

<strong>DICOM</strong> encodes with explicit or implicit VRs, as we have already learned. But<br />

the most <strong>in</strong>terest<strong>in</strong>g image attribute is the image itself, the sequence of image<br />

pixel values, that <strong>DICOM</strong> stores <strong>in</strong> the st<strong>and</strong>ard (7FE0, 0010) “Pixel Data”<br />

attribute, us<strong>in</strong>g either OB (for 1-byte pixel samples) or OW (for 2-byte pixel<br />

samples) encod<strong>in</strong>g.<br />

<strong>DICOM</strong> supports a wide range of image formats for stor<strong>in</strong>g these (7FE0,<br />

0010) pixels. The formats can be loosely broken <strong>in</strong>to two ma<strong>in</strong> groups:<br />

1. <strong>DICOM</strong>-specific: the formats that are used by <strong>DICOM</strong> only. They are typically<br />

the oldest ones, <strong>in</strong>troduced at the dawn of the computer era before<br />

better image formats had been developed. They resemble raw BMPs with<br />

vary<strong>in</strong>g ways of pack<strong>in</strong>g the pixel bytes.<br />

2. Independent st<strong>and</strong>ard formats accepted by <strong>DICOM</strong>. These <strong>in</strong>clude such<br />

well-known formats as JPEG, RLE (run-length encod<strong>in</strong>g), ZIP, <strong>and</strong> the lessknown<br />

(but becom<strong>in</strong>g more <strong>and</strong> more popular) JPEG2000, <strong>and</strong> JPEG-LS.<br />

All of these st<strong>and</strong>ards are also associated with various image-compression<br />

techniques, both reversible <strong>and</strong> irreversible, which makes them particularly<br />

useful <strong>in</strong> medical imag<strong>in</strong>g (reduc<strong>in</strong>g image data size is important). The modular<br />

st<strong>and</strong>ard approach, when the ma<strong>in</strong> st<strong>and</strong>ard (<strong>DICOM</strong>) <strong>in</strong>cludes the<br />

other st<strong>and</strong>ards (such as JPEG) to be used for particular tasks (such as image<br />

encod<strong>in</strong>g), is very convenient, consistent, <strong>and</strong> makes good practical sense.<br />

We will start with the first type, because it is the easiest <strong>and</strong> the oldest, <strong>and</strong><br />

because it is still used most of the time as the <strong>DICOM</strong> default. Then we will<br />

review the most important po<strong>in</strong>ts of the <strong>in</strong>dependent st<strong>and</strong>ards. You can read<br />

more about them elsewhere, but some of their properties have tremendous effects<br />

on medical imag<strong>in</strong>g storage <strong>and</strong> analysis, so we will try not to miss them.<br />

6.1<br />

<strong>DICOM</strong> BMPs<br />

A digital image, as you might already know, is a rectangular matrix of pixels<br />

(picture elements), t<strong>in</strong>y dots of different colors that form the actual picture.<br />

For example, a typical CT image is 512 pixels wide <strong>and</strong> 512 pixels high; that<br />

is, it conta<strong>in</strong>s 512 × 512 = 262,144 pixels. If you write these pixels l<strong>in</strong>e-by-l<strong>in</strong>e

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!