-
图像卷积
使用示例应用程序
示例应用程序中已包含在本文的示例源代码。示例应用程序已经以面向Windows 窗体的平台。使用示例应用程序中用户还可以从本地文件系统中选择源/输入图像,并从一个下拉组合框选择要应用卷积滤镜。已筛选的的图像可以保存到本地文件系统中,当用户单击保存按钮。
下面的屏幕快照显示图像卷积滤镜示例应用程序中操作。
- 2022-08-09 03:21:25下载
- 积分:1
-
This is a statistics
这是一本基于统计意义上的决策推理的书。属于信息科学领域,对从事科研的学生和工程师都有意义-This is a statistics-based decision-making sense of the reasoning book. Belong to the field of information science, to the conduct of scientific research have significance for students and engineers
- 2022-02-16 03:09:36下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1
-
基于SNMP协议的网络拓扑发现程序 基于SNMP协议的网络拓扑发现程序...
基于SNMP协议的网络拓扑发现程序 基于SNMP协议的网络拓扑发现程序-基于SNMP协议的网络拓扑发现程序
- 2022-01-26 01:39:39下载
- 积分:1
-
workers of the source management system
职工管理系统的源程序-workers of the source management system
- 2022-04-24 23:56:21下载
- 积分:1
-
如何实现Office式样的扁平组合框,很有帮助的,VC界面编程
如何实现Office式样的扁平组合框,很有帮助的,VC界面编程-How to achieve the Office of the flat style combo box, helpful, VC programming interface
- 2022-05-22 08:09:37下载
- 积分:1
-
VB简明版 VB简明版
VB简明版 VB简明版-VB ?蛎 ???VB ?蛎 ??
- 2022-04-13 17:22:06下载
- 积分:1
-
本程序是用matlab软件编辑的小游戏,有兴趣的可以
本程序是用matlab软件编辑的小游戏,有兴趣的可以-this procedure is used Matlab software editor of a small game, are interested can s
- 2022-07-17 02:34:03下载
- 积分:1
-
一个飞机票订票和退票系统。假设某民航机场有m个航次的班机,每个航次都只到达一个目的地,试为该机场售票处设计一个自动订票和退票系统。
该系统需要实现以...
一个飞机票订票和退票系统。假设某民航机场有m个航次的班机,每个航次都只到达一个目的地,试为该机场售票处设计一个自动订票和退票系统。
该系统需要实现以下功能:
(1) 订票:若该航次余票数大于等于客订票数,则在该航次的乘客表(按乘客姓氏字母词典顺序排列)中,插入订票乘客的信息项,并修改该航次有关数据,否则给出相应提示信息;
(2) 退票:若退票数小于该乘客原订票数,则在相应的乘客表中找到该乘客项,修改该航次及乘客表中有关数据。当由于退票使得该乘客的订票数为零时,要从乘客表中撤销该乘客项;否则给出相应的提示信息;
(3) 将某航次的余票数恢复初值为该航次的最大客票数;
(4) 显示:显示该机场各航次班机的售票情况。-Booking air tickets and a refund system. Assuming there are m a civil airport voyage of the flights, each voyage only to reach a destination, the trial design for an automated airport ticket booking and refund system.
The system needs to achieve the following functions:
(1) booking: If the voyage than the number of votes greater than or equal to the number of passengers booking, the passenger in the voyage List (alphabetical by passengers dictionary order), insert the booking information of passengers, and modify the data of the voyage Otherwise, the corresponding message
(2) Refund: If the refund is less than the number of votes of the original passeng
- 2022-08-03 17:49:14下载
- 积分:1
-
for skin transformation, Eurocargo tools.
皮肤改造器,换肤工具。-for skin transformation, Eurocargo tools.
- 2022-11-18 10:25:03下载
- 积分:1