-
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
-
CCSDS_IMAGE_COMPRESSION
CCSDS图像压缩源代码,MATLAB编写处理(CCSDS image compression source code, MATLAB write processing)
- 2010-03-09 14:19:55下载
- 积分:1
-
reliability-assessment
电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
- 2020-09-01 09:28:09下载
- 积分:1
-
SNIC_mex
完整的SNIC的算法,可直接运行,无需其他操作(SNIC algorithm, can run directly)
- 2019-03-12 10:42:30下载
- 积分:1
-
jpeg_ls_v2.2
实现图像的jpeg无损压缩,可以在linux系统下经过交叉编译器编译后在arm上实现,已经写好makefile文件(Realize jpeg image lossless compression, you can linux system through cross-compiler to compile in the arm to achieve, has written makefile file)
- 2008-04-21 10:21:26下载
- 积分:1
-
zip
压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
- 2013-10-14 10:16:38下载
- 积分:1
-
Jpeg_code_decode
MATLAB图像压缩JPEG编解码算法,多种参数对比,代码详细实现JPEG编解码标准算法(MATLAB codec JPEG image compression algorithm, multi-parameter comparison, the code in detail to achieve the standard JPEG codec algorithm)
- 2008-06-10 20:52:40下载
- 积分:1
-
reliability-assessment
电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
- 2020-09-01 09:28:09下载
- 积分:1
-
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
-
OOMP
OOMP算法是压缩传感的一种算法,其对OMP算法进行改进,提高了正确率。(OOMP Compressed sensing algorithm is an algorithm to improve its OMP algorithm to improve the accuracy.)
- 2013-09-16 09:50:09下载
- 积分:1