首页 开发技术 C     /    基于哈夫曼的信源编码与解码(附工程文件与实验报告)

基于哈夫曼的信源编码与解码(附工程文件与实验报告)

上传者: goodxin_ie | 上传时间:2024/1/4 16:01:36 | 文件大小:375KB | 文件类型:zip
基于哈夫曼的信源编码与解码(附工程文件与实验报告)
通过编程实现仿真模拟基于哈夫曼编码的信源编码与解码过程,对于给定的源文档SourceDoc.txt,1)统计其中所有字符的频度(某字符的频度等于其出现的总次数除以总字符数),字符包括字母(区分大小写)、标点符号、格式控制符(空格、回车等)以及特殊字符。
2)按频度统计结果构建哈夫曼编码表,输出哈夫曼码表信息文件Statistic.txt。
3)基于哈夫曼编码表进行编码,生成对应的二进制码流,并输出到文件Encode.dat,完成信源的编码过程。
4)根据生成的哈夫曼编码表,对二进制码流文件Encode.dat进行解码,把结果输出到文件TargetDoc.txt,完成信源的解码过程。
5)判断TargetDoc.txt与SourceDoc.txt内容是否一致,以验证编解码系统的正确性。
本软件ID:10413928

文件下载

资源详情

[{"title":"(36个子文件375KB)基于哈夫曼的信源编码与解码(附工程文件与实验报告)","children":[{"title":"项目说明.doc <span style='color:#111;'>27.50KB</span>","children":null,"spread":false},{"title":"project","children":[{"title":"Makefile.win <span style='color:#111;'>1009B</span>","children":null,"spread":false},{"title":"main.opt <span style='color:#111;'>52.50KB</span>","children":null,"spread":false},{"title":"main.dev <span style='color:#111;'>463B</span>","children":null,"spread":false},{"title":"Sort.cpp <span style='color:#111;'>396B</span>","children":null,"spread":false},{"title":"main.dsw <span style='color:#111;'>516B</span>","children":null,"spread":false},{"title":"Frequent.o <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"main.vcxproj <span style='color:#111;'>6.10KB</span>","children":null,"spread":false},{"title":"Comparing.o <span style='color:#111;'>2.30KB</span>","children":null,"spread":false},{"title":"Frequent.cpp <span style='color:#111;'>595B</span>","children":null,"spread":false},{"title":"Sort.o <span style='color:#111;'>866B</span>","children":null,"spread":false},{"title":"main.ncb <span style='color:#111;'>41.00KB</span>","children":null,"spread":false},{"title":"main.dsp <span style='color:#111;'>3.30KB</span>","children":null,"spread":false},{"title":"main.plg <span style='color:#111;'>2.19KB</span>","children":null,"spread":false},{"title":"DeCoding.cpp <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"HuffmanCoding.cpp <span style='color:#111;'>2.21KB</span>","children":null,"spread":false},{"title":"Coding.cpp <span style='color:#111;'>1.15KB</span>","children":null,"spread":false},{"title":"printf.o <span style='color:#111;'>1.93KB</span>","children":null,"spread":false},{"title":"main.layout <span style='color:#111;'>717B</span>","children":null,"spread":false},{"title":"main.exe <span style='color:#111;'>139.11KB</span>","children":null,"spread":false},{"title":"CreateList.cpp <span style='color:#111;'>396B</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>1.27KB</span>","children":null,"spread":false},{"title":"mystruct.h <span style='color:#111;'>463B</span>","children":null,"spread":false},{"title":"printf.cpp <span style='color:#111;'>833B</span>","children":null,"spread":false},{"title":"DeCoding.o <span style='color:#111;'>1.88KB</span>","children":null,"spread":false},{"title":"Comparing.cpp <span style='color:#111;'>1.27KB</span>","children":null,"spread":false},{"title":"Backup","children":null,"spread":false},{"title":"main.o <span style='color:#111;'>2.48KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.idb <span style='color:#111;'>41.00KB</span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'>6.86KB</span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'>52.00KB</span>","children":null,"spread":false},{"title":"test.pch <span style='color:#111;'>182.48KB</span>","children":null,"spread":false}],"spread":false},{"title":"mydeclar.h <span style='color:#111;'>650B</span>","children":null,"spread":false},{"title":"CreateList.o <span style='color:#111;'>919B</span>","children":null,"spread":false},{"title":"HuffmanCoding.o <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"Coding.o <span style='color:#111;'>1.77KB</span>","children":null,"spread":false}],"spread":false},{"title":"数据结构实验报告.docx <span style='color:#111;'>321.34KB</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明