搜索资源列表
ha
- 求哈弗曼编码,输入结点数,权值,求出哈夫曼编码-哈弗曼for encoding, input nodes, the right value, calculated Huffman
Entropy-coding
- 熵编码(entropy encoding)是一类利用数据的统计信息进行压缩的无语义数据流之无损编码。本章先介绍熵的基本概念,然后介绍香农-范诺(Shannon-Fano)编码、哈夫曼(Huffman)编码、算术编码(arithmetic coding)、行程编码(RLE)和LZW编码等常用的熵编码方法。-Entropy coding (entropy encoding) is a kind of the compressed by using the data statistics of the
JPEG
- 基于DCT的JPEG图像压缩处理程序,能够实现bmp格式RGB图像编码解码,使用编码函数使得算法简单易懂,灵活使用哈夫曼编码表,减少传输数据-DCT compression processing program based on JPEG images can be achieved bmp format RGB image encoding and decoding, encoding function makes the algorithm easy to understand, flexi
janu
- Complete System Design for Image Encoding and Decoding using Huffman Algorithm with QTr-Complete System Design for Image Encoding and Decoding using Huffman Algorithm with QTree
bianma
- DM编码、变换编码(FFT和DCT)、算术编码、行程编码、Huffman编码、线性预测编码和一个近似的JPEG编码过-DM coding, transform coding (FFT and DCT), arithmetic coding, Run-Length Coding, Huffman coding, linear predictive coding and a process similar to JPEG encoding.
HuffmanTree
- 霍夫曼树编码与解码,给定数据构造出霍夫曼树,并进行二进制编码,最后再解码-Huffman tree encoding and decoding, given data Huffman tree is constructed, and the binary encoding, and then decoding
code
- 基于c++的二元信息论编码,包括霍夫曼编码,费诺编码,游程编码及算术编码-C++ based binary information on the coding, including Huffman coding, coding, run-length encoding and arithmetic coding
compress
- 运用哈夫曼编码实现的文件压缩源代码 功能:可以实现文件以二进制输入进行哈夫曼编码在写入另一个重建的文件中实现文件压缩- File compressed source code implemented using the Huffman code Functionality: you can implement files in binary input with the haffman encoding in a file that is written to anothe
HuffmanTree
- 实现了哈夫曼树的创建,编码,译码,打印哈夫曼树等功能(To create the Huffman tree, encoding, decoding, tree printing and other functions)
201516010106项兆坤
- 输入原始文本的种类数量n,输入原始文本的每个字符,输入原始文本的每个权值,构建出一个哈弗曼树,并对每个字符进行编码.输入一串只有原始文本构成的字符串,输出对这个文本的编码(N number of input of the original text, each character input of the original text, the original text of the weights of each input, construct a Huffman tree, and enc
哈夫曼源码
- 根据所输入的字符已经权值构造哈夫曼树以及其编码,并将哈夫曼树打印出来,然后显示各个字符的编码(According to the input characters have been weighted structure Huffman tree and its encoding, and the Huffman tree print out, and then display the encoding of each character)
代码1-9
- 1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。 2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。 3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。(1) I: initializatio
哎呀
- 设计一个哈夫曼编码、译码系统。对一个ASCII编码的文本文件中的字符进行哈夫曼编码,生成编码文件;反过来,可将编码文件译码还原为一个文本文件。 (1)从文件中读入任意一篇英文短文(文件为ASCII编码,扩展名为txt); (2)统计并输出不同字符在文章中出现的频率(空格、换行、标点等也按字符处理); (3)根据字符频率构造哈夫曼树,并给出每个字符的哈夫曼编码; (4)图形化输出哈夫曼树、哈夫曼编码; (5)将文本文件利用哈夫曼树进行编码,存储成压缩文件(编码文件后缀名.huf) (6
HuffmanCode
- 利用哈夫曼树进行 编译码系统的设计,主要功能包括统计字符频率,编译码和哈夫曼树的动态生成(Huffman tree encoding and decoding system design)
哈弗曼树6.0
- 使用文件保存初始的文本数据及最终的结果。 ? 文件名为inputfile1.txt的文件保存的是一段英文短文; ? 文件名为inputfile2.txt的文件保存01形式的编码段; ? 文件名为outputfile1.txt的文件保存各字符的出现次数和对应的编码; ? 文件名为outputfile2.txt的文件保存对应于inputfile2.txt的译码结果。 统计inputfile1.txt中各字符的出现频率,并据此构造Huffman树,编制Huffman 码;根据已经得到的编码,
编码
- 利用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编码或译码系统。试为这样的信息发送站写一个哈夫曼码的编码系统。(Using Huffman coding for communication can greatly improve the channel utilization, shorten the transmiss
哈弗曼树6.0
- Huffman编码及译码。 1.掌握二叉树的二叉链表存贮结构。 2.掌握Huffman算法。(Huffman tree building, encoding and decoding)
5 哈夫曼编码和解码
- 哈夫曼编码是不等长编码。利用哈夫曼编码能实现了数据的压缩,在进行通信时,可以大大提高信道利用率,缩短信息传输的时间。本实习要求对发送端待发送的信息进行哈夫曼编码,在接收端进行解码,还原为原来的信息。测试数据:自己找一段不小于2000字符的英文文章,保存为文件。(1) 所有信息输入与输出要以图形化的可视界面,如:用对话框选择打开的文件、字符的出现频率的统计信息能以文件的方式保存,能以表格的形式输出到显示器等。(2) 编码后的信息要以文件的方式保存。能比较编码前和解码后的两个文件是否一致。 (3)
哈夫曼树
- 数据结构之哈夫曼树的编码解码,能够输出码表(Encoding and decoding of data structure Huffman tree, can output table)
HuffManSLN (1)
- 霍夫曼编码使用变长编码表对源符号(如文件中的一个字母)进行编码,其中变长编码表是通过一种评估来源符号出现机率的方法得到的,出现机率高的字母使用较短的编码,反之出现机率低的则使用较长的编码,这便使编码之后的字符串的平均长度、期望值降低,从而达到无损压缩数据的目的。(Huffman Hoffman uses a variable length encoding encoding encoding table of source symbols (such as file in a letter) f