Image Compression and Signal Processing Dan Hewett CS 525.

Slides:



Advertisements
Similar presentations
Informatik 4 Lab 1. Laboratory Exercise Overview 1. Define size of 20 radius vectors 2. DCT transformation 3. Create Microsoft Excel spreadsheet 4. Create.
Advertisements

Fourier Transforms and Their Use in Data Compression
A Matlab Playground for JPEG Andy Pekarske Nikolay Kolev.
Data Compression Michael J. Watts
Chapter 7 End-to-End Data
School of Computing Science Simon Fraser University
Lecture05 Transform Coding.
The basis of Fourier transform Recall DFT: Exercise#1: M=8, plot cos(2πu/M)x at each frequency u=0,…,7 x=0:7; u=0; plot(x, cos(2*pi*u/8*x));
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Input image Output image Transform equation All pixels Transform equation.
The Frequency Domain Sinusoidal tidal waves Copy of Katsushika Hokusai The Great Wave off Kanagawa at
1 JPEG Compression CSC361/661 Burg/Wong. 2 Fact about JPEG Compression JPEG stands for Joint Photographic Experts Group JPEG compression is used with.jpg.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Still Image Conpression JPEG & JPEG2000 Yu-Wei Chang /18.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
Klara Nahrstedt Spring 2011
By : Vladimir Novikov. Digital Watermarking? Allows users to embed SPECIAL PATTERN or SOME DATA into digital contents without changing its perceptual.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
1 Classification of Compression Methods. 2 Data Compression  A means of reducing the size of blocks of data by removing  Unused material: e.g.) silence.
Digital Image Processing Image Compression
DCT.
Math 3360: Mathematical Imaging Prof. Ronald Lok Ming Lui Department of Mathematics, The Chinese University of Hong Kong Lecture 9: More about Discrete.
Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Discrete Fourier Transform in 2D – Chapter 14. Discrete Fourier Transform – 1D Forward Inverse M is the length (number of discrete samples)
Digital Image Processing Lecture 21: Lossy Compression Prof. Charlene Tsai.
Inverse DFT. Frequency to time domain Sometimes calculations are easier in the frequency domain then later convert the results back to the time domain.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
Fourier and Wavelet Transformations Michael J. Watts
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
Dr. Abdul Basit Siddiqui FUIEMS. QuizTime 30 min. How the coefficents of Laplacian Filter are generated. Show your complete work. Also discuss different.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM M ULTIMEDIA OF D ATA C OMPRESSION Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny.
The Frequency Domain Digital Image Processing – Chapter 8.
Masaki Hayashi 2015, Autumn Visualization with 3D CG Digital 2D Image Basic.
Data Compression Michael J. Watts
Chapter 4 Discrete-Time Signals and transform
Jean Baptiste Joseph Fourier
Design and Implementation of Lossless DWT/IDWT (Discrete Wavelet Transform & Inverse Discrete Wavelet Transform) for Medical Images.
The content of lecture This lecture will cover: Fourier Transform
JPEG Compression What is JPEG? Motivation
Image Enhancement and Restoration
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
An Example of 1D Transform with Two Variables
Visible Watermarking of An Image Using DCT Technique
Digital Image Processing Lecture 21: Lossy Compression May 18, 2005
Digital Image Processing Lecture 21: Lossy Compression
Wavelets : Introduction and Examples
Last update on June 15, 2010 Doug Young Suh
Fourier and Wavelet Transformations
Even Discrete Cosine Transform The Chinese University of Hong Kong
2D Discrete Cosine Transform
JPEG Image Compression
Fourier Transform and Data Compression
Image Processing, Leture #14
I. Previously on IET.
Image Compression Techniques
1-D DISCRETE COSINE TRANSFORM DCT
Image Coding and Compression
Digital Image Procesing Discrete CosineTrasform (DCT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Lecture 4 Image Enhancement in Frequency Domain
Discrete Fourier Transform
The Frequency Domain Any wave shape can be approximated by a sum of periodic (such as sine and cosine) functions. a--amplitude of waveform f-- frequency.
Even Discrete Cosine Transform The Chinese University of Hong Kong
Presentation transcript:

Image Compression and Signal Processing Dan Hewett CS 525

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

Types of source images ComplexLine Drawing Noisy Simple

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

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

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?

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

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

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

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

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

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