-
200430481
赫夫曼编译码器:
用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼码的编/译码系统。
[基本要求]一个完整的系统应具有以下功能:
(1)I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
(2)E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3)D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。
(4)P:印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。
(5)T:印哈夫曼树(Tree printing)。将已在内存中的哈夫曼树以直观的方式(树或凹入表形式)显示出,同时将此字符形式的哈夫曼树写入文件TreePrint中。()
- 2021-03-06 09:19:30下载
- 积分:1
-
zcrypt29-exportable
说明: 从老师那下的压缩机俄压缩程序,应该有用!(from teachers that the Russian compressor compression procedure, we should useful!)
- 2005-11-01 18:54:32下载
- 积分:1
-
zishiyingyoucheng
MATLAB
基于小波改进的自适应游程编码(MATLAB
Adaptive run range coding based on wavelet improved)
- 2021-03-20 17:39:18下载
- 积分:1
-
imagehuffmancompressanddecompress
说明: 实现了图像的哈夫曼编码和解码,对图像编码的学习很有帮助(Achieved image Huffman encoding and decoding of image coding learning helpful)
- 2008-09-17 23:22:14下载
- 积分:1
-
0904210213
霍夫曼编码的C++实现,输入一组字符串,输出每个字符的编码及整个字符串的霍夫曼编码。(realization of Huffman coding using VC++)
- 2012-04-15 20:52:45下载
- 积分:1
-
Orthogonal-Matching-Pursuit
压缩传感中Orthogonal Matching Pursuit算法的matlab实现以及测试程序,上传者亲自编写,以验证,可放心使用。(The realization of Orthogonal Matching Pursuit (OMP) algorithm via matlab. OMP is a classical algorithm in compressed sensing. The RAR also includes a test program for this algorithm.)
- 2012-03-22 11:25:16下载
- 积分:1
-
图象压缩的库,有损压缩,无损压缩
说明: 主要用于图象压缩的库,适合JPEG2000,有损压缩,无损压缩,使用c/c++编译。(The library mainly used for image compression, suitable for JPEG2000, lossy compression, lossless compression, using c/c++ compilation.)
- 2020-06-30 15:29:35下载
- 积分:1
-
windowshuffman
哈弗曼编码 加窗口实现 对特定文件压缩效果更好
(Huffman coding plus window to achieve better results for a specific file compression)
- 2014-06-05 13:42:44下载
- 积分: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
-
xinxi
哈夫曼编码,基于MFC开发。哈夫曼编码为熵编码中的最佳方法之一,广泛用于各种数据压缩技术中。-Huffman coding, based on the MFC. Huffman coding for entropy coding one of the best ways, for a wide variety of data compression technology.
- 2011-07-12 10:33:01下载
- 积分:1