-
DDA 算法的实现
数字微分分析器或只是简略的 DDA 直线绘制算法是用于光栅图形设备中绘制线条。在这种算法,在行的开始和结束位置已提供。
中介像素位置将在起始点和结束点之间的时间间隔的变量线性内插法计算。该算法如下所示:
让开始和结束点线的是 (x 1,y1) 和 (x2,y2),分别。所以坡、 m = (y2-y1)/(x2-x1)。根据 m 和该象限的 (x,y) 的值属于,中介像素职位要计算如下:
职位要计算如下:
象限
m < = 1
m > 1
第一次
x = x + 1
y = y + m
x = x + 1/m
y = y + 1
第二次
x = x 1
y = y + m
- 2022-08-10 08:17:23下载
- 积分:1
-
Chip 7456' s Chinese font software, the use of its effectiveness.
芯片7456的汉字字模软件,使用效果不错。-Chip 7456" s Chinese font software, the use of its effectiveness.
- 2022-05-20 07:18:55下载
- 积分:1
-
windows上的opengl屏保源码
windows上的opengl屏保源码-windows opengl screen guarantees the source code
- 2023-08-04 21:30:04下载
- 积分:1
-
marching cube算法的openGL实现,简单扼要
marching cube算法的openGL实现,简单扼要-marching cube algorithm openGL implementation, simple and concise
- 2022-03-20 03:39:32下载
- 积分:1
-
This is a simulation of a small amount of movement of the gas ions and the basic...
这是一个模拟小量气体离子的运动规律,并对其基本量进行计算-This is a simulation of a small amount of movement of the gas ions and the basic amount of its calculated
- 2022-08-15 11:27:10下载
- 积分:1
-
本程序在Visual C++6.0环境下采用OpenGL编程,实现一个三维图形的旋转显示...
本程序在Visual C++6.0环境下采用OpenGL编程,实现一个三维图形的旋转显示-This procedure in the Visual C++ 6.0 environment using OpenGL programming, to achieve the rotation of a three-dimensional graphics display
- 2023-08-28 06:55:03下载
- 积分:1
-
OpenGL中操作字体的类
OpenGL中操作字体的类-OpenGL operation type fonts
- 2022-03-07 20:19:52下载
- 积分:1
-
用opengl对飞机进行建模,其中对飞机建模采用了nurbs曲线,曲面技术.使飞机的外形更加平滑.对于防真学的出学者有很大的帮助....
用opengl对飞机进行建模,其中对飞机建模采用了nurbs曲线,曲面技术.使飞机的外形更加平滑.对于防真学的出学者有很大的帮助.-use opengl right aircraft modeling, modeling of aircraft used nurbs curve, Surface Technology. That the aircraft"s shape more smooth. Those really learn from scholars are very helpful.
- 2022-02-14 03:24:01下载
- 积分:1
-
利用2D材质制做3D的起伏不平的地面
利用2D材质制做3D的起伏不平的地面-use material produced 2D 3D undulating ground
- 2022-07-03 16:22:18下载
- 积分:1
-
运动检测
可以实现运动目标的检测与跟踪 算法可靠camshift改进的比 该混合高斯 研究了基于色彩直方图特征和基于方差比值特征的MeanShift算法的目标跟踪原理及其实现过程,并通过分析检测过程中得到的目标结果图像,试验比较了两种算法的跟踪效果,最终选用了基于方差比值特征的Mean
Shift目标跟踪算法,可于复杂背景下实时准确地完成运动目标的跟踪。
本文在VC++6.0开发平台下,采用C语言编写程序并调用了部分OpenCV库函数,实现了以上提出的图像预处理、运动目标检测和跟踪算法,并通过试验验证了算法的有效性,成功实现了对复杂背景下运动目标的检测与跟踪。
- 2022-01-26 03:10:21下载
- 积分:1