Description: A*算法是一个求最短路径的函数,为许多即时战略游戏所用刀(或许人家大型的即时战略游戏笔者算法更好,不管它)。它由两个函数组成,一个是评估函数,也就是确定人物移动的下一个位置必须离目标位置最近,评估函数评估的结果越精确,则寻径的速度越快;另一个就是寻径函数,也就根据评估的结果做出响应,然后从新位置继续评估下一个位置,若无路可走(四周都是障碍什么的),那么折回一个路径节点,尝试其他方向,这个算法有个缺点,随着游戏中人物增多,相应的处理节点就增多了,会影响处理速度,而且占用大量的内存。
有兴趣的朋友可以改成动态的寻径,就是当入口和出口位置都在变化的时候进行寻径,这个代码也只有200多行。
我的算法还不能算是最优的,因为评估函数只不过是简单的测试两点距离(这会带来误差),选择离出口最短的且非障碍物的方向,进行下一个路径节点的移动。-A * algorithm is a shortest path function, To many time strategy games as a knife (and perhaps others of immediate large-scale strategy game better writer algorithm, regardless of it). It consists of two components function, a function is to assess, is to determine the movement of people under one location to be away from the target location recently to assess the function of the assessment results more precise, Routing is the faster; Another is the routing function, also based on the results of the assessment to respond, then the new location to continue to assess a position where, if there is no way out (what are surrounded by the barrier), then retrace a path nodes, try other directions, this algorithm has a shortcoming, as the game figures increased, corresponding to the processing nod Platform: |
Size: 3411 |
Author:yzmars |
Hits:
Description: 带运动估计的时域滤波,一种基于小波的运动估计方法,可以有效的去除视频流的帧间冗余。与传统的帧参考模式的运动估计相比,没有错误漂移现象。内含编码器和解码器。-Belt Movement estimated time domain filtering, a wavelet-based motion estimation methods, can effectively remove the inter-frame video stream redundancy. With the traditional frame of reference than the motion estimation, no errors drift phenomenon. Intron encoder and decoder. Platform: |
Size: 291488 |
Author:王静远 |
Hits:
Description: A*算法是一个求最短路径的函数,为许多即时战略游戏所用刀(或许人家大型的即时战略游戏笔者算法更好,不管它)。它由两个函数组成,一个是评估函数,也就是确定人物移动的下一个位置必须离目标位置最近,评估函数评估的结果越精确,则寻径的速度越快;另一个就是寻径函数,也就根据评估的结果做出响应,然后从新位置继续评估下一个位置,若无路可走(四周都是障碍什么的),那么折回一个路径节点,尝试其他方向,这个算法有个缺点,随着游戏中人物增多,相应的处理节点就增多了,会影响处理速度,而且占用大量的内存。
有兴趣的朋友可以改成动态的寻径,就是当入口和出口位置都在变化的时候进行寻径,这个代码也只有200多行。
我的算法还不能算是最优的,因为评估函数只不过是简单的测试两点距离(这会带来误差),选择离出口最短的且非障碍物的方向,进行下一个路径节点的移动。-A* algorithm is a shortest path function, To many time strategy games as a knife (and perhaps others of immediate large-scale strategy game better writer algorithm, regardless of it). It consists of two components function, a function is to assess, is to determine the movement of people under one location to be away from the target location recently to assess the function of the assessment results more precise, Routing is the faster; Another is the routing function, also based on the results of the assessment to respond, then the new location to continue to assess a position where, if there is no way out (what are surrounded by the barrier), then retrace a path nodes, try other directions, this algorithm has a shortcoming, as the game figures increased, corresponding to the processing nod Platform: |
Size: 3072 |
Author:yzmars |
Hits:
Description: 带运动估计的时域滤波,一种基于小波的运动估计方法,可以有效的去除视频流的帧间冗余。与传统的帧参考模式的运动估计相比,没有错误漂移现象。内含编码器和解码器。-Belt Movement estimated time domain filtering, a wavelet-based motion estimation methods, can effectively remove the inter-frame video stream redundancy. With the traditional frame of reference than the motion estimation, no errors drift phenomenon. Intron encoder and decoder. Platform: |
Size: 290816 |
Author:王静远 |
Hits:
Description: 客流数据的实时采集是交管部门对车辆管理研究的关键问题之一,利用图像处理方法来进行人群监测在国内外已有研究,但在复杂场景的监测并不令人满意。本文利用普通CCD采集图像,综合帧间图像差异和消除背景图像的处理技术来有效检测图像中的运动人群,克服传统方法中存在的测量误差,并依据所检测的前景图像区域面积与整个图像有效面积的比例来估测当前图像中人群数目-Real-time traffic data collection is the traffic control department of vehicle management research one of the key issues, using image processing methods for crowd monitoring study at home and abroad have been, but in the monitoring of complex scenes is not satisfactory. In this paper, ordinary CCD acquisition image, an integrated inter-frame image differences and eliminate the background image of the technology to effectively deal with detection of image movement groups, to overcome the traditional methods that exist in the measurement error, and based on the prospects for the detection of images with the entire image area of effective area in proportion to estimate the current number of images in the crowd Platform: |
Size: 2048 |
Author:wjw |
Hits:
Description: 封装了固高的GT800型板卡的振镜驱动的缓冲模式下的驱动程序,类名为CScanMirror,只要以后在调用的时候只要简单的调用MoveMirror()函数就可以了,ChangeScanMotor()用来切换切换卡的运动坐标是振镜还是三维模式.通过该例子可以更快一点装握该卡的使用.-Packaging a solid high GT800-based board of galvanometer-driven buffer mode drivers, category called CScanMirror, as long as the time after the call with just a simple call MoveMirror () function can be a, ChangeScanMotor () used to Switch to switch cards coordinates movement is galvanometer or three-dimensional model. the adoption of the examples that can be loaded faster to use the grip. Platform: |
Size: 50176 |
Author:赖旭员 |
Hits:
Description: 用NS- 2 仿真各种路由协议性能时用到的传统运动场景发生器存在两个缺陷: 运动状态不能迅速过渡到稳态, 节点速度的
均匀分布区间起始值只能为0。为了弥补上述缺陷, Tracy Camp 研制了稳态运动场景发生器。通过仿真验证了采用该发生器可大
大缩短仿真时间, 在此基础上仿真AODV 和DSDV 两种路由协议, 首次从吞吐量、协议包开销、平均延迟三个方面对稳态运动场景
下的两种路由协议性能进行分析, 得出结论表明采用稳态运动场景进行路由协议仿真是非常必要的。
关键词: 稳态运动场景 setdest 更新过程 Random Waypoint-Abstr act: As a module of NS2, the traditional movement scenario generator, when simulating routing protocol, has two limitations.
One is that the transition time of stable status is long, and the other is that the uniform- distributing low bound of node speed is
only zero.To remedy these faults, Tracy Camp has developed a stable movement scenario generator.The simulation proves that
simulation time can be reduced largely by using this generator.Based on this result, a simulation for AODV and DSDV routing
protocol is implemented.Then the performance of two protocols is analyzed on three aspects: throughput, routing overhead packets,
average delay.At last the conclusion is drawn, which shows it is essential to adopt stable movement for simulation of routing
protocols.
Key words: stable movement scenario setdest renewal process Random Waypoint Platform: |
Size: 172032 |
Author:王立 |
Hits:
Description: 基于vc++和opencv的运动检测程序,运行时鼠标画框圈选运动的无图就可以实现跟踪。-Vc++ and based on the motion detection opencv procedures, run-time frame to select the mouse movement can be achieved without the tracking map. Platform: |
Size: 8089600 |
Author:William Fan |
Hits:
Description: direct3d 动画基于时间的运动,演示了几个机器人在一定时间内按直线或者曲线的运动。- Demonstrates time-based movement。show you how to move a series of robots up and down straight and curved paths over time Platform: |
Size: 475136 |
Author:zyzyyy |
Hits:
Description: 大名鼎鼎的方帅的博士学位论文---目前,计算机智能视频监控在理论和应用上都面临着很多难题,国内外大批学者投身于该领域的研究和探索,并且取得了大量的成果.本文是在这些成果的基础上,对计算机智能视频监控系统的关键技术进行研究.主要贡献可概括如下:首先,对目标检测技术进行了研究,并提出了一种基于背景建模的运动目标检测算法.利用统计的方法建立了基于颜色和颜色梯度的背景模型,并实时地对背景模型进行更新,最后将这两种背景模型综合考虑对目标进行了有效的检测.接着,研究了复杂背景下多目标跟踪问题,提出了基于蒙特卡罗粒子滤波器的复杂背景下多目标跟踪算法.然后,提出了目标分类算法.用有向无环图的多类支持向量机对目标进行分类,该分类器使用少量的样本,就可以得到较好的分类精度.最后,针对视频监控中的行为理解进行了探讨性的研究.建立一个行为理解的系统,这个系统由场景模型、行为模型和行为自动识别三部分组成.
-At present, the computer intelligence video frequency monitoring is facing many difficult problems in the theory and the application, the domestic and foreign large quantities of scholars join in this domain research and the exploration, and has made the massive progresses. This article is in these achievement foundation, conducts the research to the computer intelligence video frequency supervisory system s key technologies. The main contribution may summarize as follows: First, has conducted the research to the object detection technology, and proposed one kind based on the background modelling movement object detection algorithm. Has established using the statistical method based on the color and the color gradient background model, and real-time carries on the renewal to the background model, finally has carried on these two kind of background model overall evaluation to the goal the effective examination. Then, has studied under the complex background the multi-objective track que Platform: |
Size: 5263360 |
Author:王一 |
Hits:
Description: .基于UCOS—Ⅱ和RAM9设计一个贪吃蛇贪吃蛇游戏。
2.要求贪吃蛇能在实验箱显示屏移动,通过方向键和其他键发出命令控制蛇的移动和其他行为。
3.贪吃蛇游戏能够过关,并游戏难度逐渐增加。
4.屏幕中的食物每次随机出现一个,当食物被吃随后将在屏幕非蛇身位置出现。
5.游戏界面可以显示游戏时间,关卡数和已吃食物数。
6.贪吃蛇如果吃到自己和碰到墙就会死亡,重新开始游戏界面。-. UCOS-Ⅱ and RAM9 based design of a Snake Snake game. 2. Requires Snake to move the display in the experimental box, the arrow keys and other keys to issue commands to control the snake' s movement and other activities. 3. Snake game to cross the border, and gradually increase the difficulty of the game. 4. Screen a random time the food, when food is eaten will then appear on the screen the location of non-snake. 5. The game screen to display game time, level number and the number of food has been eaten. 6. Snake eat their own and hit the wall if it will die, restart the game interface. Platform: |
Size: 1067008 |
Author:twieain |
Hits:
Description: 采用了一种根据灰度特征进行模式匹配的跟踪算法提高了模板匹配法对于目标运动姿
态变化的自适应能力仿真结果表明上述算法在目标方向平移旋转以及图像背景对比度亮度发生改变时均能较好的检测到目标-It is presented
in this paper that a modified version of it which incorporating with frame difference and
multi-resolution matching. By introducing prediction algorithm, it could change initial
searching point, reduce the area of matching and improving operation speed which satisfied the
need of real-time processing. A tracking algorithm which is based on template matching of grey
scale characteristics is introduced to enhance the adaptive ability to target movement of attitude
changing. The computer simulation showed that those algorithms discussed above could detect the
target when its direction, shift and rotation varied in the situation that image background,
contrast and brightness altered. Platform: |
Size: 299008 |
Author:chen |
Hits:
Description: 利用基于YCbCr空间的高斯模型建立背景,并实时更新,通过背景差分法检测出道路中的运动车辆目标,效果较好。-Gaussian model based on the YCbCr space is used to establish the background, updating in real time. Then background subtraction method is used to detect the target of the movement of vehicles in the road. It has a better result. Platform: |
Size: 10721280 |
Author:孙新荣 |
Hits:
Description: 本程序基于Altera公司的DE2平台完成仓库的实时监控并对移动的目标进行自动识别和报警的FPGA设计,研究重点就是图像采集和移动目标识别的FPGA实现。采用Altera公司的DC2模版对视频进行采集并将采集到的图像信息进行缓存,通过监视器实时显示,采用帧间差分法对采集到的帧图像进行运动检测,当仓库中有运动情况的时候,两个图像间灰度会出现异常,通过对灰度异常的侦测完成仓库移动目标的识别并蜂鸣器报警。-Complete real-time monitoring of the warehouse and moving target based on the Altera DE2 platform FPGA design of automatic identification and alarm, the research focus of the image acquisition and recognition of the moving target FPGA implementation. Altera Corporation DC2 template image acquisition and acquisition information to cache the video monitor real-time display, inter-frame difference method for motion detection frames collected, when the movement in the warehouse. between the gray scale in the two images will be abnormal, the warehouse moving target identification grayscale exception detection and buzzer alarm. Platform: |
Size: 19487744 |
Author:wangyi |
Hits:
Description: 本文主要研究基于Java 技术的中国象棋游戏的分析与设计,对中国象棋游戏特殊的行棋规则给予了细致的分析与理解,设计出了一种实时可行的行棋规则,从移动范围、移动方向和穿越障碍几个方面重新描述行棋规则,基于Java技术通过计算机模拟实现了中国象棋特殊的行棋规则算法,设计出了一种可行的方法,使每个棋子的行棋路线都严格遵循本身的行棋规则,游戏的实战对弈得以实现,通过实验运行,证明这种限定棋子行棋路线的方法是可行的,并得到了预期的目标-This paper studies the analysis and design of the Chinese chess game based on Java technology, a special line chess rules of Chinese chess game to give the detailed analysis and understanding to design a real-time feasible line chess rules, from the range of movement, direction of movementand through the obstacles to re-describe the line chess regulation Platform: |
Size: 27648 |
Author:田诗 |
Hits:
Description: 这个程序是基于固高公司运动控制卡的倒立摆完整控制程序,包括括了界面、实时曲线显示、算法等部分。,
-This program is a card based on the the Googol movement control inverted pendulum complete control procedures, including including the interface, real-time curve display, algorithms and other parts. , Platform: |
Size: 3765248 |
Author:l2003l |
Hits:
Description: 由于现有的地图匹配算法对算法的实时性和鲁棒性的研究相对较少,在提高地图匹配精 度的过程中对可用信息的利用不够,依据车辆运动的连续性,提出了基于计算几何的地图匹配算法。该算法能够快速的完成匹配候选道路的选取和匹配道路的确定。-Existing map-matching algorithm for real-time and robustness of the algorithm is relatively small, the use of the available information is not enough in the process to improve the map matching accuracy, based on the continuity of the movement of the vehicle, based on computational geometrymap-matching algorithm. The algorithm can quickly complete the selection and matching to determine the road to match the candidate road. Platform: |
Size: 293888 |
Author:请问 |
Hits:
Description: 这种算法是目前国内外启发式算法中的研究热点和前沿课题,被成功地运用于旅行商问题的求解,蚁群算法在求解复杂优化问题方面具有很大的优越性和广阔的前景。但是,根据观察实验发现,蚁群中的多个蚂蚁的运动是随机的,在扩散范围较大时,在较短时间内很难找出一条较好的路径,在算法实现的过程中容易出现停滞现象和收敛速度慢现象。在这种弊端的情况下,学者们提出了一种自适应蚁群算法,通过自适应地调整运行过程中的挥发因子来改变路径中信息素浓度,从而有效地克服传统蚁群算法中容易陷入局部最优解和收敛速度慢的现象。-This algorithm is a heuristic algorithm in the current domestic and international research focus and topics at the forefront, has been successfully applied to solve the traveling salesman problem, ant colony algorithm in solving complex optimization problems has great advantages and broad prospects. However, based on observation was found in multiple ant colony movement is random, the diffusion range is large, in a relatively short time is difficult to find a better path in the algorithm implementation process prone stagnation and slow convergence phenomenon. In this malpractice case, scholars have proposed an adaptive ant colony algorithm, by adaptively adjusted during operation to change the path of volatile factor pheromone, which effectively overcome the traditional ant colony algorithm easy to fall into local optimal solution and slow convergence phenomenon. Platform: |
Size: 22473728 |
Author:pw |
Hits:
Description: 基于像素的背景建模方法速度较快但不能很好地描述背景运动,光流能准确描述物体运动但计算量大,难以满足实时的要求.提出一种结合基于像素的背景建模方法速度快以及光流描述物体运动准确优点的背景建模和目标检测方法.具体来说,为静止背景建立传统基于像素的灰度背景模型,为运动背景建立光流背景模型,通过2种背景模型的有效结合快速准确地实现目标检测.实验结果表明,提出的方法建模速度与基于像素背景建模方法相当,同时,又有光流准确描述背景运动的优点,综合性能超越上述2种方法.-Faster but not a good description of the background motion background modeling method based on the speed of the pixel, the optical flow can accurately describe the movement of objects but computationally intensive, difficult to meet real-time requirements. Proposed background modeling method based on a combination of speed and a fast pixel optical flow motion of an object accurately describe the advantages of background modeling and object detection methods. Specifically, the establishment of the traditional pixel-based gray background model to establish the background model optical flow motion background, quickly and accurately achieved through the effective combination of two kinds of background model of target detection is still background. Experimental results show that the proposed method of modeling the speed of the pixel-based background modeling method is quite the same time, another advantage of accurately describe the background of the optical flow motion, the overall perform Platform: |
Size: 887808 |
Author: |
Hits:
Description: Cheap_Flash_FS(STM32F103ZET6) 嵌入式NandFlash文件系统免费C代码下载
Cheap_Flash_FS 代码已经由我们开发完成,并经过了严格的测试。
坏块管理功能包括基于坏块表的管理程序,可以提供单/多扇区的操作。
多扇区为nandflash专门设计,可以降低NANDFLASH物理擦除数。
其上面可以运行(Cheap_Flash_FS(支持多扇区操作))文件系统。文件系统可支持实时坏块替换,包括擦除块,块移动,写入页产生坏块。文件系统基于NAND_FLASH坏块管理层驱动运行。
NAND_FLASH坏块管理支持ECC纠错,对每个扇区执行二次ECC纠错,保证数据正确的读出。
NAND_FLASH坏块管理层如果发现Unrecoverable_error扇区,可把扇区读出置为0,等于目录已结束,避免了文件系统运行出错。
本代码是16BIT的坏块表文件系统,只能支持4G大小的nandflash,用于用户代码测试!
本代码有32BIT的坏块表文件系统,可支持大于4G的nandflash,如果需要,请和我们联系:
qq:292942278 e-mail:tony_yang123@sina.com-Cheap_Flash_FS (STM32F103ZET6)- embedded NandFlash file system C free download code
The Cheap_Flash_FS code has been developed by us to complete, and through rigorous testing.
Bad block management functions include bad block table management based procedures, can provide single/multi sector operation.
The multi sector designed specifically for nandflash, can reduce the NANDFLASH physical wiping the divisor.
The above can be run (Cheap_Flash_FS (multi sector operations)) file system. The file system can support real-time bad block replacement, including the erase block, block movement, write page generated bad block. The file system based on NAND_FLASH bad block management drive operation.
NAND_FLASH bad block management support ECC correction, for each sector performed two times ECC correction, ensure that read data correctly.
NAND_FLASH bad block management if it is found that the Unrecoverable_error sector, the sector can be read out is set to 0, equal to the direct Platform: |
Size: 11879424 |
Author:6756 |
Hits: