搜索资源列表
midline12
- 在c的环境下实现直线中点算法实现,可以实现任意斜率的直线绘制.-in the environment to achieve straight midpoint algorithm can achieve arbitrary slope of the straight-line drawing.
Bresenham高效画线算法
- 画线的算法不少,但要作到高速、简单并不容易。斜率相乘法是最简单的方法之一,但计算每个点均要花费不少时间用于乘、除法运算;下面介绍的是Bresenham s高效画线算法,对每个点的坐标计算只要加、减法就能完成。-line drawing algorithm, but a lot to be done fast, simple is not easy. The slope is the most simple multiplication is one of the ways, but each p
324234
- 假定直线斜率k在0~1之间(k的其它取值可以类似处理),当前象素点为(xp,yp),则下一个象素点有两种可选择点P1-assumed linear slope of the k-1 between 0 (k values can be other similar processing), the current pixel (xp, yp), the next one pixel can have two points P1
openglline
- 程序使用了Bresenham算法的思想,将四个象限的问题通过交换端点的方法合并成一,四象限的问题。再利用sign变量,统一成一个问题。又考虑到斜率<1,>1最终问题分成了两种情况。在直线插补程序的一开始,把斜率为正无穷的情况单独进行讨论。最终完成了整个程序-procedures for the use of the Bresenham algorithm thinking, four quadrant of the issue through the exchange of endp
zhixiansangesyanfa
- Bresenham算法是计算机图形学领域使用最广泛的直线扫描转换算法。仍然假定直线斜率在0~1之间,该方法类似于中点法,由一个误差项符号决定下一个象素点。 -Bresenham algorithm is the field of computer graphics the most widely used linear scan conversion algorithm. Still assuming that the linear slope of between 0 ~ 1, the
slope.level
- 绘制完成的工作面沿倾向方向的水平变形曲面图形和生成的倾向方向水平变形等值线图
mylineseg
- 线段及直线的基本运算 1. 点与线段的关系2. 求点到线段所在直线垂线的垂足3. 点到线段的最近点4. 点到线段所在直线的距离 5. 点到折线集的最近距离 6. 判断圆是否在多边形内7. 求矢量夹角余弦 8. 求线段之间的夹角9. 判断线段是否相交10.判断线段是否相交但不交在端点处11.求线段所在直线的方程 12.求直线的斜率 13.求直线的倾斜角14.求点关于某直线的对称点15.判断两条直线是否相交及求直线交点 16.判断线段是否相交,如果相交返回交点-straight line segme
实验报告2
- 重点撑握数值微分法.此法主要内容为先算出直线的斜率 k=△y/△x 其中, △x=x1-x0, △y=y1-y0,(x0,y0)和(x1,y1)分别是直线的端点坐标。然后,从直线的起点开始,确定最佳逼近于直线的y坐标均为整数,让X从起点到终点变化,每步递增1,计算对应的y坐标,y=kx+B,并取象素(x,round(y))。用这个方法既直观,以可行,然而效率低。-focus on shoring grip numerical differentiation. This method is mai
拓展的Bresenham画直线(全象限全斜率)
- 拓展的Bresenham画直线(全象限全斜率),采用实时判断斜率的方式分别对正负斜率进行处理,用了对称的思路做出图象。效果很好,代码非常简洁明了。,Bresenham draw a straight line extended (all-quadrant all-slope), the use of real-time manner to determine the slope of the positive and negative slope, respectively, to deal w
FOG_test 计算光纤陀螺速率斜坡系数
- 一个计算光纤陀螺速率斜坡系数、速率随机游走系数、零偏稳定性、角度随机游走系数、量化噪声系数的matlab程序-A calculation of the slope coefficient of fiber optic gyro rate, rate random walk coefficient, bias stability, angle random walk coefficient quantization noise figure of the matlab program
emu_demo.rar
- 岩质边坡极限平衡稳定性分析软件,功能强大,Rock slope stability analysis of limit equilibrium software, a powerful
txx
- 计算机图形中,简单的画直线,画圆用C语言实现。其中包括斜率的讨论,用对话框对直线的坐标进行输入-Computer graphics, a simple line drawing, draw a circle with the C language. Including discussion of the slope, with the coordinates of the dialog box for input of line
GIS
- 在VS 2005下用AE开发的GIS应用程序,实现了GIS软件的显示漫游等,基本功能,计算坡度、坡向,裁剪,栅格计算,SQL查询,空间关系查询,专题图制作等功能。-Under the VS 2005 with the development of GIS applications AE realized GIS software shows roaming, basic functions, calculate slope, aspect, cropping, grid computing, S
zyBresenham
- Bresenham算法的动画演示程序,用opengl编写,可以显示斜率大于1和小于1的两种情况。-Bresenham algorithm animation demo program using opengl prepared to show the slope is greater than 1 and less than 1 in both cases.
hough
- 对于较粗的样本点集 hough 算法是不可能做到检测全部直线的. 另一方面 hough 还会测出许多不存在的直线. 在应用的时候只能根据需要自己标定 精度. 以下是我在MATLAB下开发的hough函数 输入一个灰度图形矩阵, 返回 最长直线斜率. 用来做图形倾斜校正的. 希望贴出来还能有点用吧~-For a sample point set coarse algorithm hough it is not possible to do all the straight line de
tuxingxu
- 用vc++实现直线生成算法,根据斜率大于或小于1来确定从那个方向开始-Using vc++ to achieve a straight line generating algorithm, based on the slope is greater than or less than 1 to determine the direction from the beginning
Bresenham_Line
- 中点画直线法的扫描转换程序:用中点法绘制的直线,可以是任意斜率。-Straight-line method of stippling the scan conversion process: A straight line drawn by the mid-point method, the slope can be arbitrary.
depthimage
- 通过找出几条线的斜率从一幅几何视角图片生成相应的几何渐层深度。-By finding the slope of a few lines from a geometric perspective image geometry gradually generates the appropriate depth.
Slope
- 计算DEM图像的坡度 经过VS2010测试通过-Calculate the slope of the DEM image after the VS2010 beta by
slope
- 用编程的方法求取一幅遥感影像的坡度,用编程的方法求取一幅遥感影像的坡度-By obtaining a programming method of remote sensing image slope with a gradient of programming is used to obtain remote sensing imagery
