CS644 Advanced Topics in Networking

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

15 Data Compression Foundations of Computer Science ã Cengage Learning.
Data Compression CS 147 Minh Nguyen.
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
SWE 423: Multimedia Systems
Chapter 10: Transmission Efficiency Business Data Communications, 4e.
CMPT 365 Multimedia Systems
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
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.
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.
Trevor McCasland Arch Kelley.  Goal: reduce the size of stored files and data while retaining all necessary perceptual information  Used to create an.
Lecture 10 Data Compression.
Chapter 2 Source Coding (part 2)
1 Topic 4: Physical Layer - Chapter 10: Transmission Efficiency Business Data Communications, 4e.
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.
ECE472/572 - Lecture 12 Image Compression – Lossy Compression Techniques 11/10/11.
MPEG-1 and MPEG-2 Digital Video Coding Standards Author: Thomas Sikora Presenter: Chaojun Liang.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
1 Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Chapter 7 End-to-End Data Copyright © 2010, Elsevier Inc. All rights Reserved.
1 Section 3. Image Compression Xudong Ni Group Member: Wei Yan,Li Yang,Xudong Ni Computer Science Florida International University.
1 Seminar Presentation Multimedia Audio / Video Communication Standards Instructor: Dr. Imran Ahmad By: Ju Wang November 7, 2003.
Klara Nahrstedt Spring 2011
D ATA C OMMUNICATIONS Compression Techniques. D ATA C OMPRESSION Whether data, fax, video, audio, etc., compression can work wonders Compression can be.
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.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
22-Oct-15CPSC558: Advanced Computer Networks Chapter 7 End-to-End Data –Data Manipulating Functions (Affecting Throughputs) How to encode the message into.
Group No 5 1.Muhammad Talha Islam 2.Karim Akhter 3.Muhammad Arif 4.Muhammad Umer Khalid.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
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.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Outline Kinds of Coding Need for Compression Basic Types Taxonomy Performance Metrics.
Compression video overview 演講者:林崇元. Outline Introduction Fundamentals of video compression Picture type Signal quality measure Video encoder and decoder.
An introduction to audio/video compression Dr. Malcolm Wilson.
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
2005/12/021 Fast Image Retrieval Using Low Frequency DCT Coefficients Dept. of Computer Engineering Tatung University Presenter: Yo-Ping Huang ( 黃有評 )
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Overview of Digital Video Compression Multimedia Systems and Standards S2 IF Telkom University.
Multi-media Data compression
1 Multimedia Outline Compression RTP Scheduling. 2 Compression Overview Encoding and Compression –Huffman codes Lossless –data received = data sent –used.
Introduction to MPEG  Moving Pictures Experts Group,  Geneva based working group under the ISO/IEC standards.  In charge of developing standards for.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
JPEG Compression What is JPEG? Motivation
CSI-447: Multimedia Systems
IMAGE PROCESSING IMAGE COMPRESSION
IMAGE COMPRESSION.
Data Compression.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Algorithms in the Real World
JPEG Image Coding Standard
Chapter 7.2: Layer 5: Compression
Data Compression CS 147 Minh Nguyen.
CMPT 365 Multimedia Systems
Overview What is Multimedia? Characteristics of multimedia
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.
UNIT IV.
Image Transforms for Robust Coding
Multimedia Content Description Interface
JPEG Still Image Data Compression Standard
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Chapter 8 – Compression Aims: Outline the objectives of compression.
Fundamentals of Video Compression
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Presentation transcript:

CS644 Advanced Topics in Networking Multimedia Mon, 2004/9/13

Video Basics Compression Performance issues Available tools Lossless compression MPEG-1,2,4, and 7 Performance issues Old & new Available tools

Video Basics: Representations RGB each pixel per red, green, blue YUV Y: luminance UV: chrominance better match the human visual system can distinguish the luminance (brightness) better than its hue (color)

Compression Techniques Lossless MPEG-1,2,4, adn 7

Lossless Compression Run Length Encoding AAABBCDDD => 3A2B1C4D Difference Pulse Code Modulation AAABBCDDD => A0001123333 Dictionary-based Lempel-Ziv (LZ) GIF: uses standardized colormap Huffman Coding

