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.

Lossy compression throws away <strong>in</strong><strong>format</strong>ion. Due to this, much higher compression ratios can<br />

be achieved compared to lossless compression. Lossy compression techniques have been designed<br />

for the human observer. Usually there is no visible difference between orig<strong>in</strong>al and<br />

compressed image at a compression factor of 1:10 for pr<strong>in</strong>ted images and 1:30 for monitor<br />

images. Although there is no difference for a human observer lossy compressed images usually<br />

cannot be used for pattern analysis purposes.<br />

2.4.1 Techniques<br />

Many different techniques are used when compress<strong>in</strong>g images. A selection is described <strong>in</strong><br />

short, to give an impression of how compression works:<br />

• Reduction of color depth is a simple way to achieve compression, for example stor<strong>in</strong>g an<br />

image with a color palette of 256 colors reduces the size of a true color image nearly to one<br />

third. This is a simple form of scalar vector quantization.<br />

• Conversion to a color system that uses full lum<strong>in</strong>ance data and reduces the chrom<strong>in</strong>ance<br />

data. This works because the human eye is not as sensitive to color <strong>in</strong><strong>format</strong>ion as it is to<br />

lum<strong>in</strong>ance.<br />

• Run Length Encod<strong>in</strong>g (RLE) stores the number of pixels of one color and the color <strong>in</strong>stead<br />

of stor<strong>in</strong>g the color for every pixel. Not suitable for photographic images, but may help with<br />

computer generated slides and screen shots.<br />

• Difference encod<strong>in</strong>g: Instead of stor<strong>in</strong>g the value for one bit the difference to the value of<br />

the neighbor is stored us<strong>in</strong>g fewer bits. Applied <strong>in</strong> many compression algorithms.<br />

• Prediction: The value of the neighbors is used to predict the value of a pixel. Stored is usually<br />

the difference to the predicted value. Very useful <strong>in</strong> lossless compression.<br />

• Filter<strong>in</strong>g: Some manipulation is done with the data to allow for better compression with<br />

another technique, e.g. us<strong>in</strong>g difference encod<strong>in</strong>g and prediction techniques<br />

• Lempel-Ziv-Welch: Works similar to RLE, but uses patterns together with a lookup table<br />

<strong>in</strong>stead of bytes [6]. Works very well for text.<br />

• Entropy encod<strong>in</strong>g: This is closely related to the Huffman code [7]. The most frequent used<br />

terms of a given alphabet will be assigned the shortest codes. Arithmetic cod<strong>in</strong>g is an improvement<br />

of Huffman cod<strong>in</strong>g.<br />

• Pyramids: The image (or a trans<strong>format</strong>ion of this image) is decomposed the <strong>in</strong> a tree like<br />

manner. Nodes will only be further decomposed until they consist of a s<strong>in</strong>gle value.<br />

• Discrete Cos<strong>in</strong>e Transform(ation) (DCT): Is a relative of the Fourier transform and likewise<br />

gives a frequency map. This technique is lossy due to roundoff errors.<br />

• Fractal: A system of iterated functions is selected for the description of the image. Offers<br />

good compression; scal<strong>in</strong>g is possible.<br />

• Discrete Wavelet Transform (DWT): Uses Haar-functions to code images. Is one of the<br />

most promis<strong>in</strong>g techniques today. Our experiments have shown better compression rations<br />

compared to DCT because the distortions look more natural <strong>in</strong> current implementations.<br />

2.5 File Formats<br />

Different frequently used file <strong>format</strong>s are <strong>in</strong>troduced:<br />

-7-

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

Saved successfully!

Ooh no, something went wrong!