-
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;...
a)需求分析:
任务 :对一篇英文文章,统计各字符出现的次数,实现Huffman编码;
要求:输出每个字符出现的次数和编码,其中求最小权值要求用堆实现;
b)概要设计:
本程序所使用的数据结构是树和线性表,所使用的算法主要有堆排序、赫夫曼算法。
-a) Requirements Analysis : Mandate : an article in English, statistics of the number of characters to achieve Huffman coding; Requirements : Every character in the output of the number and the code for which the minimum requirement of the right to use Heap; B) Summary of design : the procedures used by the data nodes the tree structure and linear form, the algorithm used by the main sculpture, in order Huffman algorithm.
- 2022-03-06 12:21:16下载
- 积分:1
-
DIBR用于合成立体图片
根据原始彩色图和对应的深度图,通过DIBR合成方法得到立体图片。首先对深度图像进行形态学处理,以减少视点变换产生的空洞,平滑目标视点内部的物体轮廓;利用视点变换方程生成目标视点;对含有空洞的目标视点采用图像修复算法进行后处理,设计了含有深度项的代价函数,在深度的约束下进行纹理搜索,将最佳匹配块填补到空洞;在修复空洞的过程中采用亮度优先的策略以适应不同的色度采样格式。
- 2022-01-23 11:01:49下载
- 积分:1
-
一个万能算法函数,能够对任意的两种数据类型
一个万能算法函数,能够对任意的两种数据类型-A universal algorithm function, capable of two arbitrary data type
- 2022-08-06 13:32:06下载
- 积分:1
-
Windows CE5.0环境下bootloader开发步骤
附带屏幕截图开发环境为platform builder5.0...
Windows CE5.0环境下bootloader开发步骤
附带屏幕截图开发环境为platform builder5.0-Windows CE5.0 development environment steps bootloader screen shots attached to development environment for platform builder5.0
- 2022-03-17 05:45:46下载
- 积分:1
-
下面的程序显示含有位段的结构变量所占用的字节数量,以及结构变量在内存中的地址分配情况...
下面的程序显示含有位段的结构变量所占用的字节数量,以及结构变量在内存中的地址分配情况-following the procedure shown to contain spaces of the structure occupied by the variable number of bytes, and the structural variables in memory address distribution
- 2022-11-23 12:20:03下载
- 积分:1
-
Dynamic digital display program, suitable for beginners, the program can be tran...
动态数码显示程序,适合初学者,程序可移植-Dynamic digital display program, suitable for beginners, the program can be transplanted
- 2022-05-06 02:17:23下载
- 积分:1
-
用C来调用另外的可执行文件。通过调用达到执行其他程序的效果。...
用C来调用另外的可执行文件。通过调用达到执行其他程序的效果。- run an exe with C, then you can run other exe program
- 2022-03-20 10:56:00下载
- 积分:1
-
This is my personal design modifications graduated first version
这是我个人毕业设计修改的第一个版本---图像处理版本1...需要的下-This is my personal design modifications graduated first version- version of image processing needs under one ...
- 2022-04-28 13:37:34下载
- 积分:1
-
这也是一个关于KML解析的程序。。只是这个思想跟sax解析的思想不同。。希望读者看了以后会有所收获...
这也是一个关于KML解析的程序。。只是这个思想跟sax解析的思想不同。。希望读者看了以后会有所收获-this is also a very good mathod to parse the kml。。。
- 2022-07-23 08:15:26下载
- 积分:1
-
GetTickCount unable to calculate the following time 16ms, which can code the pre...
GetTickCount无法计算16ms以下的时间,该段代码可以进行毫秒级的精确计时-GetTickCount unable to calculate the following time 16ms, which can code the precise millisecond timing
- 2022-07-09 09:00:24下载
- 积分:1