搜索资源列表
Huffman_C
- 打开指定文本文件(英文),通过对文本的字符分析,实现码字的分配并输出熵、平均码长和编码效率。-Open the specified text file (in English), through the analysis of the text characters to achieve the distribution of code word, and the output entropy, average code length and coding efficiency.
callzipdll_callzlib_HUFUNHUF
- 字符串和文件压缩和解压缩的例子,既有成熟的第三方标准dll的调用例子(callzlib调用动态库压缩解压缩字符串,callzlib调用静态库压缩解压缩字符串.rar),也有zipdll这个 c++ dll的调用例子,还有16/32位Haffman编码压缩与解压缩的程序(huf,单文件压缩程序huftest,单文件解压缩程序huftest)。 huf目录的两个源程序:HUF.C和UNHUF.C能用16位编译器编译通过,不能在VC中直接编译通过 现在我已经将HUF/UNHUF的代码用v
work
- 在matlab平台下的viterbi编码译码的程序。secrettext.txt是需要传输的文件,encodetext.txt是编码后的文件,decodetext.txt是译码后的文件。-In the matlab platform of the viterbi decoding encoding process. secrettext.txt need to transfer files, encodetext.txt is encoded file, decodetext.txt is af
shujujieou
- 利用赫夫曼树来设计二进制的前缀编码,实现文件的压缩和恢复功能。-Huffman tree to use to design binary prefix codes, the implementation file compression and recovery.
HuffmanCoding
- huffman coding,pdf文件,介绍各种Huffman code编码-huffman coding, pdf documents, introducing the various Huffman code encoding
26073-800_ANSI_C_source_code
- 3GPP Adaptive Multi- Rate (AMR) 标准实现,针对8KHz采样音频文件按20ms一帧实现两者VAD模式的编码 -3GPP Adaptive Multi-Rate (AMR) standard of achievement for 8KHz sample audio files, according to 20ms between the VAD model to achieve a coding
huffman
- huffman编码和解码,可从文件中读取,并将文件翻译成0,1代码-huffman encoding and decoding can be read from a file, and the translation of documents into the 0,1 code
huffman
- Huffman编码问题一类广泛存在于文件、音频等数据压缩问题中。如根据Huffman编码的原理,实现对文本进行压缩与解压的功能。因此掌握好Huffman编码的技术可以再社会生活中起到很重要的作用。-HuffmanNode* CreateHuffmanTree(int n, char datas[], int powers[]) { HuffmanNode head head.next = NULL //初始化森林 for (i
myhaff
- 哈弗曼编译,能对所有英式字符进行编码,并能根据当前得到的编码文件进行译码。-Havermann compile, able to encode all the British characters, and can be encoded according to the current file decoding.
Compressor
- 分别用huffman编码和范式huffman编码压缩文件-Paradigm respectively huffman encoding and huffman encoding compressed file
74
- (7,4)循环编码m文件基于matlab-(7,4)convenc encoder m file base on matlab
jpegc
- 本文档实现了JPEG压缩算法,字组织比较简陋, 大体上分成 3 个部分. 压缩算法简介 1. 色彩模型 2. DCT (离散余弦变换) 3. 重排列 DCT 结果 4. 量化 5. 0 RLE 编码 6. 范式 Huffman 编码 7. DC 的编码 解码过程简述 8. 一个数据单元 Y 的解码 9. JPG 文件(Byte 级)里怎样组织图片信息 10. 关于标记 11. JPG 文件中 Haffman 表的储存
MATLAB-TUTOTIAL
- Matlab的创始人 C. Moler编写,网上鲜见。 诚乃大家之作,为英文版,内附70多个M文件实例解释,对于编码的品质提高很有好处-Matlab' s founder C. Moler preparation, on-line rare. We shall be sincere is for English, included more than 70 instances of M documents to explain, for improving the quality of
he_fu_man_bian_ma
- 假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01
hafumanbianma
- (1) 初始化。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree.txt中。 (2) 编码。利用已建好的哈夫曼树,对文件ToBeTra.txt中的正文进行编码,然后将结果存入文件CodeFil.txt中。 (3) 译码。利用已建好的哈夫曼树将文件CodeFile.txt中的代码进行译码,结果存入文件Textfile.txt中。 -Huffman encoder/decoder
Huffman
- 哈弗曼编码的C++实现,包括多个实用头文件-Huffman-coded C++ implementation, including a number of practical header files
huffman
- 哈弗曼编码器,含有完整源码。文件的输入与输出。-Havermann encoder, includes full source code. File input and output.
huffman
- 对给定的txt文件进行Huffman编码和解码,并加以分析,采用无记忆信源编码方式-For a given txt files Huffman encoding and decoding, and analyzed, using non-memory source coding method
lzw
- 源代码通过建立一个字符串表,用较短的代码来表示较长的字符串来实现压缩. 提取原始文本文件数据中的不同字符,基于这些字符创建一个编译表,然后用编译表中的字符的索引来替代原始文本文件数据中的相应字符,减少原始数据大小。我们这里的编译表不是事先创建好的,而是根据原始文件数据动态创建的,解码时可以从已编码的数据中还原出原来的编译表.-The source code through the establishment of a string table, with a shorter code to re
05
- 1.接受原始数据:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树。2.编码:利用已建立好的哈夫曼树,对文件中的正文进行编码。3.译码:利用已建立好的哈夫曼树将代码进行译码。4.打印编码规则:即字符与编码的一一对应关系。-1. Accept the raw data: From the terminal reads the character set size n, n characters, and n-weights, the establishment of Huffman tre