【精品】PPT课件 010.141 Engineering Mathematics IILecture pression.ppt


文档分类:外语学习 | 页数:约30页 举报非法文档有奖
1/ 30
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/ 30
文档列表 文档介绍
Engineering Mathematics II Lecture pression
Bob McKay
School puter Science and Engineering
College of Engineering
Seoul National University
1
Outline
pression
Huffman & Shannon-Fano
pression
The LZ Family of Algorithms
pression
pression
pression
pression
2
pression
Lossless encoding methods guarantee to reproduce exactly the same data as was input to them
3
Run Length Encoding
4
Relative Encoding
Useful when there are sequences of runs of data that vary only slightly from one run to the next:
eg the lines of a fax
The position of each change is denoted relative to the start of the line
Position indicator can be followed by a numeric count indicating the number of essive changes
For pression, the position of the next change can be denoted relative to the previous
5
pression
For the examples below, we will use a simple alphabet with the following frequencies of occurrence (after Held)
Character
Probability
X1

X2

X3

X4

X5

X6

X7

6
Huffman Encoding
Arrange the character set in order of decreasing probability
While there is more than one probability class:
Merge the two lowest probability classes and add their probabilities to obtain posite probability
At each branch of the binary tree, allocate a '0' to one branch and a '1' to the other
The code for each character is found by traversing the tree from the root node to that character
7
Huffman Encoding
8
Shannon-Fano Algorithm
Arrange the character set in order of decreasing probability
While a probability class contains more than one symbol:
Divide the probability class in two
so that the probabilities in the two halves are as nearly as possible equal
Assign a '1' to the first probability class, and a '0' to the second
9
Shannon-Fano Encoding
10

【精品】PPT课件 010.141 Engineering Mathematics IILecture pression 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数 30
  • 收藏数 0 收藏
  • 顶次数 0
  • 上传人 wo1230
  • 文件大小 0 KB
  • 时间2014-12-01
最近更新