I ve written some many years ago dynamic Huffman algorithm to compress and decompress data. It is ma - 免费下载

数值算法/人工智能资源 文件大小:8 K

📋 资源详细信息

文件格式
ZIP
上传用户
上传时间
文件大小
8 K
所需积分
2 积分
推荐指数
⭐⭐⭐⭐⭐ (5/5)

💡 温馨提示:本资源由用户 wuliaowenti 上传分享,仅供学习交流使用。如有侵权,请联系我们删除。

资源简介

I ve written some many years ago dynamic Huffman algorithm to compress and decompress data. It is mainly targeted to data with some symbols occuring more often than the rest (e.g. having some data file consisted of 3 different symbols and their total number of occurence in that file s1(1000), s2(200), s3(30) so the total length of file is 1000+200+30=1230 bytes, it will be encoded assigning one bit to s1 and 2 bits to s2, s3 so the encoded length will be 1*1000+2*(200+30)=1460 bits=182 bytes). In the best case the file consisted of just one symbol will be encoded with compression ratio as 1:8. Huffman coding is used in image compression, however in JPEG2000 arithmetic codec is imployed.

源码文件列表

📂 共 8 个源码文件 点击文件名可在线查看源代码

1 📄
huffman.cpp
大小: 8.96 KB
查看源码
2 📋
huffman.h
大小: 3.73 KB
查看源码
3 📋
stdafx.h
大小: 395 B
查看源码
4 📄
main.cpp
大小: 2.48 KB
查看源码
5 📄
stdafx.cpp
大小: 294 B
查看源码
6 📄
huffman.vcproj
大小: 4.59 KB
查看源码
7 📃
readme.txt
大小: 1.27 KB
查看源码
8 📋
targetver.h
大小: 765 B
查看源码
💡
温馨提示:点击文件名或"查看源码"按钮可在线浏览源代码,支持语法高亮显示。

立即下载此资源

提示:下载后请用压缩软件解压,推荐使用 WinRAR 或 7-Zip

资源说明

📥 下载说明

  • 下载需消耗 2积分
  • 24小时内重复下载不扣分
  • 支持断点续传
  • 资源永久有效

📦 使用说明

  • 下载后用解压软件解压
  • 推荐 WinRAR 或 7-Zip
  • 如有密码请查看说明
  • 解压后即可使用

🎁 积分获取

  • 上传资源获得积分
  • 每日签到免费领取
  • 邀请好友注册奖励
  • 查看详情 →

相关标签

点击标签查看更多相关资源:

相关资源推荐