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.

5.5 <strong>DICOM</strong> Objects 47<br />

mation <strong>and</strong> comm<strong>and</strong>s. All <strong>DICOM</strong> data (such as medical images, comm<strong>and</strong>s,<br />

<strong>and</strong> reports) is always wrapped <strong>in</strong> <strong>DICOM</strong> object format. In this format, it<br />

travels between various <strong>DICOM</strong> devices on a <strong>DICOM</strong> network <strong>and</strong> gets stored<br />

<strong>in</strong> <strong>DICOM</strong> files. In fact, even <strong>DICOM</strong> files can be viewed as memory dumps of<br />

<strong>DICOM</strong> objects to a file media.<br />

When we studied the <strong>DICOM</strong> Data Dictionary, we learned that <strong>DICOM</strong><br />

breaks all real-world data <strong>in</strong>to atomic pieces, called data elements, encoded<br />

with 27 available VR types. A <strong>DICOM</strong> object is noth<strong>in</strong>g but a collection of data<br />

elements – there is no separate “<strong>DICOM</strong> header” vs. “<strong>DICOM</strong> image”, as many<br />

like to th<strong>in</strong>k. For example, consider a digital medical image. It will have several<br />

attributes such as image width, height, colors (palette), date the image was acquired,<br />

<strong>and</strong> so on. All of these attributes can be found <strong>in</strong> the st<strong>and</strong>ard <strong>DICOM</strong><br />

Data Dictionary <strong>and</strong> will be translated <strong>in</strong>to <strong>DICOM</strong> data elements, each with<br />

its own tag <strong>and</strong> value. The sequence of these translated elements, which describes<br />

the image <strong>in</strong> its entirety, becomes the image’s <strong>DICOM</strong> object.<br />

<strong>DICOM</strong> objects, however, can grow much more complex than simple element<br />

sequences. When we looked at VRs, I mentioned one particular VR type<br />

used for sequenc<strong>in</strong>g, SQ. The SQ VR is designed to hold a sequence of data element<br />

sets, each set be<strong>in</strong>g, <strong>in</strong> essence, a separate <strong>DICOM</strong> object. These <strong>DICOM</strong><br />

objects <strong>in</strong> turn may also conta<strong>in</strong> SQ VRs, mean<strong>in</strong>g that <strong>DICOM</strong> objects can<br />

conta<strong>in</strong> sets of other <strong>DICOM</strong> objects. This recursion or nest<strong>in</strong>g of <strong>DICOM</strong> objects<br />

creates a more complex tree-like structure, mak<strong>in</strong>g <strong>DICOM</strong> objects look<br />

like data trees, with <strong>DICOM</strong> objects be<strong>in</strong>g the branches <strong>and</strong> data elements the<br />

leaves (Fig. 8).<br />

How does <strong>DICOM</strong> write all this complex branch<strong>in</strong>g data? It uses very basic<br />

data encod<strong>in</strong>g rules that we are about to review.<br />

Fig. 8 <strong>DICOM</strong> object nest<strong>in</strong>g

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

Saved successfully!

Ooh no, something went wrong!