登录
首页 » Java » huff

huff

于 2013-05-26 发布 文件大小:7KB
0 216
下载积分: 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 个回复

  • peakfinder
    This function quickly finds local peaks or valleys (local extrema) in a noisy vector using a user defined magnitude threshold to determine if each peak is significantly larger (or smaller) than the data around it. The problem with the strictly derivative based peak finding algorithms is that if the signal is noisy many spurious peaks are found.
    2021-03-12 19:39:25下载
    积分:1
  • matlab_code_for_video_compression
    video compression using matlab
    2017-10-13 02:59:00下载
    积分:1
  • Cookie
    cookie 的简单实现,比较原始的代码,呵呵,对于初学web +java +tomcat netbean (web+java+tomcat netbean )
    2010-03-09 13:04:01下载
    积分:1
  • arithmetic
    有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
    2013-11-28 23:19:16下载
    积分:1
  • GZIP例子
    利用gzip.dll解压http请求返回的内容。内附gzip.dll。参考网上资料自己写的VB6工程源码。自己编译EXE的时候注意把gzip.dll释放到exe所在目录。(Use gzip.dll to decompress the content returned by HTTP request. Gzip.dll is attached. Refer to the VB6 project source code written by myself.)
    2020-06-22 07:00:02下载
    积分:1
  • DS4
    设电文字符集D及各字符出现的概率F如下: D={a,b,c,d,e,f,g,h}(字符数n=8) F={5,29,7,8,14,23,3,11}( ) 编写完成下列功能的程序: ①构造关于F的Huffman树; ②求出并打印D总各字符的Huffman编码。 程序结构: 类型说明; 构造Huffman树的函数:Huffman_tree(H[m+1]); 求Huffman编码的函数:Huffman_code(code[n+1]); main() { 变量说明; 输入字符集D及频率F; 调用Huffman_tree(H); 调用Huffman_code(code); 打印编码; Y 继续? N 停止 }
    2015-06-06 16:41:33下载
    积分:1
  • huffman_file_compress
    说明:  使用霍夫曼huffman 編碼方式 對文件進行壓縮 程序很簡單 主要是幫助新人了解霍夫曼編碼的實現方法(The use of Huffman huffman encoding file compression program is very simple principal is to help newcomers understand the Hoffman encoding method)
    2008-11-14 06:56:32下载
    积分:1
  • AES
    AES压缩技术编程源代码,包含压缩和解压全套源代码的完整工程(AES compression technology programming source code, including compression and decompression full source code of complete project )
    2015-12-24 11:09:07下载
    积分:1
  • SourceCode
    赫夫曼编/译码器源码,已生成的每个字符的赫夫曼编码,对任意字符文本进行编码,再译码(Huffman encoder/decoder source code, Huffman coding, each character has been generated, the text of any character encoding, decoding)
    2013-04-24 10:36:09下载
    积分:1
  • RIPText
    用来测试压缩感知中构造的测量矩阵的RIP的(this .m file is used to check the senging matrix RIP in CS)
    2021-04-12 15:58:57下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载