- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
几种压缩算法(Several compression algorithms)
几种压缩算法(Several compression algorithms)
What is entropy?
Data compression is not only the origin of the first in 40s by Claude Shannon of the information theory, and the basic principle of the information can be compressed to exactly how small, still follow a theorem in information theory, this theorem borrowed noun thermodynamic entropy (Entropy) to indicate the amount of information in a real information the need for encoding:
Consider the binary code consisting of 0 and 1 for a message containing N encoding symbols, symbols of Fn probability hypothesis is repeated in the whole message in Pn, the symbol entropy is that bits required for the symbol:
En = - log2 (Pn)
The entropy of the whole message, that is, the number of bits required to represent the whole information is: E = Sigma En
For example, for the following string that only appears a, B, C, three characters:
Aabbaccbaa
The string length is 10, and the characters a, B, and C appear 532 times, and the probability of a, B, C appearing in the information is 0.5, 0.3, 0.2, respectively. Their entropy is respectively:
Ea = -log2 (0.5) = 1
Eb = -log2 (0.3) = 1.737
Ec = -log2 (0.2) = 2.322
The entropy of the entire message is the number of bits required to represent the entire string:
E = Ea * 5 + Eb * 3 + Ec * 2 = 14.855 bit
Recall that if we use the ASCII code commonly used in computers to represent the strings above, we need 80 full bits! Now I know why information can be compressed without losing the original information content. Simply speaking, using fewer bits to represent more frequent symbols is the basic principle of data compression.
The attentive reader will soon think how we should use 01 binary digits to represent zeros Its really difficult, but its not impossible. Once we have found a method for accurately representing zeros, we have the right to challenge the limits of lossless compression. Dont worry, youll see it in the fourth chapter.
Model
From the above description, we understand that to compr
您可能关注的文档
- 什么是调漂(What is drift).doc
- 什么是编译程序(What is a compiler).doc
- 什么是门禁控制器门禁控制器通常是怎样分类的为什么四门控制器(What is access controller How is the access control controller usually classified Why is the four gate controller).doc
- 什么是java编程思想(What is the Java programming idea).doc
- 什么样的员工最受主管青睐(What kind of employees are most popular with supervisors).doc
- 什么样的广告才最有价值之二美女广告探析(What kind of advertising is the most valuable Two beauty ads).doc
- 今天我们这样学习语文(Today we learn Chinese in this way).doc
- 今天的任务(Today's mission).doc
- 今日宁波帮(Ningbo Gang today).doc
- 介绍友内部使营销(Introduce friends to make marketing).doc
- 几种浆肉方法(Several methods of pulp and meat).doc
- 几十种精油的作用(The function of dozens of essential oils).doc
- 几种元宵做法(Several kinds of Lantern Festival practices).doc
- 凯克望远镜介绍(The Keck telescope).doc
- 切尔西全能帝上位(Chelsea Almighty supreme).doc
- 刑事再审制度改进与完善探析(On the improvement and perfection of criminal retrial system).doc
- 刑事和解视角下自由裁量权的规制(The regulation of discretion in the perspective of criminal reconciliation).doc
- 刑事被害人救助制度探析(A probe into the relief system of criminal victims).doc
- 凯鹏华盈(kpcb),为何在中国走向衰败(KPCB, why is China heading for decline).doc
- 减肥系列之食物的热量与运动热量消耗(The calories and calories consumed in the diet series).doc
最近下载
- (高清版)DB15∕T 3765—2024 草地碳汇监测与核算技术规程.pdf VIP
- 施工员(市政)模拟考试题(附答案).doc VIP
- 化疗后骨髓抑制护理课件.pptx VIP
- 饲料企业从业人员法规考核试题300道带答案与解析!绝对验证过的!.pdf VIP
- 挫折与心理防御.ppt VIP
- 《离子反应第一课时》说课稿全国高中化学说课一等奖.docx VIP
- 市政工程毕业论文12篇.doc VIP
- 消防控制室值班人员培训PPT课件 消防控制室工作人员培训 消防控制室操作员培训材料.pptx VIP
- 教育科学研究方法课题研究报告.pptx VIP
- 教育科学研究规划课题研究报告.pptx VIP
文档评论(0)