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

Similar documents
CS 335 Graphics and Multimedia. Image Compression

Topic 5 Image Compression

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

EE67I Multimedia Communication Systems Lecture 4

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

A Comprehensive Review of Data Compression Techniques

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

Compression; Error detection & correction

ECE 499/599 Data Compression & Information Theory. Thinh Nguyen Oregon State University

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

IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I

Engineering Mathematics II Lecture 16 Compression

Image compression. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

IMAGE COMPRESSION TECHNIQUES

Multimedia Systems. Part 20. Mahdi Vasighi

Image coding and compression

IMAGE COMPRESSION- I. Week VIII Feb /25/2003 Image Compression-I 1

Fundamentals of Multimedia. Lecture 5 Lossless Data Compression Variable Length Coding

Entropy Coding. - to shorten the average code length by assigning shorter codes to more probable symbols => Morse-, Huffman-, Arithmetic Code

Lempel-Ziv-Welch (LZW) Compression Algorithm

ITCT Lecture 8.2: Dictionary Codes and Lempel-Ziv Coding

Compressing Data. Konstantin Tretyakov

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

Compression; Error detection & correction

EE-575 INFORMATION THEORY - SEM 092

Lecture 5: Compression I. This Week s Schedule

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

VIDEO SIGNALS. Lossless coding

A COMPRESSION TECHNIQUES IN DIGITAL IMAGE PROCESSING - REVIEW

Digital Image Processing

Lecture Coding Theory. Source Coding. Image and Video Compression. Images: Wikipedia

Bits and Bit Patterns

Compression. storage medium/ communications network. For the purpose of this lecture, we observe the following constraints:

Data Compression. An overview of Compression. Multimedia Systems and Applications. Binary Image Compression. Binary Image Compression

Chapter 1. Digital Data Representation and Communication. Part 2

Course Syllabus. Website Multimedia Systems, Overview

Intro. To Multimedia Engineering Lossless Compression

Image Compression - An Overview Jagroop Singh 1

DCT Based, Lossy Still Image Compression

Mahdi Amiri. February Sharif University of Technology

Multimedia Networking ECE 599

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay

Simple variant of coding with a variable number of symbols and fixlength codewords.

Figure 1. Generic Encoder. Window. Spectral Analysis. Psychoacoustic Model. Quantize. Pack Data into Frames. Additional Coding.

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay

Lossless Compression Algorithms

VC 12/13 T16 Video Compression

Department of electronics and telecommunication, J.D.I.E.T.Yavatmal, India 2

Introduction to Data Compression

Dictionary techniques

Image Coding and Compression

13.6 FLEXIBILITY AND ADAPTABILITY OF NOAA S LOW RATE INFORMATION TRANSMISSION SYSTEM

Image Compression. CS 6640 School of Computing University of Utah

An Advanced Text Encryption & Compression System Based on ASCII Values & Arithmetic Encoding to Improve Data Security

Data Representation. Types of data: Numbers Text Audio Images & Graphics Video

Image Coding and Data Compression

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

Keywords Data compression, Lossless data compression technique, Huffman Coding, Arithmetic coding etc.

Ch. 2: Compression Basics Multimedia Systems

Data Compression Fundamentals

Analysis of Parallelization Effects on Textual Data Compression

Huffman Coding and Position based Coding Scheme for Image Compression: An Experimental Analysis

Fundamentals of Video Compression. Video Compression

Image Compression for Mobile Devices using Prediction and Direct Coding Approach

Removing Spatial Redundancy from Image by Using Variable Vertex Chain Code

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

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

WIRE/WIRELESS SENSOR NETWORKS USING K-RLE ALGORITHM FOR A LOW POWER DATA COMPRESSION

Source Coding Basics and Speech Coding. Yao Wang Polytechnic University, Brooklyn, NY11201

An Effective Approach to Improve Storage Efficiency Using Variable bit Representation

AUDIO COMPRESSION USING WAVELET TRANSFORM

yintroduction to compression ytext compression yimage compression ysource encoders and destination decoders

Repetition 1st lecture

Lecture 6: Compression II. This Week s Schedule

5: Music Compression. Music Coding. Mark Handley

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY ACADEMIC YEAR / ODD SEMESTER QUESTION BANK

A Comparative Study of Entropy Encoding Techniques for Lossless Text Data Compression

ELL 788 Computational Perception & Cognition July November 2015

Digital Audio Basics

CHAPTER 6. 6 Huffman Coding Based Image Compression Using Complex Wavelet Transform. 6.3 Wavelet Transform based compression technique 106

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Lecture 10 (Chapter 7) ZHU Yongxin, Winson

Noise Reduction in Data Communication Using Compression Technique

DEFLATE COMPRESSION ALGORITHM

HARDWARE IMPLEMENTATION OF LOSSLESS LZMA DATA COMPRESSION ALGORITHM

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

