Information of the LO Subject: Information Theory

Slides:



Advertisements
Similar presentations
How to Create a Local Collection
Advertisements

Information of the LO Subject: Data Structures, Algorithms Topic: Maze Routing Education Level: UG Problem Statement: Given a n x n maze, find a path from.
Data Compression CS 147 Minh Nguyen.
CSCI 3280 Tutorial 6. Outline  Theory part of LZW  Tree representation of LZW  Table representation of LZW.
A Data Compression Algorithm: Huffman Compression
1 Lossless Compression Multimedia Systems (Module 2) r Lesson 1: m Minimum Redundancy Coding based on Information Theory: Shannon-Fano Coding Huffman Coding.
Lossless Compression Multimedia Systems (Module 2 Lesson 3)
Hamming Code A Hamming code is a linear error-correcting code named after its inventor, Richard Hamming. Hamming codes can detect up to two bit errors,
Syndrome Decoding of Linear Block Code
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.
GFP in the IUID Registry – A Basic Look Walt Clark, CPPM Raytheon IIS.
Document that explains the chosen concept to the animator.
A Step by Step Guide How to add your own pages to the website.
Survey on Improving Dynamic Web Performance Guide:- Dr. G. ShanmungaSundaram (M.Tech, Ph.D), Assistant Professor, Dept of IT, SMVEC. Aswini. S M.Tech CSE.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
The LZ family LZ77 LZ78 LZR LZSS LZB LZH – used by zip and unzip
Lossless Compression CIS 465 Multimedia. Compression Compression: the process of coding that will effectively reduce the total number of bits needed to.
Fundamental Data Structures and Algorithms Margaret Reid-Miller 24 February 2005 LZW Compression.
Welcome This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
ID template 5.0 for creating learning objects Created by OSCAR team October 2011 INSTRUCTIONS SLIDE: DO NO EDIT.
Electrical Resistivity in Superconductors The electrical resistivity of many metals and alloys drops suddenly to zero when the specimen is cooled to a.
Lempel-Ziv-Welch Compression
Welcome This is a template to create an Instructional Design Document of the concept you have selected for creating animation. This will take you through.
Crystal Structure Author Sachin Patil ‘Basis and Lattice ’ The basic building blocks of Crystalline state ‏ ‏
Line Coding Schemes ‏Line coding is the process of converting binary data, a sequence of bits to a digital signal. Authors Phani Swathi Chitta Mentor Prof.
Convolutional Coding In telecommunication, a convolutional code is a type of error- correcting code in which m-bit information symbol to be encoded is.
Welcome This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
Crystal Structure Author Sachin Patil ‘Basis and Lattice ’ The basic building blocks of Crystalline state ‏ ‏
Linear Search Linear Search is a fundamental search algorithm. Linear search, also known as sequential search, is a process that checks every element in.
Electrical Resistivity in Superconductors The electrical resistivity of many metals and alloys drops suddenly to zero when the specimen is cooled to a.
Lampel ZIV (LZ) code The Lempel-Ziv algorithm is a variable-to-fixed length code Basically, there are two versions of the algorithm LZ77 and LZ78 are the.
LZW (Lempel-Ziv-welch) compression method The LZW method to compress data is an evolution of the method originally created by Abraham Lempel and Jacob.
Go-Back-N ARQ (Sliding Window Protocol) Go-Back-N is an instance of the Automatic Repeat-request (ARQ) Protocol, in which the sending process continues.
Document that explains the chosen concept to the animator 1.
Information of the LO Domain: Physics Subject: Solid state Physics Topic: Superconductivity Sub-Topic: Formation of Cooper pairs In superconductors, there.
Computer Sciences Department1. 2 Data Compression and techniques.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Welcome This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
05/09/11Project OSCAR IDD Template 4.7 Instructional Design Document Version Project OSCAR IDD Template 4.7.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
05/09/11Project OSCAR IDD Template 4.7 Instructional Design Document Version Project OSCAR IDD Template 4.7.
Data Compression Michael J. Watts
Document that explains the chosen concept to the animator
Data Coding Run Length Coding
Data Compression.
COMP261 Lecture 21 Data Compression.
Lempel-Ziv-Welch (LZW) Compression Algorithm
Data Compression CS 147 Minh Nguyen.
The basic building blocks of Crystalline state‏ ‏
Learning Objectives After interacting with this Learning Object, the learner will be able to: Explain the process of collision detection in CSMA/CD.
Information of the LO Subject: Information Theory Domain: Algorithms
Data Compression Reduce the size of data.
Instructional Design Document
Document that explains the chosen concept to the animator
Prof. Saravanan Vijayakumaran
4.1 Strings ASCII & Processing Strings with the Functions
Welcome 1 This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
فشرده سازي داده ها Reduce the size of data.
COMS 161 Introduction to Computing
Binary Search A binary search algorithm finds the position of a specified value within a sorted array. Binary search is a technique for searching an ordered.
Title of the animation Author SUHAS S FIBONACCI SERIES
Sorted Linked List A linked list is a data structure that consists of a sequence of data records such that in each record there is a field that contains.
Requirements Teacher’s corner Research page
How to use hash tables to solve olympiad problems
Welcome 1 This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
The basic building blocks of Crystalline state‏ ‏
Table 3. Decompression process using LZW
CPS 296.3:Algorithms in the Real World
Presentation transcript:

