CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 2-3 tree
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 2-3 tree - List
[
Compress-Decompress algrithms
]
200430481
DL : 0
赫夫曼编译码器: 用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼码的编/译码系统。 [基本要求]一个完整的系统应具有以下功能: (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中。
Date
: 2008-10-13
Size
: 199.79kb
User
:
许磊
[
Compress-Decompress algrithms
]
lzss_huf
DL : 0
This scheme is initiated by Ziv and Lempel [1]. A slightly modified version is described by Storer and Szymanski [2]. An implementation using a binary tree is proposed by Bell [3]. The algorithm is quite simple: Keep a ring buffer, which initially contains \"space\" characters only. Read several letters from the file to the buffer. Then search the buffer for the longest string that matches the letters just read, and send its length and position in the buffer.
Date
: 2008-10-13
Size
: 3.57kb
User
:
冰冰
[
Compress-Decompress algrithms
]
lzss_huf
DL : 0
This scheme is initiated by Ziv and Lempel [1]. A slightly modified version is described by Storer and Szymanski [2]. An implementation using a binary tree is proposed by Bell [3]. The algorithm is quite simple: Keep a ring buffer, which initially contains "space" characters only. Read several letters from the file to the buffer. Then search the buffer for the longest string that matches the letters just read, and send its length and position in the buffer.
Date
: 2026-01-03
Size
: 3kb
User
:
冰冰
[
Compress-Decompress algrithms
]
200430481
DL : 0
赫夫曼编译码器: 用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求在发送端通过一个编码系统对待传数据预先编码,在接收端将传来的数据进行译码(复原)。对于双工信道(即可以双向传输信息的信道),每端都需要一个完整的编/译码系统。试为这样的信息收发站写一个哈夫曼码的编/译码系统。 [基本要求]一个完整的系统应具有以下功能: (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中。
Date
: 2026-01-03
Size
: 200kb
User
:
许磊
[
Compress-Decompress algrithms
]
huffman
DL : 0
用哈夫曼编码实现文件压缩和解压缩. 压缩过程的实现:1创建Haffman树 2打开需压缩文件 3将需压缩文件中的每个ascii码对应的haffman编码按bit单位输出 4文件压缩结束 -Huffman coding with file compression and decompression realize. Compression process to achieve: one to create Haffman tree
Date
: 2026-01-03
Size
: 318kb
User
:
林雨寒
[
Compress-Decompress algrithms
]
20080123140714472
DL : 0
(1)接收原始数据: 从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存于文件hfmtree.dat中。 (2)编码: 利用已建好的哈夫曼树(如不在内存,则从文件hfmtree.dat中读入)对文件中的正文进行编码,然后将结果存入文件codefile.dat中。 (3)译码: 利用已建好的哈夫曼树将文件codefile.dat中的代码进行译码,结果存入文件textfile.dat 中。 (4)打印编码规则:即字符与编码的一一对应关系。 (5)打印哈夫曼树:将已在内存中的哈夫曼树以直观的方式显示在终端上。-(1) to receive the raw data: Reading from the terminal into the character set size of n, n and n characters of the right value, the establishment of Huffman tree, stored in a document in hfmtree.dat. (2) Coding: Using the Huffman tree has been completed (such as not to memory, read from the document hfmtree.dat income) on the body of the document is encoded, and then the results into a document in codefile.dat. (3) Decoding: The Huffman tree has been built in the document codefile.dat code decoding, resulting in a document deposited in textfile.dat. (4) Print coding rules: that is, the characters one-to-one relationship with the coding. (5) Print Huffman tree: will have been in memory of the Huffman tree intuitive way to show that in terminal.
Date
: 2026-01-03
Size
: 18kb
User
:
陈鹏
[
Compress-Decompress algrithms
]
compress
DL : 0
文本文件的压缩和解压程序 1. 先统计文件中出现的每个字符的出现次数; 2. 根据上述的统计结果设计huffman编码; 3. 为在文件编码时提高查询字符对应huffman编码的查询速度,以每个字符为结点内容构造一棵二叉排序树; 4. 压缩。即将文本文件中的每个字符用huffman编码代替,并写入二进制文件中。也就是说,压缩文件是一个记录文件内容的二进制流; 5. 解压。即将二进制文件还原为文本文件。 6.程序运行后应该有一个菜单,菜单 包含:打开文本文件、压缩、解压、 帮助、退出等菜单项。 -txt compress and decompress use c langrage and Huffman tree show the length of the txt and the compress
Date
: 2026-01-03
Size
: 3kb
User
:
张彻
[
Compress-Decompress algrithms
]
Huffman_encode
DL : 0
这是一个霍夫曼编码的程序,是利用霍夫曼树等相关算法解决的。在程序中,随机产生的10个字符,利用子函数: HC=HuffmanCoding(HT,HC,w,3) 则可以获得每个元素的码字,存储的方式是通过一个指针的指针。-This is a Huffman coding process is the use of Huffman tree related algorithms to solve. In the process, the randomly generated 10 characters, using Functions: HC = HuffmanCoding (HT, HC, w, 3) are available for each element of the code words, storage is through a pointer.
Date
: 2026-01-03
Size
: 2kb
User
:
浪飞人海
[
Compress-Decompress algrithms
]
Huffman
DL : 0
一个完整的系统应具有以下功能: (1)初始化 从终端读入一段英文字符,统计每个字符出现的频率,建立赫夫曼树,并将该树存入某文件; (2)编码 利用建好的赫夫曼树对各字符进行编码,用列表的形式显示在屏幕上,并将编码结果存入另一文件中; (3)解码 利用保存的赫夫曼编码,对任意输入的0,1序列能正确解码; -A complete system should have the following functions: (1) initialize a read from the terminal and English characters, the frequency statistics for each character, the establishment of Huffman trees, and the tree into a document (2) encoding The Huffman tree is built using the character encoding, using the list displayed on the screen, and coding the results into another file (3) save the Huffman decoding using code, for any input 0,1 correctly decoded sequence
Date
: 2026-01-03
Size
: 602kb
User
:
木易
[
Compress-Decompress algrithms
]
huffman
DL : 0
(1)根据所给的字符建立出哈夫曼树并由此获得哈夫曼编码,同时将哈夫曼编码存入hfmTree.txt文件中。 (2)利用建立好的哈夫曼编码将所给的文件编码,同时存入CodeFile.txt文件中。 (3)利用哈夫曼树及其编码将文件CodeFile.txt中的密码解码。同时将所需解码的文件以50字为一行输出,并输出解码后的文件。 -(1) According to the character of the establishment of a Huffman tree and thus obtain Huffman coding, while Huffman coding into hfmTree.txt file. (2) the use of well-established Huffman encoding to the given document, while deposit CodeFile.txt file. (3) the use of Huffman coding tree and the password file CodeFile.txt decoding. Required to decode the file while the 50 word line of output, and output decoded file.
Date
: 2026-01-03
Size
: 299kb
User
:
小缪子
[
Compress-Decompress algrithms
]
61IC_H4231
DL : 0
PAV (H265) 是 音视频 压缩解压 协议,非常不同于H264/MPEG4,ZPAV (H265) 的基本算法 是 小波,多级树集合群,广义小波,数学形态小波,...... ZPAV (H265) 基本算法 : 1,图象与声音分解与合成 :小波 ; 2,图象与声音前处理 :小波子带零交叉降噪,目标纹理处理,语音处理 ; 3,速率控制 :小波子带熵速率控制 ; 4,量化与反量化 :小波子带熵量化与反量化 ; 5,低频分量和高频分量的降维 :小波子带邻域交叉降维 ; 6,运动矢量和量化表的分解与合成 :广义小波 ; 7,位面编码 :数学形态小波,多级树集合群,嵌入零树,位面降维 ; 8,位流编码 :算术编码,熵编码 ; 9,运动估计 :宏块最优决策,运动矢量预测 ; A,运动搜索 :钻石,大钻石,小钻石,方形 ; B,图象与声音后处理 :低通滤波,断点重构,宏块平滑 ; C,误码纠错 :矢量仿真,帧间仿真 。 -The PAV (H265) is the audio and video compression and decompression protocol, is very different from H264/MPEG4 ZPAV (H265) algorithm is a wavelet, multi-level tree collection group, and generalized wavelets, mathematical morphology, wavelet, ... ZPAV (H265) algorithm: 1, image and sound decomposition and synthesis: wavelet 2, image and sound processing: wavelet sub-band zero-crossing noise, target texture processing, speech processing 3, the rate control: wavelet subband entropy rate control 4, quantization and inverse quantization: Wavelet subband entropy quantization and inverse quantization 5, the dimensionality reduction of the low frequency component and high frequency components: the wavelet subbands neighborhood cross-dimensionality reduction 6, the decomposition and synthesis of the motion vector and quantization tables: generalized wavelet 7, bit-plane coding: the mathematical form of wavelet multi-level tree collection group, embedded zerotree, bit plane
Date
: 2026-01-03
Size
: 4.6mb
User
:
李阳
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.