DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

Similar documents
IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

Introduction ti to JPEG

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION

Fundamentals of Video Compression. Video Compression

Compression; Error detection & correction

Digital Video Processing

Robert Matthew Buckley. Nova Southeastern University. Dr. Laszlo. MCIS625 On Line. Module 2 Graphics File Format Essay

ECE 417 Guest Lecture Video Compression in MPEG-1/2/4. Min-Hsuan Tsai Apr 02, 2013

Digital Image Representation Image Compression

Compression; Error detection & correction

Image, video and audio coding concepts. Roadmap. Rationale. Stefan Alfredsson. (based on material by Johan Garcia)

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Compression II: Images (JPEG)

Introduction to Computer Science (I1100) Data Storage

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

INF5063: Programming heterogeneous multi-core processors. September 17, 2010

Multimedia Systems Image III (Image Compression, JPEG) Mahdi Amiri April 2011 Sharif University of Technology

Wireless Communication

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia?

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri

CISC 7610 Lecture 3 Multimedia data and data formats

CS 335 Graphics and Multimedia. Image Compression

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1

Chapter 1. Digital Data Representation and Communication. Part 2

Lossy compression. CSCI 470: Web Science Keith Vertanen

Lecture 8 JPEG Compression (Part 3)

CSCD 443/533 Advanced Networks Fall 2017

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

Audio and video compression

VC 12/13 T16 Video Compression

Video Compression MPEG-4. Market s requirements for Video compression standard

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

Computer and Machine Vision

Bits and Bit Patterns

Cross Layer Protocol Design

Lecture 6: Compression II. This Week s Schedule

Data Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J.

Lecture 5: Compression I. This Week s Schedule

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects.

2.2: Images and Graphics Digital image representation Image formats and color models JPEG, JPEG2000 Image synthesis and graphics systems

Outline Introduction MPEG-2 MPEG-4. Video Compression. Introduction to MPEG. Prof. Pratikgiri Goswami

Digital Image Representation. Image Representation. Color Models

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Index. 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5.

MPEG-2. ISO/IEC (or ITU-T H.262)

Video Compression An Introduction

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved

Ian Snyder. December 14, 2009

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

TKT-2431 SoC design. Introduction to exercises. SoC design / September 10

So, what is data compression, and why do we need it?

The Gullibility of Human Senses

Lecture 12: Compression

COMP 249 Advanced Distributed Systems Multimedia Networking. The Video Data Type Coding & Compression Basics

Lecture 8 JPEG Compression (Part 3)

Digital video coding systems MPEG-1/2 Video

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

Image Compression - An Overview Jagroop Singh 1

Features. Sequential encoding. Progressive encoding. Hierarchical encoding. Lossless encoding using a different strategy

Image and Video Compression Fundamentals

3 Data Storage 3.1. Foundations of Computer Science Cengage Learning

Multimedia Signals and Systems Motion Picture Compression - MPEG

Optical Storage Technology. MPEG Data Compression

The Core Technology of Digital TV

VIDEO AND IMAGE PROCESSING USING DSP AND PFGA. Chapter 3: Video Processing

JPEG Modes of Operation. Nimrod Peleg Dec. 2005

Lecture 3 Image and Video (MPEG) Coding

A real-time SNR scalable transcoder for MPEG-2 video streams

VALLIAMMAI ENGINEERING COLLEGE

An introduction to JPEG compression using MATLAB

Image Coding and Compression

TKT-2431 SoC design. Introduction to exercises

Introduction to Video Compression

CS101 Lecture 12: Image Compression. What You ll Learn Today

End-to-End Data. Presentation Formatting. Difficulties. Outline Formatting Compression

CMPT 365 Multimedia Systems. Media Compression - Image

Video Compression Standards (II) A/Prof. Jian Zhang

How an MPEG-1 Codec Works

Megapixel Video for. Part 2 of 4. Brought to You by. Presented by Video Security Consultants

IMAGE COMPRESSION USING FOURIER TRANSFORMS

MULTIMEDIA AND CODING

7.5 Dictionary-based Coding

Image and video processing

Topic 5 Image Compression