Information of the LO Subject: Information Theory Domain: Digital Communication Sub domain: Lossless Data Compression Topic: Lempel–Ziv–Welch Compression Education Level: UG The Lempel-Ziv algorithm is an adaptive type of algorithm. The basic idea is to replace recurring patterns with references to a dictionary. Author: Mentor: Jasveer Singh T. Jethra Prof. Sachin Patkar 1 1

Pre requisites Basics of Information coding. 22 Before using this LO, the user should know about the following: Basics of Information coding. 2

Project OSCAR IDD Template 4.7 Learning objectives After interacting with this LO the user should be able to: Compress stream of data using Lempel–Ziv–Welch algorithm. Decompress by decoding the Lempel–Ziv–Welch encoded data. Project OSCAR IDD Template 4.7 3 3

Keywords in this LO Dictionary: 44 Keywords in this LO These are the keywords and their description in this LO Dictionary: The pre-defined dictionary are the ASCII characters from 32-126, because they are the displayable ones. Additional characters are added as set of 2 or more characters together. 2. Compression Ratio: The term used to quantify the reduction in data-representation size produced by a data compression algorithm. Compression Ratio = Compressed Size Uncompressed Size 4

Element groups in this LO 55 Element groups in this LO Name of the element group and Abbreviation Name of the elements in the group Rank of element group (in terms of the most important element group on the screen that students should focus on) 1: most important, 2: next in importance, … and so on Input Textbox 1 Dictionary Listbox Output 5 5

Write the name of the element group 1 66 Write the name of the element group 1 The title of each column explains contains guidelines on the details required.) Name of the element Abbreviation Reference image Image for using in LO Functional or interactivity details Connected to Input Textbox 1. Here text will be entered by the user 2. After every character is entered by the user the character will be checked in the dictionary as explained in the algorithm and following steps. 6 6

Write the name of the element group 1 77 Write the name of the element group 1 The title of each column explains contains guidelines on the details required.) Name of the element Abbreviation Reference image Image for using in LO Functional or interactivity details Connected to Dictionary Listbox Initialize dictionary with ASCII characters from 32-126 by numbering them from 0-94. Refer to the algorithm shown in the next slide and the further steps. 7 7

Search for the longest block W which has appeared in the dictionary. Encoding Algorithm: After having the dictionary initialized to contain the ASCII characters from 32-126 redefined as 0-94, start taking input from the given string and name it as W. Search for the longest block W which has appeared in the dictionary. Encode W by its index in the dictionary. Add W followed by the first symbol of the next block to the dictionary. Go to Step 2. 8 8

Supportive image for step 1a Raw Comp. Total no. of codes sent 0 0 9 9

Supportive image for step 1b Raw Comp. Total no. of codes sent 0 0 10 10

