Professional Documents
Culture Documents
Arithmetic Lempel and Ziv Coding Chapter 2 Part 2 EH
Arithmetic Lempel and Ziv Coding Chapter 2 Part 2 EH
Arithmetic Coding
1
Universal Codes and Channel Capacity
Arithmetic Coding
2
Universal Codes and Channel Capacity
Arithmetic Coding
3
Universal Codes and Channel Capacity
Arithmetic Coding
4
Universal Codes and Channel Capacity
Arithmetic Coding
5
Universal Codes and Channel Capacity
Arithmetic Coding
6
Universal Codes and Channel Capacity
Arithmetic Coding
7
Universal Codes and Channel Capacity
Arithmetic Coding
8
Universal Codes and Channel Capacity
Arithmetic Coding
9
Universal Codes and Channel Capacity
Arithmetic Coding
10
Fig. 3.15: Arithmetic coding for Example 3.20.
Universal Codes and Channel Capacity
Arithmetic Coding
11
Universal Codes and Channel Capacity
Arithmetic Coding
12
Universal Codes and Channel Capacity
Lempel Ziv Coding
13
Universal Codes and Channel Capacity
Lempel Ziv Coding
14
Universal Codes and Channel Capacity
Lempel Ziv Coding
The algorithm
The algorithm
𝑛𝑊
• Both encoder and decoder maintain a dictionary 𝐷𝐼
containing the most recent nW encoded source symbols.
• When encoding a substring starting with source symbol
𝑛−1
wk, the dictionary contains the source symbols 𝑊𝑘−𝑛 𝑊
.
• Initially dictionary contains the first nW symbols of 𝑊1𝑁 .
𝑛𝑊
• First codeword C0 is the initial dictionary, 𝑊1 .
• Second codeword C1is found by searching for the largest
substring Y1, beginning with such that Y1 starts in the
dictionary and ends L1 1 time units later,
• The index of the dictionary symbol where the copy of Y1
begins is denoted by p. m1= nW – p. 16
Universal Codes and Channel Capacity
Lempel Ziv Coding
The algorithm
18
Universal Codes and Channel Capacity
20
Universal Codes and Channel Capacity
Lempel Ziv Coding
21
Universal Codes and Channel Capacity
Lempel Ziv Coding
22
Universal Codes and Channel Capacity
Lempel Ziv Coding
23