登录
首页 » Java » huff

huff

于 2013-05-26 发布 文件大小:7KB
0 107
下载积分: 1 下载次数: 4

代码说明:

  呃,就是用赫夫曼算法写的压缩解压程序。非常粗糙,只能压缩英文文章。因为里面的字符概率是基于自然语言的,源代码之类的没法压缩。而且会抛弃最后几个字母,嘿嘿。为了交作业,没有好好写。改一下下应该能挺好的。压缩比能到60 吧(Uh, is to use Huffman compression decompression algorithm written procedures. Very rough, only compress English articles. Because there is the probability of characters based on natural language, the source code and the like can not compressed. And will abandon the last few letters, hehe. For homework, not properly written. The following should be able to change it quite good. Compression ratio to 60 of it can be)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Traversalalgo
    Codes". Huffman coding uses a specific method for choosing the representation for each symbol, resulting in a prefix code (sometimes called "prefix-free codes") (that is, the bit string representing some particular symbol is never a prefix of the bit string representing any other symbol) that expresses the most common characters using shorter strings of bits than are used for less common source symbols. Huffman was able to design the most efficient compression method of this type: no other mapping of individual source symbols to unique strings of bits will produce a smaller average output size when the actual symbol frequencies agree with those used to create the code. A method was later found to do this in linear time if input probabilities (also known as weights) are sorted.
    2009-12-01 04:47:10下载
    积分:1
  • 图像的MATLAB算法JPEG
    图像压缩的MATLAB算法之JEPG,完整的例程,参改价值高。(This compression is for jpeg in matlab with a whole example,and it s valuable to look at it!)
    2021-04-09 20:48:59下载
    积分:1
  • gyf2
    法是否是否是发生的方式放松放松佛挡杀佛是(放松放松的发生地发生地发)
    2010-05-10 14:43:38下载
    积分:1
  • zp
    说明:  一个用jbuilder做纸牌游戏,希望对你学习有帮助(A card game using jbuilder do, and they hope to help you learn)
    2008-11-27 16:38:18下载
    积分:1
  • zip4j
    从Zip文件创建,添加,提取,更新,删除文件 读/写密码保护的Zip文件 支持AES 128/256加密 支持标准邮??编加密 支持Zip64格式 支持存储(无压缩)和Deflate压缩方法 从Split Zip文件创建或提取文件(例如:z01,z02,... zip) 支持Unicode文件名 进度监视器(Create, add, extract, update, delete files from Zip files Read/write password-protected Zip files Support for AES 128/256 encryption Supporting Standard Postal Encryption Support Zip64 format Supporting storage (uncompressed) and Deflate compression methods Create or extract files from Split Zip files (e.g. z01, z02,... Zip))
    2020-06-21 08:20:02下载
    积分:1
  • jpeg1
    基于stm32的jpeg图片压缩代码,并且通过串口输出(The stm32-based jpeg image compression code, and output through the serial port)
    2021-04-08 16:09:00下载
    积分:1
  • ewmark
    newmark-b法的简要程序,供大家使用(newmark-b)
    2010-03-06 12:49:10下载
    积分:1
  • 一种无损图象算法,可用于珍贵图象的保存 calic
    一种无损图象压缩算法,可用于珍贵图象的保存.(A lossless image compression algorithm, can be used for the preservation of precious images.)
    2020-08-10 18:48:28下载
    积分:1
  • Copy
    抽象类和借口的区别抽象类和借口的区别抽象类和借口的区别(English Version)
    2010-03-04 05:13:48下载
    积分:1
  • mpeg
    一些MPEG图象处理中图象压缩解压的MATLAB源码(Some MPEG image processing in image compression decompression MATLAB source code)
    2008-05-30 09:02:16下载
    积分:1
  • 696524资源总数
  • 103783会员总数
  • 41今日下载