-
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_code
实现Huffman算法,对数据进行最优编码压缩。(huffman code)
- 2016-01-22 09:27:03下载
- 积分:1
-
Renderer
this is renderer function
- 2009-11-15 21:17:44下载
- 积分:1
-
TestMQCoder
JPEG里MQ算术编码测试程序 编解码器 C(MQ arithmetic coding in JPEG test procedure codec C)
- 2020-12-06 09:19:22下载
- 积分:1
-
youmohoudu
不可压缩稳态滑块润滑,一定长度的变间隙油膜厚度解析(Incompressible variable gap steady slide lubrication film thickness resolve certain length)
- 2015-10-28 10:28:17下载
- 积分:1
-
Huffman
用C++的模板类实现的霍夫曼树及其编码过程,可视地展示霍夫曼树的结构。(Huffman tree and its encoding process to achieve C++ template class, visual display of the structure of the Huffman tree.)
- 2012-06-26 14:52:57下载
- 积分:1
-
01
说明: vc 典型模块 是一个图像压缩显示的程序(vc typical module is shown in an image compression program)
- 2009-11-24 21:08:29下载
- 积分:1
-
compress11
这是lzw算法源程序代码,纯c语言编程实现,希望对您有用。(lzw algorithm source code, pure c programming language, and I hope to you useful.)
- 2006-10-28 11:42:08下载
- 积分:1
-
arithmetic
有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
- 2013-11-28 23:19:16下载
- 积分:1
-
Jepg2000的压缩
Jepg2000的压缩解压(Jepg2000 compression decompression)
- 2020-07-09 14:48:55下载
- 积分:1