Huffman Coding 0 1 4 3 4 4 0 0 01 1 001 3 000 4 1 1 1 4 4 3 3 4 4 4 4 0 1 0 0 1 1 0 0 0 1 1 0 1 0 1 0 0 1 1 0 0 0 1 1 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 0 1 0 0 1 0 1 0 0 1 1 0 0 0 1 0 1 0 0 1 1 0 1 0 0 1 1 0 0 0 To perform Huffman coding, the first step is to use the frequency statistics to generate a prefix code representation of the indices, such as the one shown here. Notice how the more frequently appearing symbols are represented with a shorter code. All that is left then is to output the bit stream corresponding to the codeword representations of the indices, as illustrated here. As you can see, the compression pipeline is considerably more complicated than a simpler encoder, but the effort we spent in modeling the data means that we can reduce the input redundancies to the best of our capabilities. We can perform a simple analysis for the efficiency of this scheme. The input string consists of 6 characters, each of 8 bits in length, so 48 bits in total. The final representation of this information is only 13 bits, compressed to almost 4 times the original size. As you can see, even with this trivial example, the amount of reduction is no less than remarkable. To summarize, the Burrows-Wheeler compression procedure consists of four stages of transformation. The first stage aims to reduce simple repetitions of input symbols, and the second stage transforms the data by grouping symbols with similar context. The third stage utilizes the locality of symbols in the sorted block, and finally, the entropy coding stage outputs optimal representation of the original data. The reverse transform unravels the entropy-coded information in a similar manner and will restore the original data without any loss. Input = 6 x 8 = 48 bits Output = 13 bits Compression = 73 %

Wavelets “Mathematical functions that cut up data into different frequency components and study each component with a resolution matched to its scale”

Haar transform decomposes a discrete signal into two subsignals of half its length f = (4,6,10,12,8,6,5,5) (a|d) = (5x21/2, 11x21/2 7x21/2, 5x21/2| -21/2, -21/2, 21/2, 0) E = f12+ f22+ f32+ ... + f82 = 446 E(a) = 440, E(d) = 6

Haar transform

MPEG Moving Picture Experts Group in ISO/IEC specifies:

Multimedia Technology Standards Basic Set and Animation/graphics/text Audio/visual objects composed in 3-D space Allows generic management of delivery systems Basic Set Source Delivery Demultiplexer Audio/video MPEG - 4 1998-2001 MPEG - 7 Current challenge: Specify standard set of descriptors for various types of MM information MPEG - 1 MPEG - 2 Basic Set and supporting high quality and interlace video

MPEG-1 Started on 1988 A/V

MPEG-2 A/V for broadcast 4~15 Mbps for digital TV digital TV, HDTV, cable, satellite 4~15 Mbps for digital TV

MPEG-4 Goals for natural and synthetic video object-oriented coding low-bit rate for wireless MPEG-2 backward compatibility DCT -> Quantization -> Encoding

Compression:Temporal Redundancy Without B-frame With B-frame

MPEG-7 Goals Officially, “Multimedia Content Description Interface” Allow efficient search for multimedia content that is of interest to user using standardized descriptions MPEG-1,2,4: representation of content itself (the bit) MPEG-7: representation of information about the content (the bit about the bits)

What is Exactly Included? Not the analysis Not the search engine Just the description Feature Extraction Description Search Engine This is the scope of MPEG-7

MPEG-7 Components Descriptors (Ds) Description Schemes (DSs) representations of features define the syntax and semantics Description Schemes (DSs) specify structure and semantics of the relationships between components (Ds and DSs) Description Definition Language (D이) allow creation of new DSs and Ds allow extension and modification of DSs

Example of a client-server architecture in a MPEG-7 based data search Initial Descriptor Table 1011 text link feature selection Interface Interface Search Engine MPEG-7 stream MPEG-7 Decoder MPEG-7 database Query result (link address) AV content Interface Interface Presentation Engine AV content AV data Decoder AV stream AV content

Networking Issues Different from VoIP Higher b/w requirements No silence periods Complex codecs More loss tolerant

Video Streaming Old Issues Current Issues Variable Bit Rate Server-side transmission scheduling Network provisioning Current Issues Multimedia in “wireless” environment Batter-power limited, diverse technologies, low-layer dependent, application-dependent, etc.

Acknowledgements Kave Salamtian’s “Multimedia Storage and Compression”