Computer Sciences Department1. 2 Data Compression and techniques.

Slides:



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

Data Compression CS 147 Minh Nguyen.
Rectangle Image Compression Jiří Komzák Department of Computer Science and Engineering, Czech Technical University (CTU)
Compression & Huffman Codes
Introduction to Data Compression
Compression Techniques. Digital Compression Concepts ● Compression techniques are used to replace a file with another that is smaller ● Decompression.
SWE 423: Multimedia Systems
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.
T.Sharon-A.Frank 1 Multimedia Size of Data Frame.
Compression & Huffman Codes Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Management Information Systems Lection 06 Archiving information CLARK UNIVERSITY College of Professional and Continuing Education (COPACE)
8. Compression. 2 Video and Audio Compression Video and Audio files are very large. Unless we develop and maintain very high bandwidth networks (Gigabytes.
Lecture 10 Data Compression.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Data Compression For Images. Data compression or source coding is the process of encoding information using fewer bits (or other information-bearing units)
Chapter 2 Source Coding (part 2)
Text Compression Spring 2007 CSE, POSTECH. 2 2 Data Compression Deals with reducing the size of data – Reduce storage space and hence storage cost Compression.
Computer Vision – Compression(2) Hanyang University Jong-Il Park.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
 The amount of data we deal with is getting larger  Not only do larger files require more disk space, they take longer to transmit  Many times files.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Image Compression (Chapter 8) CSC 446 Lecturer: Nada ALZaben.
The LZ family LZ77 LZ78 LZR LZSS LZB LZH – used by zip and unzip
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.
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:
Huffman Code and Data Decomposition Pranav Shah CS157B.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Data Compression Reduce the size of data.  Reduces storage space and hence storage cost. Compression ratio = original data size/compressed data size.
A New Operating Tool for Coding in Lossless Image Compression Radu Rădescu University POLITEHNICA of Bucharest, Faculty of Electronics, Telecommunications.
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
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.
Data Compression 황승원 Fall 2010 CSE, POSTECH 2 2 포항공과대학교 황승원 교 수는 데이터구조를 수강하 는 포항공과대학교 재학생 들에게 데이터구조를 잘해 야 전산학을 잘할수 있으니 더욱 열심히 해야한다고 말 했다. 포항공과대학교 A 데이터구조를.
CS 1501: Algorithm Implementation LZW Data Compression.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
1Computer Sciences Department. 2 Advanced Design and Analysis Techniques TUTORIAL 7.
Multi-media Data compression
Page 1KUT Graduate Course Data Compression Jun-Ki Min.
Lecture 12 Huffman Coding King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
GP-ZIP Genetic Programing File Compression By: Dj Gerena.
CS 1501: Algorithm Implementation
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM M ULTIMEDIA OF D ATA C OMPRESSION Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny.
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 )
File Compression 3.3.
Vocabulary byte - The technical term for 8 bits of data.
Design & Analysis of Algorithm Huffman Coding
Compression & Huffman Codes
Data Compression.
Vocabulary byte - The technical term for 8 bits of data.
3.3 Fundamentals of data representation
Computer Science Higher
Data Compression.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Lesson Objectives Aims You should know about: 1.3.1:
Digital Image Processing Lecture 21: Lossy Compression May 18, 2005
Data Compression.
Data Compression CS 147 Minh Nguyen.
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.
Data Compression.
Data Compression Reduce the size of data.
فشرده سازي داده ها Reduce the size of data.
Data Compression.
Thesis Presented By Mohammad Abul Kalam Azad C Shabbir Ahmad C Francis Palma Tony C Supervised by S. M. Kamruzzaman Assistant.
Presentation transcript:

Computer Sciences Department1

2 Data Compression and techniques

 The idea of Compression  Lossless and lossy Compression RLE method LZW method Computer Sciences Department3 Objectives

 Compression is the art of representing the information in a compact form rather than its original.  Benefits:  Reduce the size of data.  Reduces storage space and storage cost.  Reduces time to retrieve and transmit data Computer Sciences Department4 Data Compression

Thus a representation that compresses a 10MB file to 2MB has a compression ratio of 10/2 = 5, often notated as an explicit ratio, 5:1 = five in one Computer Sciences Department5 Compression Ratio Compression Ratio is the ratio between the size of the compressed file and the size of the source file. Thus a representation that compresses a 10MB file to 2MB has a compression ratio of 2/10 = 0.2 = 5:1

 Saving Percentage % : calculates the shrinkage of the source file as a percentage. Computer Sciences Department6 Saving Percentage

 compressedData = compress(originalData)  decompressedData = decompress(compressedData)  if originalData = decompressedData, the compression is lossless.  If originalData != decompressedData, the compression is lossy. Computer Sciences Department7 Lossless and lossy Compression - 1 Procedure

 Lossless compression is essential in applications such as text file compression.  Popular text compressors such as zip and Unix’s compress are based on the LZW (Lempel-Ziv-Welch) method.  Lossy compression is acceptable in many imaging applications (multimedia). Computer Sciences Department8 Lossless and lossy Compression - 1

Computer Sciences Department9 Pixel

Computer Sciences Department10

It checks whether there are any repeating symbols or not, and is based on those redundancies and their lengths. Computer Sciences Department11 Run Length Encoding Algorithm

Computer Sciences Department12 Example - RLE

 Character sequences in the original text are replaced by codes that are dynamically determined.  The code table is not encoded into the compressed text, because it may be reconstructed from the compressed text during decompression.  Compression is done by scanning the original text from left to right then Create the code table. Computer Sciences Department13 LZW Compression

codeProcedure Data c1128, 96 c2200,30,10 c350,240 Computer Sciences Department14 Example

Computer Sciences Department15 Decompress- try

 Compression:  O(n) expected time, where n is the length of the text that is being compressed.  Decompression:  O(n) time, where n is the length of the decompressed text. Computer Sciences Department16 Time Complexity

 Some of the main lossless data compression techniques are the Huffman Coding, Run Length Encoding, Arithmetic Encoding and Dictionary Based Encoding……etc.  Time Complexity of Compression and Decompression…… Computer Sciences Department17 Conclusion