Introductions What Is Data Compression ? Data compression is the process of reduction in the amount of signal space that must be allocated to a given.

Slides:



Advertisements
Similar presentations
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Advertisements

School of Computing Science Simon Fraser University
1 Audio Compression Techniques MUMT 611, January 2005 Assignment 2 Paul Kolesnik.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
Spatial and Temporal Data Mining
Losslessy Compression of Multimedia Data Hao Jiang Computer Science Department Sept. 25, 2007.
Comp :: Fall 2003 Video As A Datatype Ketan Mayer-Patel.
1 Image Compression อ. รัชดาพร คณาวงษ์ วิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยศิลปากรวิทยาเขต พระราชวังสนามจันทร์
2007Theo Schouten1 Compression "lossless" : f[x,y]  { g[x,y] = Decompress ( Compress ( f[x,y] ) | “lossy” : quality measures e 2 rms = 1/MN  ( g[x,y]
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
An Introduction to H.264/AVC and 3D Video Coding.
ELG5126 Source Coding and Data Compression
+ Video Compression Rudina Alhamzi, Danielle Guir, Scott Hansen, Joe Jiang, Jason Ostroski.
Software Research Image Compression Mohamed N. Ahmed, Ph.D.
JPEG 2000 Image Type Image width and height: 1 to 2 32 – 1 Component depth: 1 to 32 bits Number of components: 1 to 255 Each component can have a different.
Lecture 1 Contemporary issues in IT Lecture 1 Monday Lecture 10:00 – 12:00, Room 3.27 Lab 13:00 – 15:00, Lab 6.12 and 6.20 Lecturer: Dr Abir Hussain Room.
Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
1 Section 3. Image Compression Xudong Ni Group Member: Wei Yan,Li Yang,Xudong Ni Computer Science Florida International University.
Video Compression: Performance evaluation of available codec software Sridhar Godavarthy.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.
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
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
Image Compression Fasih ur Rehman. Goal of Compression Reduce the amount of data required to represent a given quantity of information Reduce relative.
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.
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
CS654: Digital Image Analysis
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
IntroductiontMyn1 Introduction MPEG, Moving Picture Experts Group was started in 1988 as a working group within ISO/IEC with the aim of defining standards.
JPEG Image Compression Standard Introduction Lossless and Lossy Coding Schemes JPEG Standard Details Summary.
Overview of Digital Video Compression Multimedia Systems and Standards S2 IF Telkom University.
1 Part A Multimedia Production Chapter 2 Multimedia Basics Digitization, Coding-decoding and Compression Information and Communication Technology.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Image Compression (Chapter 8)
CSI-447: Multimedia Systems
IMAGE PROCESSING IMAGE COMPRESSION
IMAGE COMPRESSION.
Video Basics.
Data Compression.
DCT IMAGE COMPRESSION.
SWE 423: Multimedia Systems
Image Compression The still image and motion images can be compressed by lossless coding or lossy coding. Principle of compression: - reduce the redundant.
Introduction to electronic communication systems
Data Compression.
Data Compression CS 147 Minh Nguyen.
CH 8. Image Compression 8.1 Fundamental 8.2 Image compression models
Image Compression 9/20/2018 Image Compression.
Introduction King Saud University
Overview What is Multimedia? Characteristics of multimedia
Digital Multimedia Coding
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.
Image Compression Fundamentals Error-Free Compression
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Standards Presentation ECE 8873 – Data Compression and Modeling
Direct Sequence Spread Spectrum Modulation and Demodulation using Compressive Sensing Under the guidance of M.Venugopala Rao Submitted by K.Y.K.Kumari.
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 7 Multimedia 7.1 Introduction to multimedia
Govt. Polytechnic Dhangar(Fatehabad)
Chapter 7 Multimedia 7.1 Introduction to multimedia
Chapter 8 – Compression Aims: Outline the objectives of compression.
Fundamentals of Video Compression
Introduction 1st semester King Saud University
Presentation transcript:

Introductions

What Is Data Compression ? Data compression is the process of reduction in the amount of signal space that must be allocated to a given message set or data sample set Data compression is the process of reduction in the amount of signal space that must be allocated to a given message set or data sample set The signal space maybe in a physical volume, such as a data storage medium like magnetic tape; an interval of time; or in a portion of the electromagnetic spectrum such as the bandwidth to transmit the given message set The signal space maybe in a physical volume, such as a data storage medium like magnetic tape; an interval of time; or in a portion of the electromagnetic spectrum such as the bandwidth to transmit the given message set

What Is Data Compression ? All of these forms of the signal space-volume, time, and bandwidth are interrelated as follow All of these forms of the signal space-volume, time, and bandwidth are interrelated as follow Volume = ƒ ( time  bandwidth )

Why Data Compression ? bytes bytes, Cr=34.0

Why Data Compression ? bytes bytes, Cr=23.78

Why Data Compression ? bytes bytes, Cr=15.80

Why Data Compression ? bytes bytes, Cr=29.55

Why Data Compression ? bytes bytes, Cr=30.86

Why Data Compression ? bytes bytes, Cr=67.0

Why Data Compression ? bytes bytes, Cr=67.0

Why Data Compression ? bytes bytes, Cr=50.0

Why Data Compression ? bytes 7865 bytes, Cr=100

Why Data Compression ? bytes bytes, Cr=67

Why Data Compression ? To meet an operation requirement under an existing system performance constraint, such as limited bandwidth To meet an operation requirement under an existing system performance constraint, such as limited bandwidth To realize a cost saving in the design of a new system To realize a cost saving in the design of a new system Multimedia Communication = Data Compression + Networking + System Integration Multimedia Communication = Data Compression + Networking + System Integration

Test Images Used in This Class : BootsLena

Compression Model Source coding and channel coding Source coding and channel coding

Compression Model The encoder is made up of a source encoder, which removes input redundancies, and a channel encoder, which increases the noise immunity of the source encoder ’ s output The encoder is made up of a source encoder, which removes input redundancies, and a channel encoder, which increases the noise immunity of the source encoder ’ s output If the channel between the encoder and decoder is noise free ( not prone to error), the channel encoder and decoder are omitted If the channel between the encoder and decoder is noise free ( not prone to error), the channel encoder and decoder are omitted

Compression Model The source encoder is responsible for reducing or eliminating any coding, interpixel, or psychovisual redundancies in the input image The source encoder is responsible for reducing or eliminating any coding, interpixel, or psychovisual redundancies in the input image As the output of the source encoder contains little redundancy, it would be highly sensitive to transmission noise without the addition of the controlled redundancy. As the output of the source encoder contains little redundancy, it would be highly sensitive to transmission noise without the addition of the controlled redundancy.

What to Be Compressed ? PACS ( Image database, etc ) PACS ( Image database, etc ) HDTV ( Video Conference, VCD, DVD, etc ) HDTV ( Video Conference, VCD, DVD, etc ) ECG ( Audio, Speech, etc ) ECG ( Audio, Speech, etc ) Text Text

HDTV and TV Image Size Image Size NTSC: 512  480 NTSC: 512  480 PAL: 512  512 PAL: 512  512 CCIR 601: 720  480/576 CCIR 601: 720  480/576 HDTV: 1440  960 HDTV: 1440  960 Super HDTV: 4000  2000 Super HDTV: 4000  2000 CIF ( low bit-rate ): 360  240/288 CIF ( low bit-rate ): 360  240/288 QCIF: 180  120/144 QCIF: 180  120/144 A 512  512  8  3 = 6 M bits TV image should be transmitted in about 1/30 sec by any transmission line A 512  512  8  3 = 6 M bits TV image should be transmitted in about 1/30 sec by any transmission line

Why Data Can Be Compressed ? Data and Information Data and Information Data are the means by which information is conveyed Data are the means by which information is conveyed Various amounts of data may be used to represent the same amount of information Various amounts of data may be used to represent the same amount of information Consider the expression of an image. Consider the expression of an image.

Coding Redundancy Let r K be a discrete random variable representing the gray level (sample value) and that each r K occurs with probability Pr(r K ) Let r K be a discrete random variable representing the gray level (sample value) and that each r K occurs with probability Pr(r K ) Then Pr(r K ) = n K /n, k = 0, 1, 2, 3,..., h-1, where h is the number of gray levels, n K is the number of time that the k-th gray level appears in the image and n is the total number of pixels in the image Then Pr(r K ) = n K /n, k = 0, 1, 2, 3,..., h-1, where h is the number of gray levels, n K is the number of time that the k-th gray level appears in the image and n is the total number of pixels in the image

Coding Redundancy Let l(r K ) be the number of bits used to represent the value of r k. Then the average number of bits required to represent each pixel is Let l(r K ) be the number of bits used to represent the value of r k. Then the average number of bits required to represent each pixel is A natural binary coding of the gray levels assigns the same number of bits to both the most and least probable values, thus failing to minimize Lavg and resulting in coding redundancy A natural binary coding of the gray levels assigns the same number of bits to both the most and least probable values, thus failing to minimize Lavg and resulting in coding redundancy

Coding Redundancy r K p r (r K ) Code1 l1(r K ) Code2 l2(r K ) r 0 = r 1 = r 2 = r 3 = r 4 = r 5 = r 6 = r 7 =

Coding Redundancy L avg (Code2) =  l 2 (r K ) Pr(r K ) = 2(0.19)+2(0.25)+2(0.21)+3(0.16)+4(0.08) +5(0.06)+6(0.03)+6(0.02) = 2.7 bits If the gray levels of an image are coded in a way that use more code symbols than absolutely necessary to represent each gray level, i.e., the code fails to minimize Lavg, the resulting image is said to contain coding redundancy If the gray levels of an image are coded in a way that use more code symbols than absolutely necessary to represent each gray level, i.e., the code fails to minimize Lavg, the resulting image is said to contain coding redundancy

Psycho-visual Redundancy Certain information has less relative importance than other information in normal visual processing Certain information has less relative importance than other information in normal visual processing This information is said to be psycho-visual redundant This information is said to be psycho-visual redundant Psycho-acoustic redundancy in MPEG audio coding Psycho-acoustic redundancy in MPEG audio coding

Psycho-visual Redundancy

Temporal Redundancy

Fidelity Criteria Objective fidelity criteria Objective fidelity criteria signal-to-noise ratio ( SNR ) signal-to-noise ratio ( SNR ) Peak signal-to-noise ratio PSNR Peak signal-to-noise ratio PSNR

Standards JPEG (still image) JPEG (still image) DCT based baseline system (ch.10) DCT based baseline system (ch.10) extended system features (progressive build-up) extended system features (progressive build-up) lossless compressor lossless compressor Huffman coding and Arithmetic coding Huffman coding and Arithmetic coding JPEG2000 JPEG2000 wavelet-based wavelet-based Standard appeared in 2001 Standard appeared in 2001

Standards MPEG, H.261 ( full motion video, video conference ) MPEG, H.261 ( full motion video, video conference ) MPEG1, MPEG2 ( 1.5 M bits/sec, 3~10Mbits/sec ) MPEG1, MPEG2 ( 1.5 M bits/sec, 3~10Mbits/sec ) 30 frames of 352*240 pel/sec, or 25 frames of 352*288 pel/sec, 1/6 for audio, 5/6 for video 30 frames of 352*240 pel/sec, or 25 frames of 352*288 pel/sec, 1/6 for audio, 5/6 for video MPEG4 MPEG4 Telephone line ( 64 k bits/s ) Telephone line ( 64 k bits/s ) Low bit rate coding Low bit rate coding