Tutorial T5. Video Over IP. Magda El-Zarki (University of California at Irvine) Monday, 23 April, Morning

Multimedia Networking ECE 599

Course Syllabus. Website Multimedia Systems, Overview

ROI Based Image Compression in Baseline JPEG

DTC-350. VISUALmpeg PRO MPEG Analyser Software.

Video coding. Concepts and notations.

Mahdi Amiri. February Sharif University of Technology

Data Compression. Media Signal Processing, Presentation 2. Presented By: Jahanzeb Farooq Michael Osadebey

Advanced Video Coding: The new H.264 video compression standard

Multimedia Standards

A COMPRESSION TECHNIQUES IN DIGITAL IMAGE PROCESSING - REVIEW

Part 1 of 4. MARCH

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

compression and coding ii

( ) ; For N=1: g 1. g n

Transcription:

Digital Compression Page 8.1 DigiPoints Volume 1 Module 8 Digital Compression Summary This module describes the techniques by which digital signals are compressed in order to make it possible to carry one or more of the digitized TV signals within the 6 MHz channels available on CATV systems. Module Objectives Upon successful completion of the module, the student should be able to: Describe the difference between Lossless and Lossy compression. Describe how video compression is different from audio compression. Compare the different compression methods used for pictures. Describe, at a high level, the process used by MPEG-2 to digitize and compress a signal Prerequisites Read, Chapter 8. Review Chapter 3 on Analog-to-Digital Conversion.

Digital Compression Page 8.2 Analog Compression on NTSC NTSC Color Signal 26 MHz 13.5 MHz for Luminance (Y) 6.75 MHz for Chrominance Two signals of 6.75 MHz Cb for the color difference R - Y Cr for the color difference B - Y Information for Red, Blue, Green 26 MHz >> 6 MHz By how many Hertz can the luminance vary? By how many Hertz can the Cb and Cr vary? What is the total bandwidth to be carried? How much bandwidth is allocated? What three key components make this possible?

Digital Compression Page 8.3 Lossless Compression Output = Input, guaranteed Critical Data Communications Numerical Data Financial matters Methods Variable Length Coding (VLC) PKZIP is an example Huffman Coding a type of VLC Run Length Coding Replaces long repeating patterns with shorter character set

Digital Compression Page 8.4 Lossy Compression Output Input Bandwidth required only 25% of Lossless Compression CATV Audio/Video Non-Critical Communications Receiver not that sensitive Human ear ~3 to 16, Hz Human eye Transmit detectable changes Color differences and brightness How is this different form Lossless compression? What allows this type of compression technique to be acceptable for CATV usage? What part of the video signal will be transmitted?

Digital Compression Page 8.5 ADPCM 15 14 13 Integer Value 12 11 1 7 9 8 12 9 1 13 9 8 9 11 9 8 12 13 9 1 3 1 3 4 1 1 2 2 1 4 1 4 1 Value Difference For what type of signal is ADPCM used? What is the difference between the 1 st and 2 nd sample of the signal above? If only the difference is sent, how many bits are needed? What does this do in terms of bits per second needed to transfer information?

Digital Compression Page 8.6 Line Predictive Coding Bzzzzz Encode differences Differences use fewer bits then original signal Each difference sample is a linear combination of ALL previous samples This results in an equation called a linear predictor Reconstruct signal in decoder s filter For what type of signal is this method used? What are formants and where do they originate? What is the effect of removing formants from the signal? What is this process called? How are formants represented mathematically? What are the prediction coefficients?

Digital Compression Page 8.7 Audio versus Video Compression Audio Video 3-16, Hz 4,, Hz Luminance Colors Color Luminance How are video images represented? What determines image quality, i.e., what is the ultimate receiver? How do our eyes see?

Digital Compression Page 8.8 Graphics Interchange File - GIF Still pictures Limited colors (2 7 ) Can compress up to 5:1 What is the maximum number of colors in a GIF image? How many bits are in a pixel? What type of images does GIF work best on?

