ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Data Compression.

Slides:



Advertisements
Similar presentations
Data Compression CS 147 Minh Nguyen.
Advertisements

Huffman code and ID3 Prof. Sin-Min Lee Department of Computer Science.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture3.
Data Compression Michael J. Watts
Introduction to Data Compression
Compression Techniques. Digital Compression Concepts ● Compression techniques are used to replace a file with another that is smaller ● Decompression.
CSc 461/561 CSc 461/561 Multimedia Systems Part B: 1. Lossless Compression.
Department of Computer Engineering University of California at Santa Cruz Data Compression (1) Hai Tao.
CSCI 3 Chapter 1.8 Data Compression. Chapter 1.8 Data Compression  For the purpose of storing or transferring data, it is often helpful to reduce the.
Compression JPG compression, Source: Original 10:1 Compression 45:1 Compression.
Chapter 10: Transmission Efficiency Business Data Communications, 4e.
Data Representation CS105. Data Representation Types of data: – Numbers – Text – Audio – Images & Graphics – Video.
Lossless Data Compression Using run-length and Huffman Compression pages
CS430 © 2006 Ray S. Babcock Lossy Compression Examples JPEG MPEG JPEG MPEG.
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
Data Compression Basics & Huffman Coding
WEATHER CONDITIONS.
September,2012 File Compression 8/6/ Compiled By:- Solomon W. Demissie.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Basics of Compression Goals: to understand how image/audio/video signals are compressed to save storage and increase transmission efficiency to understand.
CS105 INTRODUCTION TO COMPUTER CONCEPTS DATA REPRESENTATION Instructor: Cuong (Charlie) Pham.
Chapter 2 Source Coding (part 2)
1 Topic 4: Physical Layer - Chapter 10: Transmission Efficiency Business Data Communications, 4e.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
1 TTM4142 Networked Multimedia Systems Video Basics Image and Video Lossless Compression Leif Arne Rønningen Autumn 2008.
Still-image compression Moving-image compression and File types.
Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.
CMSC 100 Storing Data: Huffman Codes and Image Representation Professor Marie desJardins Tuesday, September 18, 2012 Tue 9/18/12 1CMSC Data Compression.
Lossless Compression CIS 465 Multimedia. Compression Compression: the process of coding that will effectively reduce the total number of bits needed to.
COMPRESSION. Compression in General: Why Compress? So Many Bits, So Little Time (Space) CD audio rate: 2 * 2 * 8 * = 1,411,200 bps CD audio storage:
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. The concept of the amount of information.
Huffman coding Content 1 Encoding and decoding messages Fixed-length coding Variable-length coding 2 Huffman coding.
Lecture 4: Lossless Compression(1) Hongli Luo Fall 2011.
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Binary and Hexadecimal numbers.
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
By Yi-ning Hsieh 1. How’s the weather? A. It is sunny. B B. It is windy. C. It is snowy.
Digital Image Processing Lecture 22: Image Compression
Chapter 3 Data Representation. 2 Compressing Files.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
1 Data Compression Hae-sun Jung CS146 Dr. Sin-Min Lee Spring 2004.
Chapter 7 Lossless Compression Algorithms 7.1 Introduction 7.2 Basics of Information Theory 7.3 Run-Length Coding 7.4 Variable-Length Coding (VLC) 7.5.
Huffman code and Lossless Decomposition Prof. Sin-Min Lee Department of Computer Science.
Lecture 12 Huffman Coding King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
1 SWE 423 – Multimedia System. 2 SWE Multimedia System Introduction  Compression is the process of coding that will effectively reduce the total.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Data Compression Michael J. Watts
Design & Analysis of Algorithm Huffman Coding
Compression & Huffman Codes
Vocabulary byte - The technical term for 8 bits of data.
Source Coding Binit Mohanty Ketan Rajawat.
Data Compression.
Lesson Objectives Aims You should know about: 1.3.1:
JPG vs GIF vs PNG What is the difference?
Data Compression.
Vocabulary byte - The technical term for 8 bits of data.
Data Compression CS 147 Minh Nguyen.
Representing Images 2.6 – Data Representation.
Topic 3: Data Compression.
UNIT IV.
What is the weather like?
It’s fine. How’s the weather? WINDY RAINY CLOUDY STORMY SNOWY HOT COLD
Do Now! Convert the following sequence of bits into an image using the protocol we discussed (first 8 bits are lengthxwidth, Then fill in the rows pixel.
How's the weather?.
Data Compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
What's the weather like? stormy hot rainy windy It’s hot!
Presentation transcript:

ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Data Compression

2 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Data Compression The process of encoding information using fewer bits than an unencoded representation would use. Lossless compression ▪Can reproduce the original information completely. ▪Examples : PNG , GIF ( Only for less than 256 color images), ZIP Lossy compression ▪Cannot reproduce the original information. ▪Example : JPEG , MP3 , MPEG ( compressing data by thinning out the difficult parts of the human perceives, therefore thinned data can not be reproduced.

3 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Compression principles (1) Run-length Coding Representing bit string by a number of repeated sequence and the sequence string. ▪Example: (32 bits) ▪Repeat counts from the right: 0×3 , 1×2 , 0×7 , 1×7 , 0×5 , 1×5 , 0×3 ▪Repeat counts is less than 7, so they can be represented using 3 bits: (21 bits) ▪Note that if 0 and 1 appear alternately, the value of each part (0 or 1) can be skipped. ▪If one value is repeated more than 8 times, it can be represented by a different bit value (for example, 0 is repeated 12 times, so representing 0 as: 0×7 , 1×0 , 0×5 , then encoding: )

4 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Compression principles (2) Huffman Coding Assign short bit string for big probability of occurrence of one element. ▪To encode 4 types of weather in one week (sunny, rainy, snowy, cloudy), two bits are needed. Weather log in one week: sunny , sunny, sunny, cloudy, cloudy, cloudy, rainy. 2-bit encoding string is (14 bits) The probability of occurrence sunny > cloudy> rainy > snowy →Encode sunny : 1 cloudy : 01 rainy : 001 snowy : 000 → string (12 bits) Weather2-bit encoding Variable-length encoding by the probability of occurrence sunny001 rainy01001 snowy10000 cloudy1101