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.

26<br />

Chapter 5 Parlez-Vous <strong>DICOM</strong>?<br />

any conventional monitor (you simply cannot fit more options <strong>in</strong>to a s<strong>in</strong>gle<br />

available byte). Special radiological monitors <strong>and</strong> hardware overcome this limitation<br />

by allocat<strong>in</strong>g more bytes to grayscale shades.<br />

One byte also gives you enough choices to store all Lat<strong>in</strong> characters (lowercase,<br />

uppercase, punctuation signs), so a byte is often viewed as a s<strong>in</strong>gle-character<br />

unit. For example, to store 12 characters, a computer uses 12 bytes of<br />

memory; 1 byte per character.<br />

Large data volumes, such as images, can require millions of bytes for storage.<br />

Therefore, b<strong>in</strong>ary system counts bytes <strong>in</strong> larger numbers: 2 10 = 1024 bytes<br />

corresponds to 1 kilobyte (KB), 1024 KB means 1 megabyte (MB), <strong>and</strong> so on.<br />

Table 1 summarizes this count.<br />

Table 1 Multiples of bytes<br />

Prefix Name B<strong>in</strong>ary mean<strong>in</strong>g Metric mean<strong>in</strong>g Size difference:<br />

b<strong>in</strong>ary vs. metric<br />

K Kilo (KB) 2 10 = 1024 1 10 3 = 1000 1 2.40%<br />

M Mega (MB) 2 20 = 1024 2 10 6 = 1000 2 4.86%<br />

G Giga (GB) 2 30 = 1024 3 10 9 = 1000 3 7.37%<br />

T Tera (TB) 2 40 = 1024 4 10 12 = 1000 4 9.95%<br />

P Peta (PB) 2 50 = 1024 5 10 15 = 1000 5 12.59%<br />

In reality, multiples of bytes are counted <strong>in</strong> two slightly different ways. Information<br />

technology (<strong>and</strong> <strong>DICOM</strong>) uses multiples of 2 10 = 1024, which makes<br />

perfect sense from the aforementioned b<strong>in</strong>ary system perspective. Hardware<br />

manufacturers use kilo-, mega-, <strong>and</strong> the others <strong>in</strong> their metric mean<strong>in</strong>g, as multiples<br />

of 1000. When they sell you a 1-GB flash drive, it conta<strong>in</strong>s 10 9 = 1000 3 bytes<br />

(“metric” GB), which accord<strong>in</strong>g to our table is 7.37% less than 2 30 = 1024 3 bytes<br />

(“b<strong>in</strong>ary” GB). This makes nice commission for hardware sales.<br />

When lowercase “b” is used <strong>in</strong> Kb, Mb, Gb, it commonly st<strong>and</strong>s for “bits”,<br />

<strong>and</strong> not “bytes”. Consider networks: network b<strong>and</strong>width (unlike computer<br />

storage) is usually measured <strong>in</strong> “kilobits per second” (Kbs) <strong>and</strong> “megabits per<br />

second” (Mbs), represent<strong>in</strong>g how much data the network can ideally transmit<br />

<strong>in</strong> one second. For example, dial-up network speed is up to 56 Kbs, which is<br />

identical to 56/8 = 7 KB per second (KBs). A st<strong>and</strong>ard computer T1 l<strong>in</strong>e delivers<br />

1.544 Mbs; DSL delivers on the order of 10 Mbs; a good PACS network<br />

operates <strong>in</strong> the range of 1–10 gigabits per second (Gbs).<br />

“Hexadecimal” is a shorth<strong>and</strong> representation of 2 consecutive bytes, lead<strong>in</strong>g<br />

to 65,536 (256 2 = 65,536) possible values. Because of their 16-bit (2-byte)<br />

nature, hexadecimal numbers can be written us<strong>in</strong>g a 16-base numerical system

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

Saved successfully!

Ooh no, something went wrong!