-
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
-
ken
老鼠走迷宮 迷宮圖油txt黨讀檔 使用DevC++撰寫的(Mouse Maze maze map oil txt file using the party' s reading of written DevC++)
- 2009-11-30 00:40:07下载
- 积分:1
-
Zigzag
zigzag函数的matlab实现,通常图象压缩中经常需要用的ZIGZAG函数(the zigzag function realized by matlab)
- 2011-12-24 14:00:54下载
- 积分:1
-
Huffman-Decoder-master
用verilog编写的huffman解码程序(huffman decoder verilog)
- 2017-12-06 15:31:44下载
- 积分:1
-
CST_Cversion
基于类函数形函数的参数化建模方法,适用于气动设计和优化(Class/Shpae Transform method)
- 2020-12-09 16:59:19下载
- 积分:1
-
gundunkongzhi
混沌控制、混沌同步仿真程序混沌控制、混沌同步仿真程序(Chaos control, chaos synchronization simulation program)
- 2020-08-15 16:18:27下载
- 积分:1
-
基于遗传算法的BP神经网络优化算法
说明: 基于遗传算法的BP神经网络优化算法,可对神经网络的层数和训练函数进行自定义控制,方便系统级开发,非常实用。(The BP neural network optimization algorithm based on genetic algorithm can customize the number of layers and training functions of the neural network, which is convenient for system-level development and very practical.)
- 2020-12-14 19:59:14下载
- 积分:1
-
Image-compression-algorithm
一系列展示图像压缩技术的源代码。包括有:使用块截断编码的图像压缩(Block Truncation)、基于高斯金字塔变换的图像压缩(Gaussian Pyramids)、基于离散余弦变换对图像压缩(Discrete Cosine Transform)、基于奇异值分解(SVD)的图像压缩(Singular Value Decomposition)。给出的代码还可以用于2D图像噪声消除。(Series show the source code for image compression technology. Include: use of block truncation coding for image compression (Block Truncation), Gaussian pyramid transform based image compression (Gaussian Pyramids), based on the discrete cosine transform image compression (Discrete Cosine Transform), based on singular value decomposition (SVD) image compression (Singular Value Decomposition). The code given 2D image can also be used for noise cancellation.)
- 2011-06-21 16:39:40下载
- 积分:1
-
CCSDS_IMAGE_COMPRESSION
CCSDS图像压缩源代码,MATLAB编写处理(CCSDS image compression source code, MATLAB write processing)
- 2010-03-09 14:19:55下载
- 积分:1
-
0_02011031022550853165221641
lzw压缩算法的C语言实现,包含压缩和解压缩的原理及实现代码(failed to translate)
- 2012-05-01 19:25:25下载
- 积分:1