ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.

Slides:



Advertisements
Similar presentations
Source Coding for Video Application
Advertisements

Chapter 7 End-to-End Data
SWE 423: Multimedia Systems
Department of Computer Engineering University of California at Santa Cruz Data Compression (3) Hai Tao.
Image (and Video) Coding and Processing Lecture: DCT Compression and JPEG Wade Trappe Again: Thanks to Min Wu for allowing me to borrow many of her slides.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
JPEG Still Image Data Compression Standard
CMPT 365 Multimedia Systems
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
Multimedia Data The DCT and JPEG Image Compression Dr Mike Spann Electronic, Electrical and Computer.
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
©Brooks/Cole, 2003 Chapter 15 Data Compression. ©Brooks/Cole, 2003 Realize the need for data compression. Differentiate between lossless and lossy compression.
Roger Cheng (JPEG slides courtesy of Brian Bailey) Spring 2007
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. Fact about JPEG Compression JPEG stands for Joint Photographic Experts Group JPEG compression is used with.jpg and can be embedded.
CSE679: MPEG r MPEG-1 r MPEG-2. MPEG r MPEG: Motion Pictures Experts Group r Standard for encoding videos/movies/motion pictures r Evolving set of standards.
Image and Video Compression
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
Lossy Compression Based on spatial redundancy Measure of spatial redundancy: 2D covariance Cov X (i,j)=  2 e -  (i*i+j*j) Vertical correlation   
Image Processing Architecture, © Oleh TretiakPage 1Lecture 9 ECEC-453 Image Processing Architecture Lecture 9, 2/12/ 2004 MPEG 1 Oleh Tretiak.
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
JPEG Motivations: Motivations: 1.Uncompressed video and audio data are huge. In HDTV, the bit rate easily exceeds 1 Gbps. --> big problems for.
1 Image Compression. 2 GIF: Graphics Interchange Format Basic mode Dynamic mode A LZW method.
Multimedia Data Video Compression The MPEG-1 Standard
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
Introduction to JPEG and MPEG Ingemar J. Cox University College London.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
DATA COMPRESSION LOSSY COMPRESSION METHODS What it is… A compression of information that is acceptable in pictures or videos, but not texts or programs.
Video Compression Techniques By David Ridgway.
Klara Nahrstedt Spring 2011
JPEG. The JPEG Standard JPEG is an image compression standard which was accepted as an international standard in  Developed by the Joint Photographic.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
Multimedia Data DCT Image Compression
Indiana University Purdue University Fort Wayne Hongli Luo
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
JPEG CIS 658 Fall 2005.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
Digital Image Processing Image Compression
Image Compression – Fundamentals and Lossless Compression Techniques
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
Chapter 17 Image Compression 17.1 Introduction Redundant and irrelevant information  “Your wife, Helen, will meet you at Logan Airport in Boston.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 10 – Compression Basics and JPEG Compression (Part 4) Klara Nahrstedt Spring 2014.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Image/Video Coding Techniques for IPTV Applications Wen-Jyi Hwang ( 黃文吉 ) Department of Computer Science and Information Engineering, National Taiwan Normal.
The JPEG Standard J. D. Huang Graduate Institute of Communication Engineering National Taiwan University, Taipei, Taiwan, ROC.
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
JPEG.
Page 11/28/2016 CSE 40373/60373: Multimedia Systems Quantization  F(u, v) represents a DCT coefficient, Q(u, v) is a “quantization matrix” entry, and.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Introduction to JPEG m Akram Ben Ahmed
JPEG. Introduction JPEG (Joint Photographic Experts Group) Basic Concept Data compression is performed in the frequency domain. Low frequency components.
MPEG CODING PROCESS. Contents  What is MPEG Encoding?  Why MPEG Encoding?  Types of frames in MPEG 1  Layer of MPEG1 Video  MPEG 1 Intra frame Encoding.
By Dr. Hadi AL Saadi Lossy Compression. Source coding is based on changing of the original image content. Also called semantic-based coding High compression.
JPEG Compression What is JPEG? Motivation
IMAGE COMPRESSION.
Chapter 9 Image Compression Standards
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
JPEG Image Coding Standard
Discrete Cosine Transform
JPEG.
Chapter 7.2: Layer 5: Compression
CMPT 365 Multimedia Systems
CIS679: MPEG MPEG.
JPEG Pasi Fränti
The JPEG Standard.
Presentation transcript:

ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11

Data 1 Information Data 2 Data 3 Data redundancy Data compression Measure information Fidelity criteria to measure performance Lossy Lossless

Compression Approaches Error-free compression or lossless compression –Variable-length coding –LZW –Bit-plane coding –Lossless predictive coding Lossy compression –Lossy predictive coding –Transform coding

Lossless Compression Approaches Code redundancy Variable-length coding Huffman coding Averagely, use shorter-length code to convey the same amount of information Interpixel redundancy Bit-plane coding Run-length coding Predictive coding LZW

Lossy Compression Spatial domain methods –Lossy predictive coding Delta modulation (DM) Transform coding –Operate on the transformed image

Lossy Predictive Coding Prediction + quantization Predictor Error Error quantization Prediction Delta Modulation

Problems

1 | | 15

Transform Coding Use discrete image transforms to transform the image Discard those coefficients that are near zero Coarsely quantize those coefficients that are small When reconstructed later, little important content will have been lost Example –JPEG (image lossy compression) –MPEG (video compression)

JPEG Joint Photographics Expert Group An image compression standard sanctioned by ISO can be very effectively applied to a 24-bit color image, achieving compression ratios of 10:1 to 20:1 without any image degradation that is visible to the human eye at normal magnification

JPEG Compression Steps Convert RGB model to intensity and chrominance (YIQ) Throw away half of the chrominance data Divide the pictures into blocks of 8x8 pixels Perform a discrete Cosine transform on each block Quantize the DCT coefficients Run-length encoding Huffman encoding Color model conversion Downsample chrominance content Divide picture into 8x8 blocks DCT on each block RLC Huffman coding

The YIQ Color Space Used in US commercial color television broadcasting Recoding of RGB for transmission efficiency and for downward compatibility with b/w television Y component: illuminance (gets the majority of the b/w) I, Q: chrominance NTSC broadcast TV: 4.2MHz for Y, 1.5MHz for I, 0.55MHz for Q VCR: 3.2MHz for Y, 0.63 MHz for I.

YUV Color Space Example

Discrete Cosine Transform Forward transform Inverse transform

The 64 DCT Basis Functions v u

DCT vs. DFT

Quantization Non-uniform quantization Luminance quantization table Chrominance quantization table

Zig-zag Scan and Huffman Coding Use differential coding for DC and RLC for AC

Block Artifacts

Quality vs. Compression Ratio

MPEG Motion Picture Experts Group Steps –Temporal redundancy reduction –Motion compensation –Spatial redundancy reduction –Entropy coding

Temporal Redundancy Reduction Three frames –I frame (intra picture) –P frame (predicted picture) –B frame (bidirectionally interpolated picture)

Motion Compensation Assume the current picture can be locally modeled as a translation of the pictures of some previous time. Each picture is divided into blocks of 16 x 16 pixels, called a macroblock. Each macroblock is predicted from the previous or future frame, by estimating the amount of the motion in the macroblock during the frame time interval.

Hardware Implementation High-speed hardware for JPEG and MPEG compression and decompression significantly reduces the computational overhead