-
实现哈夫曼的编码和译码,适用于各种图像格式。
实现哈夫曼的编码和译码,适用于各种图像格式。-Realize Huffman encoding and decoding for a variety of image formats.
- 2022-06-30 08:07:50下载
- 积分:1
-
讲述一种huffman编码方法的文献,文献里有编码程序的源码,讲解加程序,很全面。...
讲述一种huffman编码方法的文献,文献里有编码程序的源码,讲解加程序,很全面。-A huffman encoding method on the literature, the literature, there are procedures for the source code to explain the increase in procedures, it is full.
- 2022-03-20 03:23:47下载
- 积分:1
-
another example of procedures
哈夫曼压缩的又一个例子程序-another example of procedures
- 2022-03-24 22:57:17下载
- 积分:1
-
使用Lempel-Ziv压缩
Compression using lempel-ziv
-for a dictionary size of 2k
-provide dictionary
Lempel ziv algorithm is a dictionary based algorithm that addresses byte sequences from former contents instead of the original data. This algorithm consists of a rule for parsing strings of symbols from a finite alphabet into substrings, whose lengths do not exceed a prescribed integer and a coding scheme which maps these substrings sequentially into uniquely decipherable code words of fixed length. The strings are selected so that they have nearly equal probability of occurrence. Frequently-occurring symbols are grouped into longer strings while occasional symbols appear in short strings. -Compression using lempel-ziv
-for a dictionary size of 2k
-provide dictionary
Lempel ziv algorithm is a dictionary based algorithm that addresses byte sequences from former contents instead of the original data. This algorithm consists of a rule for parsing strings of symbols from a fi
- 2022-07-10 13:32:58下载
- 积分:1
-
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输...
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输出形式:
输出相应的编码压缩文件和解码原文件
3) 程序所能达到的功能:
利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。
比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。
如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈夫曼树的特点
a) 是二叉树的一种,而且是一种没有度数是1的二叉树
b) 一棵树有n个叶子,就会用2n-1个节点
c) 一种“最优”二叉树,由于树的带权路径(WPL)最小
d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
- 2022-03-21 06:23:05下载
- 积分:1
-
哈夫曼树编码代码
哈夫曼树编码代码-Huffman code tree coding
- 2022-04-02 11:53:15下载
- 积分:1
-
GPS定位数据压缩算法的设计与实现
文章作者:杨宏业 张 跃
为了解决嵌入式GPS车载系统存储空间小、GPS定位数据量大的矛盾,根据GPS定位数据的特...
GPS定位数据压缩算法的设计与实现
文章作者:杨宏业 张 跃
为了解决嵌入式GPS车载系统存储空间小、GPS定位数据量大的矛盾,根据GPS定位数据的特
点,提出了专用于GPS定全数据压缩的改进型半字节压缩算法。-the design and implementation of GPS locaton data compression algrithm.author:yanghongye,zhangyao.solve the problem of gps car-carring system with little memory ,while heavy dataload.according gps data s characteristic ,put forward gps-oriented data compression,improved half byte compression algrithm.
- 2022-08-15 23:49:29下载
- 积分:1
-
最好的GBA模拟器软件(莫尼卡汉化版)强烈推荐用此模拟器模拟"GBABOX"与"GBAHRD"...
最好的GBA模拟器软件(莫尼卡汉化版)强烈推荐用此模拟器模拟"GBABOX"与"GBAHRD"-best GBA simulator software (Monica Chinese Version) strongly recommend using this simulator to simulate the "GBABOX" and "GBAHRD"
- 2023-02-27 07:05:03下载
- 积分:1
-
用Visual C++开发的Huffman文件压缩算法的源代码
用Visual C++开发的Huffman文件压缩算法的源代码-Visual C development of the Huffman compression algorithm source code
- 2022-02-02 13:21:16下载
- 积分:1
-
4.8k/s速率FS1016标准语音压缩源码,
4.8k/s速率FS1016标准语音压缩源码,-4.8k/s FS1016 standard rate voice compression source,
- 2022-01-25 23:12:21下载
- 积分:1