1 / 12

Image Compression and Signal Processing

Image Compression and Signal Processing. Dan Hewett CS 525. Keys to Compression. Lossless – Must find information redundancy Lossy Find information similarity Degrade quality. Types of source images. Complex Line Drawing Noisy Simple.

geona
Download Presentation

Image Compression and Signal Processing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Image Compression and Signal Processing Dan Hewett CS 525

  2. Keys to Compression • Lossless – Must find information redundancy • Lossy • Find information similarity • Degrade quality

  3. Types of source images Complex Line Drawing Noisy Simple

  4. Simple Lossless Compression(GIF) • Low number of colors (Uses a color map) • Compression is based on repeated elements (LZW) • Does not work on a wide variety of source images

  5. Compression in Frequency/Spatial domain • Takes advantage of spatial relationships • Compression may decrease color resolution • May take advantage of human perception • May use further encoding (Huffman/RLE, etc) on frequency data

  6. Frequency Transforms (cont) • Information content is not gained/lost • Compressibility is due to redundancy/similarity in the new domain. • DFT/FFT/DCT – How do they work?

  7. Frequency Transforms • Looks at the sinusoidal behavior of the color in each row and column

  8. How do they work • DFT (Discrete Fourier Transform) • Real valued inputs -> A single complex output • Measures “how much is there” of a single frequency • FFT (Fast Fourier Transform) • Real inputs -> Complex Outputs (0..fs/2) • Measures “How much is there” of n/2 frequencies • DCT (Discrete Cosine Transform) • Real inputs -> Real output

  9. Basics of DFT • DFT compares sin/cos to wave • Result is complex number (mag+phase)

  10. Basics of DCT • Real Inputs -> Real outputs • JPG encodes each pixel based on an 8X8 matrix of DCTs • Results of the DCT are then discretized and compressed

  11. Quality of compression • Low frequency lends to high compression with less loss • Impulses (non-smooth) source can lead to unpleasant artifacts

  12. Conclusion • Redundancy/similarity is key to compression • Find the domain where redundancy/similarity occur • Discretize/quantize for further reduction

More Related