CIS 121 Data Structures and Algorithms with Java Spring 2018

Image Compression Technique

CS/COE 1501

Final Review. Image Processing CSE 166 Lecture 18

Chapter 7 Lossless Compression Algorithms

Lossless compression II

Linked Structures Songs, Games, Movies Part IV. Fall 2013 Carola Wenk

Using Arithmetic Coding for Reduction of Resulting Simulation Data Size on Massively Parallel GPGPUs

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

compression and coding ii

SSIM based image quality assessment for vector quantization based lossy image compression using LZW coding

Overview. Last Lecture. This Lecture. Next Lecture. Data Transmission. Data Compression Source: Lecture notes

Optimized Compression and Decompression Software

Data Compression Techniques

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

Transcription:

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

What is Data Compression? Definition -Reducing the amount of data required to represent a source of information (while preserving the original content as much as possible). Objectives 1- Reduce the amount of data storage space required. 2- Reduce length of data transmission time over the network.

Categories of Data Compression Lossy Data Compression -The original message can never be recovered exactly as it was before it was compressed. -Not good for critical data, when we cannot afford to loss even a single bit. -Used mostly in sound, video, image compressions where the losses can be tolerated. -A threshold level is used for truncation. (for example In a sound file, very high and low frequencies, which the human ear can not hear, may be truncated from the file) -Examples: JPG, MPEG -Lossy techniques are much more effective at compression than lossless methods. The higher the compression ratio, the more noise added to the data.

Categories of Data Compression Lossless Data Compression -The original message can be exactly decoded. -Repeated patterns in a message are found and encoded in an efficient manner. -Also referred to as redundancy reduction. -Must required for textual data, executable code, word processing files, tabulated numbers. -Popular algorithms: LZW(Lempel-Ziv-Welch), RLE(Run Length Encoding), Huffman coding, Arithmetic Coding, Delta Encoding. -GIF images (an example of lossless image compression)

Applications: Why We Need Data Compression? The two most important points are: 1-Data storage -Modern data processing applications require storage of large volumes of data. -Compressing a file to half of its original size is equivalent to doubling the capacity of the storage medium. 2-Data transmission -Modern communication networks require massive transfer of data over communication channels. -Compressing the amount of data to be transmitted is equivalent to increasing the capacity of the communication channel. -Smaller a file the faster it can be transferred over the channel.

Applications Applications -Wide range of applications. We can say Data Compression is used almost everywhere. Types -Image Compression -(e.g JPG images) -Audio Compression -(e.g MP3 s audio) -Video Compression -(e.g DVD s) -General Data Compression -(e.g ZIP files)

Data Compression Algorithms 1-Huffman coding 2-Run Length Encoding 3-Lempel-Ziv-Welch Encoding 4-Arithmatic coding 5-Delta Encoding Some others... 6-Adaptive Huffman coding 7-Wavelet compression 8-Discrete Cosine Transform

Huffman Coding -The characters in a data file are converted to a binary code. -The most common characters in the input file(characters with higher probability) are assigned short binary codes and -least common characters(with lower probabilities) are assigned longer binary codes. -Codes can be of different lengths

Lempel-Ziv-Welch -Uses a dictionary or code table. -Done by constructing a "dictionary" of words or parts of words in a message, and then using pointers to the words in the dictionary. -LZW to compress text, executable code, and similar data files to about one-half their original size. Higher compressions of 1:5 can also be achievable. Example: The string "ain" can be stored in the dictionary and then pointed to when it repeats.

Lempel-Ziv-Welch

Lempel-Ziv-Welch

Run Length Encoding -Coding data with frequently repeated characters. -It is called run-length because a run is made for repeated bits and coded in lesser bits by only stating how many bits were there. Example: -A file with 0 as repeating character. -Two characters in the compressed file replace each run of zeros. -For the first 3 repeating 0 s in original file, the first encdoed stream in compressed file is showing that 0 was repating 3 times.

Arithmetic Coding -Message is encoded as a real number in an interval from 0 to 1. -Shows better performance than Huffman coding. Disadvantages -The whole codeword must be received to start decoding. -If there is a corrupt bit in the codeword, the entire message could become corrupt. -Limited number of symbols to encode within a codeword.

Arithmetic Coding Symbol Probability Interval A 0.2 (0.0, 0.2) B 0.3 (0.2, 0.5) C 0.1 (0.5, 0.6) D 0.4 (0.6, 1.0) Symbol New A Interval A (0.0, 0.04) B (0.04, 0.1) C (0.1, 0.102) D (0.102, 0.2) Symbol New B Interval A (0.102, 0.1216) B (0.1216, 0.151) C (0.151, 0.1608) D (0.1608, 0.2) Symbol New D Interval A (0.1608, 0.16864) B (0.16864, 0.1804) C (0.1804, 0.18432) D (0.18432, 0.2)