Digital Compression Page 8.9 Joint Photographic Group - JPEG 7-Step Process 1. Transform Image 2. Process Pixels in Groups 3. Group pixels in 8x8 blocks & transform to frequency domain 4. Divide by Quantization Coefficient 5. Convert integers to binary digits 6. Compress strings with Huffman coding 7. Attach header Why was JPEG developed, i.e., for what type of images? How many components in an 8x8 JPEG block? Will the decompressed signal be exactly like the originating signal? In which steps of the above process does compression take place? In which steps is the signal digitized? What type of coding is used in Step 7 as the message is prepared to be sent?

Digital Compression Page 8.1 Huffman Coding Table 7 bit code 111 111 1111 111 1111 1111 Frequency in thousands 45 13 12 16 9 5 Fixed length codeword 1 1 11 1 11 Variable length codeword 11 1 111 111 11 How is Huffman Coding used to compress a signal?

Digital Compression Page 8.11 Moving Pictures Experts Group - MPEG MPEG-1 1.5 Mb/s Video &.25 Mb/s Audio Optimized for CD ROMs MPEG-2 1 Mb/s CATV Standard 5 Audio Channels Available MPEG-3 Merged into MPEG-2 MPEG-4 Evolving Low bit rates - telephony applications Why MPEG? How is MPEG-2 different from MPEG-1? What is the bit rate used in MPEG-4? How many frames per second?

Digital Compression Page 8.12 MPEG-2 Interframe Motion Compression Frames processed in groups Motion simulated Successive frames have redundancies 3-Types of Frames I-Frame P-Frame B-Frame What are I-Frames used for? How are P & B Frames similar? How are these frames different?

Digital Compression Page 8.13 MPEG-2 I and P Frames I - Frame P - Frame How big is the I-Frame? What is a Macroblock? How is the line in (2,3) in the I Frame different from the line in (2,3) in the P Frame?

Digital Compression Page 8.14 Computing the Motion Vector Motion Vector (shown by arrow) +2,-1 2,3 2,3 Reference I - Frame Forward Predicted P - Frame

Digital Compression Page 8.15 Figure 4 The Error Block 2,3 Error Block What does this error block represent?

Digital Compression Page 8.16 Group of Pictures - GOP I B B B B P B B P 15/3 Frame Sequence in Group of Pictures P P B B B B P B B I How often is the I Frame being transmitted? Why? What does this allow?

Digital Compression Page 8.17 MPEG-2 Audio Encoding and Compression Multichannel Audio Surround sound 7-Commentary/bi-lingual channels Transport Layer Used in error prone environments Fixed length 188 byte packet

Digital Compression Page 8.18 DCT Process 12.5 12.5 12.5 12.5 12.5 12.5 12.5 12.5 25. 25. 25. 25. 25. 25. 25. 25. 37. 5 37. 5 37. 5 37. 5 37. 5 37. 5 37. 5 37. 5 5. 5. 5. 5. 5. 5. 5. 5. 62.5 62.5 62.5 62.5 62.5 62.5 62.5 62.5 75. 75. 75. 75. 75. 75. 75. 75. 87.5 87.5 87.5 87.5 87.5 87.5 87.5 87. 5 43.8-4 -4.1-1.1 Picture Sample Values DCT Coefficients What is the significance of the Discrete Cosine Transform Process? What does it allow? How can data be represented by s?

Digital Compression Page 8.19 DCT Coefficient Processing Order

Digital Compression Page 8.2 SUMMARY Lossy versus Lossless compression Audio Compression ADPCM LPC Video Compression GIF JPEG MPEG I, P, and B Frames Error Block Group of Pictures H.261 Discrete Cosine Transform

Digital Compression Page 8.21 Study Questions 1. Why is compression needed for digital television? 2. What are the two general categories of compression, and how do they differ? 3. What is Recommendation 61, and what are the associated sampling rates? What is the sampling structure called, and what other sampling structures are there? 4. What are the three rules that drive compression algorithms? 5. Why is the sample rate different for chrominance than for luminance? 6. What happens in each of the steps in the general JPEG process?

Digital Compression Page 8.22 7. What is the chief difference between JPEG and MPEG? 8. What are the first three parts of the MPEG-2 standard, and what do they specify? 9. Describe how prediction makes compression possible. 1. What is the function of the Discrete Cosine Transform? How does it work? 11. What are the two types of coding used to compress binary data?