Step 1 11111111 S. No. Description of the action / interactivity Start Time of the action End Time of the action Audio narration On screen text 1. The dictionary is to be reset with ASCII characters from 32-126 assigned as 0-94 respectively. 0-94 is a code for that particular character. For eg., ASCII of a is 97, so after rearranging ASCII characters 32-126 as 0-94, we have code for a as 65. So 0-94 are the codes for the respective characters. 0 sec 2. The figures shown in the next few slides is based on the example string: “abaabccffebacdabcf” taken serially 11 11

Supportive image for step Raw Comp. Total no. of codes sent 0 0 12 12

Step 2 13131313 Description of the action / interactivity Start Time of the action End Time of the action Audio narration On screen text When the 1st character is entered, as this character is already present in the dictionary, it waits for the next character to come, again checks if this character along with the previous character together as a block of characters is present in the dictionary. As the dictionary initially only has single length characters encoded in the dictionary, it will add this block of characters to its dictionary as well and code them as 95. When user enters 1st character in the input textbox. Now the output box will show the code for the 1st character. 13 13

Supportive image for step 3 Raw Comp. Total no. of codes sent 1 1 14 14

Step 3 15151515 Sr. no. Description of the action / interactivity Start Time of the action End Time of the action Audio narration On screen text 1. if previous block (this block can be a single character as well) and the next character together as a block is already present in the dictionary then the code for this block is shown in the output along with the previous output. else the code for previous character is shown in the output along with the previous output and will be sent to the output box and the previous block along with the next character together formed as a block is updated in the dictionary with a next new code assigned to it. Wait till user inputs next character 2. Jump to serial no. 2. and keep on repeating it until the dictionary is filled with 256 blocks. (already 95 (0-94) codes/blocks were present, so additional 161 blocks can be added ) After sr.no.1 is complete 15 15

Supportive image for step 3a Raw Comp. Total no. of codes sent 2 2 16 16

Supportive image for step 3b Raw Comp. Total no. of codes sent 3 3 17 17

Supportive image for step 3c Raw Comp. Total no. of codes sent 3 3 18 18

Supportive image for step 3d Raw Comp. Total no. of codes sent 5 4 19 19

Supportive image for step 3e Raw Comp. Total no. of codes sent 6 5 20 20

Supportive image for step 3f Raw Comp. Total no. of codes sent 7 6 21 21

Supportive image for step 3g Raw Comp. Total no. of codes sent 8 7 22 22

Supportive image for step 3h Raw Comp. Total no. of codes sent 9 8 23 23

Supportive image for step 3i Raw Comp. Total no. of codes sent 10 9 24 24

Supportive image for step 3j Raw Comp. Total no. of codes sent 10 9 25 25

Supportive image for step 3k Raw Comp. Total no. of codes sent 12 10 26 26

Supportive image for step 3l Raw Comp. Total no. of codes sent 13 11 27 27

Supportive image for step 3m Raw Comp. Total no. of codes sent 14 12 28 28

Supportive image for step 3n Raw Comp. Total no. of codes sent 14 12 29 29

Supportive image for step 3o Raw Comp. Total no. of codes sent 14 12 30 30

Supportive image for step 3p Raw Comp. Total no. of codes sent 17 13 31 31

Question 1: What type of data compression is LZW? Answers: 1. Lossy 2. Lossless 3. None of above Correct answer: 2 Feedback/Justification to be displayed: If user clicks correct answer then display: “Correct! Make sure you can explain the reasoning!” If user clicks incorrect answer then display “Have a look at the animation and Try again!” 32 32

Question 2: LZW compression is based on which method? Answers: 1. Dictionary 2. Statistical 3. None of above Correct answer: 1 Feedback/Justification to be displayed: If user clicks correct answer then display “Correct! Make sure you can explain the reasoning!” If user clicks incorrect answer then display “Have a look at the animation and Try again!” 33 33

References Website links for further reading: http://en.wikipedia.org/wiki/LZW Books: The Data Compression Book by Mark Nelson. Research papers: Terry Welch, "A Technique for High-Performance Data Compression", IEEE Computer, June 1984, p. 8–19 34 34