28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Low end digital cameras do not at all deliver image quality comparable to scann<strong>in</strong>g photographic<br />

slides or pr<strong>in</strong>ts. So the ma<strong>in</strong> purpose for us<strong>in</strong>g them may be the need to get images fast<br />

at moderate quality, for example when produc<strong>in</strong>g id-cards for public transportation with photographs.<br />

Imag<strong>in</strong>g devices usually use their own file <strong>format</strong>s. Sometimes they allow to export the image<br />

<strong>in</strong> some common <strong>format</strong> like TIFF. In medic<strong>in</strong>e many different imag<strong>in</strong>g devices are used [2],<br />

for example ultrasound, and computer tomography. Very important for these is the standard<br />

ACR/NEMA 2 and its successor DICOM ("Digital Imag<strong>in</strong>g and Communications <strong>in</strong> Medic<strong>in</strong>e")<br />

[3], which expla<strong>in</strong>s file <strong>format</strong>s and communication mechanisms. However, to expla<strong>in</strong><br />

DICOM is beyond the scope of this tut orial.<br />

2.2 Manipulation<br />

We call every change of the source data a manipulation. There are different purposes to manipulate<br />

an image, for example enhancement, compression, cropp<strong>in</strong>g, or change of resolution.<br />

Compression will be discussed <strong>in</strong> a separate section due to its essential importance <strong>in</strong> network<strong>in</strong>g.<br />

Most commonly used techniques for image enhancement are color correction, adjustment of<br />

brightness, contrast and gamma, label<strong>in</strong>g, and the usage of filters like sharpen<strong>in</strong>g. They can be<br />

performed from every state of the art image process<strong>in</strong>g program, for example Photoshop.<br />

There are also very powerful free- and shareware programs for this like Pa<strong>in</strong>tshop Pro or<br />

Lview Pro.<br />

Note: Manipulation should always be done before down scal<strong>in</strong>g an image.<br />

Lossy compression should be applied only after all changes have been<br />

made.<br />

Lossy compression should be applied after all changes have been made, because repeated decompression-plus-lossy-compression<br />

cycles will decrease the image quality. However there is<br />

one exception to this rule [4]. You can compress an image with JPEG, decompress it, make<br />

local changes and compress it aga<strong>in</strong> with exactly the same parameters as before. This will only<br />

affect the area close to the change.<br />

To decide, <strong>in</strong> which resolution <strong>in</strong> space and color an image should be stored, have a look at the<br />

<strong>in</strong>tended usage: Will it be display on a computer screen with about 70 dpi or is it pr<strong>in</strong>t at 1200<br />

dpi, is zoom<strong>in</strong>g required? How many colors are needed? With many image manipulation programs<br />

you can count the number of colors used <strong>in</strong> a specific image. Would you like to use<br />

greyscale images or color images?<br />

Greyscale images usually use 1, 4, 8, 10, 12, and (16) bits per pixel (bpp). More than 8 bpp<br />

(correspond<strong>in</strong>g to more than 256 levels of grey) are only used <strong>in</strong> specialized application areas<br />

like digital photography and radiology. For color images usually 4, 8, 15 (direct color), 16<br />

(high color), 24 (true color), 36, and (48) bpp are used.<br />

It is difficult to display a colored image realistically with 8 bpp or less. Due to this, color palettes<br />

have been <strong>in</strong>vented which select the best suitable 256 colors out of 16,8 million for a<br />

given image. These color values will be stored for every image and the bit value for every pixel<br />

is just a reference to the color selection. Us<strong>in</strong>g an optimized color palette there will be hardly<br />

any difference visible between the 8 bpp image and the true color orig<strong>in</strong>al. The quality of the<br />

image depends crucially on the selection of good palette entries, which is not always straight<br />

forward.<br />

-4-

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

Saved successfully!

Ooh no, something went wrong!