Location:
Search - slope of line
Search list
Description: 在本问题的求解中,修桥和挖隧道是两个相类似的求解过程,我们将求解过程分为两个部分:第一、对河岸边一固定点 ,将桥修在 处时,求解由起始点 到经固定点 到居民点 的最短路线。第二、如何确定 的位置,使得总路线的费用最小。我们分别用了两个模型来进行这两部分内容的求解。模型一、针对坡度的限制,利用小区域内的局部最优来达到全局最优。模型二、列出点 有一定的位移时,可以减少的费用 的函数方程,然后利用河岸附近等高线较紧密,公路不能沿偏离等高线方向前进的特性,求出减少的费用 的条件极值,从而确定最佳修桥地点 。最后,我们利用模型一、二的原理对隧道部分的公路做了同样的优化设计,然后得出总的修路费用估计为324万元,较合理。最后,我们对整个做法的误差及合理性做了分析。-in solving this problem, building bridges and two tunnels are dug similar to the solution process, we will be solving process is divided into two parts : the first, on the banks of the river a fixed point of the bridge repair in the Department, from the starting point to solve by the fixed point to settlements in the shortest routes. Second, how to determine the location, making the cost of the smallest general line. We were using the two models, both part of the solution. One model, the slope of the restrictions against use of the local small areas to achieve optimum global optimum. Model 2, listing a certain point of displacement, can reduce the cost of the equation, and then using the riverbank near the contours more closely, not along the highway from contour direction of the character
Platform: |
Size: 194862 |
Author: 李凌 |
Hits:
Description: 在c的环境下实现直线中点算法实现,可以实现任意斜率的直线绘制.-in the environment to achieve straight midpoint algorithm can achieve arbitrary slope of the straight-line drawing.
Platform: |
Size: 901 |
Author: jyc |
Hits:
Description: CASIO 计算器程序:
直线段边坡超欠挖检查及开口线放样程序
圆弧段边坡超欠挖检查及开口线放样程序
测量坐标与施工坐标换算
隧洞直线段顶圆弧放样程序-CASIO calculators : slope of the straight-less digging and inspection procedures for opening lines lofting arc of the slope-unerbreak opening line inspection and measurement procedures coordinates lofting coordinate conversion and construction of the tunnel straight top lofting arc procedures
Platform: |
Size: 25936 |
Author: 倪付清 |
Hits:
Description: 这个例子做的是去年全国电子电子设计大赛E题,悬挂运动控制系统(E题),我只做了画线和画圆两个部分,纯粹是玩,所以精度不是很高,终点定位精度误差差不多0.5cm左右,画圆在两个斜率无穷大区误差较大需要修正。
一开始我用的是L297+L298驱动,感觉脉冲相位控制比较麻烦,后来想到avr相对51的速度,用B口模拟脉冲,L293驱动。电机我用的是两个42BYG四相八拍六线步进电机,资料很好找。
这个试验做起来可能有点麻烦,比赛的时候需要特定的板子,就象附件E题里所示,注意电机转动的时候不能让绕线重叠,会严重影响精度,绳子要用无弹性的,我用的是去渔具店买的尼龙的无弹性渔线。
-this example so last year's national electronic Electronic Design Competition E. issue, the hoisting of Motion Control System (E) by I only went for the painting and the Circle Line 2, purely for fun, and so accuracy is not very high, end positioning accuracy error of almost 0.5 cm, the two Circle infinite slope of the error greater need for the amendment. I started with one of the L297 L298-driven, phase-control pulse feeling more trouble Later thought 51 avr relative speed, I simulated B pulse, L293-driven. I used the motor is BYG 4 2 42 8 shoot six phase stepper motor line, looking for good information. The pilot may have made up trouble, competitions specific needs of the board, as that Lane Annex E, as shown in attention to the motor rotation can not let Wound overlap, will seriou
Platform: |
Size: 187898 |
Author: xuepeng |
Hits:
Description: 斜率为0~1和大于1的Bresenham画线程序,将该算法程序扩展到任一八分圆坐标空间图,从而形成一般的Bresenham画线算法。-slope of 0 to 1 and more than a line drawing of Bresenham procedures, the extension of this algorithm, arrived on January 8 pm Yuan map coordinates space, thus forming a general line drawing Bresenham algorithm.
Platform: |
Size: 899 |
Author: 成龙 |
Hits:
Description: 线段及直线的基本运算 1. 点与线段的关系2. 求点到线段所在直线垂线的垂足3. 点到线段的最近点4. 点到线段所在直线的距离 5. 点到折线集的最近距离 6. 判断圆是否在多边形内7. 求矢量夹角余弦 8. 求线段之间的夹角9. 判断线段是否相交10.判断线段是否相交但不交在端点处11.求线段所在直线的方程 12.求直线的斜率 13.求直线的倾斜角14.求点关于某直线的对称点15.判断两条直线是否相交及求直线交点 16.判断线段是否相交,如果相交返回交点-straight line segment and a basic computing. Point and the line between the two. Seeking to point straight vertical line segment where the Pedal 3. Line points to the recent four points. Point to the straight line distance from the host 5. Set point to the recently broken away from six. To judge whether the circular polygon 7. for vector cosine angle 8. for the angle between the line 9. Line judge whether the intersection 10. Line judge whether the intersection but do not pay the endpoint Office 11. for the straight line segment where equation 12. for a linear slope 13. seeking straight tilt angle 14. Points on a linear symmetrical points 15. to judge whether the intersection of two straight and for 16 straight intersection. Line judge whether the intersection, the intersection to intersec
Platform: |
Size: 1024 |
Author: 孤星赶月 |
Hits:
Description: 斜率为0~1和大于1的Bresenham画线程序,将该算法程序扩展到任一八分圆坐标空间图,从而形成一般的Bresenham画线算法。-slope of 0 to 1 and more than a line drawing of Bresenham procedures, the extension of this algorithm, arrived on January 8 pm Yuan map coordinates space, thus forming a general line drawing Bresenham algorithm.
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 在本问题的求解中,修桥和挖隧道是两个相类似的求解过程,我们将求解过程分为两个部分:第一、对河岸边一固定点 ,将桥修在 处时,求解由起始点 到经固定点 到居民点 的最短路线。第二、如何确定 的位置,使得总路线的费用最小。我们分别用了两个模型来进行这两部分内容的求解。模型一、针对坡度的限制,利用小区域内的局部最优来达到全局最优。模型二、列出点 有一定的位移时,可以减少的费用 的函数方程,然后利用河岸附近等高线较紧密,公路不能沿偏离等高线方向前进的特性,求出减少的费用 的条件极值,从而确定最佳修桥地点 。最后,我们利用模型一、二的原理对隧道部分的公路做了同样的优化设计,然后得出总的修路费用估计为324万元,较合理。最后,我们对整个做法的误差及合理性做了分析。-in solving this problem, building bridges and two tunnels are dug similar to the solution process, we will be solving process is divided into two parts : the first, on the banks of the river a fixed point of the bridge repair in the Department, from the starting point to solve by the fixed point to settlements in the shortest routes. Second, how to determine the location, making the cost of the smallest general line. We were using the two models, both part of the solution. One model, the slope of the restrictions against use of the local small areas to achieve optimum global optimum. Model 2, listing a certain point of displacement, can reduce the cost of the equation, and then using the riverbank near the contours more closely, not along the highway from contour direction of the character
Platform: |
Size: 194560 |
Author: 李凌 |
Hits:
Description: 在c的环境下实现直线中点算法实现,可以实现任意斜率的直线绘制.-in the environment to achieve straight midpoint algorithm can achieve arbitrary slope of the straight-line drawing.
Platform: |
Size: 1024 |
Author: jyc |
Hits:
Description: 画线的算法不少,但要作到高速、简单并不容易。斜率相乘法是最简单的方法之一,但计算每个点均要花费不少时间用于乘、除法运算;下面介绍的是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 point are calculated to spend a lot of time for the multiplication and division operations; Below is a description of Bresenham s efficient line drawing algorithm, to the coordinates of each point calculation as long as Canada, subtraction can be done.
Platform: |
Size: 4096 |
Author: 小倪 |
Hits:
Description: CASIO 计算器程序:
直线段边坡超欠挖检查及开口线放样程序
圆弧段边坡超欠挖检查及开口线放样程序
测量坐标与施工坐标换算
隧洞直线段顶圆弧放样程序-CASIO calculators : slope of the straight-less digging and inspection procedures for opening lines lofting arc of the slope-unerbreak opening line inspection and measurement procedures coordinates lofting coordinate conversion and construction of the tunnel straight top lofting arc procedures
Platform: |
Size: 25600 |
Author: 倪付清 |
Hits:
Description: 程序使用了Bresenham算法的思想,将四个象限的问题通过交换端点的方法合并成一,四象限的问题。再利用sign变量,统一成一个问题。又考虑到斜率<1,>1最终问题分成了两种情况。在直线插补程序的一开始,把斜率为正无穷的情况单独进行讨论。最终完成了整个程序-procedures for the use of the Bresenham algorithm thinking, four quadrant of the issue through the exchange of endpoint merged into one, the four quadrant. Reuse sign variables, as a unified problem. Also, in consideration of the slope
Platform: |
Size: 87040 |
Author: 吴子朝 |
Hits:
Description: 这个例子做的是去年全国电子电子设计大赛E题,悬挂运动控制系统(E题),我只做了画线和画圆两个部分,纯粹是玩,所以精度不是很高,终点定位精度误差差不多0.5cm左右,画圆在两个斜率无穷大区误差较大需要修正。
一开始我用的是L297+L298驱动,感觉脉冲相位控制比较麻烦,后来想到avr相对51的速度,用B口模拟脉冲,L293驱动。电机我用的是两个42BYG四相八拍六线步进电机,资料很好找。
这个试验做起来可能有点麻烦,比赛的时候需要特定的板子,就象附件E题里所示,注意电机转动的时候不能让绕线重叠,会严重影响精度,绳子要用无弹性的,我用的是去渔具店买的尼龙的无弹性渔线。
-this example so last year's national electronic Electronic Design Competition E. issue, the hoisting of Motion Control System (E) by I only went for the painting and the Circle Line 2, purely for fun, and so accuracy is not very high, end positioning accuracy error of almost 0.5 cm, the two Circle infinite slope of the error greater need for the amendment. I started with one of the L297 L298-driven, phase-control pulse feeling more trouble Later thought 51 avr relative speed, I simulated B pulse, L293-driven. I used the motor is BYG 4 2 42 8 shoot six phase stepper motor line, looking for good information. The pilot may have made up trouble, competitions specific needs of the board, as that Lane Annex E, as shown in attention to the motor rotation can not let Wound overlap, will seriou
Platform: |
Size: 187392 |
Author: xuepeng |
Hits:
Description: 该源码在matlab平台上运行,实现的功能是利用hough变换检测图像中具有一定长度的直线,并将直线从整个图像中提取出来.不仅如此,还可以通过计算分析求出对应直线的斜率.-The source platform to run in matlab, the function is to realize the use of hough transform detection image has a certain length of a straight line, and a straight line from the entire image extracted. Not only that, but can also be obtained by calculating the analysis corresponds to the slope of a straight line.
Platform: |
Size: 11264 |
Author: 秀秀 |
Hits:
Description: 利用OPENGL画直线,考虑了斜率的多种状况-Use OPENGL drawing a straight line, taking into account the slope of a variety of situation
Platform: |
Size: 7168 |
Author: samuel |
Hits:
Description: 对于较粗的样本点集 hough 算法是不可能做到检测全部直线的. 另一方面 hough 还会测出许多不存在的直线. 在应用的时候只能根据需要自己标定 精度.
以下是我在MATLAB下开发的hough函数 输入一个灰度图形矩阵, 返回 最长直线斜率. 用来做图形倾斜校正的. 希望贴出来还能有点用吧~-For a sample point set coarse algorithm hough it is not possible to do all the straight line detection. Hough will be measured on the other hand, much of the straight line does not exist. At a time when the application can only be based on the needs of calibration accuracy of their own. The following is in my MATLAB hough function developed under a gray-scale graphics input matrix, the slope of a straight line back up. to make graphics tilt correction. I hope it can paste a bit with it ~
Platform: |
Size: 1024 |
Author: paul |
Hits:
Description: * FILE: least-squares.c
* This program computes a linear model for a set of given data.
*
* PROBLEM DESCRIPTION:
* The method of least squares is a standard technique used to find
* the equation of a straight line from a set of data. Equation for a
* straight line is given by
* y = mx + b
* where m is the slope of the line and b is the y-intercept.
*
* Given a set of n points {(x1,y1), x2,y2),...,xn,yn)}, let
* SUMx = x1 + x2 + ... + xn
* SUMy = y1 + y2 + ... + yn
* SUMxy = x1*y1 + x2*y2 + ... + xn*yn
* SUMxx = x1*x1 + x2*x2 + ... + xn*xn
*
* The slope and y-intercept for the least-squares line can be
* calculated using the following equations:
* slope (m) = ( SUMx*SUMy - n*SUMxy ) / ( SUMx*SUMx - n*SUMxx )
* y-intercept (b) = ( SUMy - slope*SUMx ) / n
*
* AUTHOR: Dora Abdullah (Fortran version, 11/96)
* REVISED: RYL (converted to C, 12/11/96)- * FILE: least-squares.c
* This program computes a linear model for a set of given data.
*
* PROBLEM DESCRIPTION:
* The method of least squares is a standard technique used to find
* the equation of a straight line from a set of data. Equation for a
* straight line is given by
* y = mx + b
* where m is the slope of the line and b is the y-intercept.
*
* Given a set of n points {(x1,y1), x2,y2),...,xn,yn)}, let
* SUMx = x1 + x2 + ... + xn
* SUMy = y1 + y2 + ... + yn
* SUMxy = x1*y1 + x2*y2 + ... + xn*yn
* SUMxx = x1*x1 + x2*x2 + ... + xn*xn
*
* The slope and y-intercept for the least-squares line can be
* calculated using the following equations:
* slope (m) = ( SUMx*SUMy - n*SUMxy ) / ( SUMx*SUMx - n*SUMxx )
* y-intercept (b) = ( SUMy - slope*SUMx ) / n
*
* AUTHOR: Dora Abdullah (Fortran version, 11/96)
* REVISED: RYL (converted to C, 12/11/96)
Platform: |
Size: 1024 |
Author: xuwenhao2005 |
Hits:
Description: 基于外极线约束法则的外极斜率匹配思想, 针对图像中有限的角点特征, 提出了一种快速直线匹配
方法-Epipolar constraint based on rules of thinking outside the very slope of the match, for a limited corner of the image characteristics, we propose a fast straight line matching method
Platform: |
Size: 151552 |
Author: 刘春来 |
Hits:
Description: 1、编写函数LineDDA(),实现任意斜率直线的扫描转换,算法为DDA算法;
2、编写函数LineBre(),实现斜率任意斜率直线的扫描转换,算法为改进的Bresenhan算法;
3、编写函数LineMidPointBre(),实现任意斜率直线的扫描转换,算法为中点Bresenhan算法。-1, write the function LineDDA (), arbitrary slope of the line scan conversion algorithm to DDA algorithm
2, write the function LineBre (), to achieve any slope slope of the line scan conversion algorithm to improve the Bresenhan algorithm
3, write functions LineMidPointBre (), arbitrary slope of the line scan conversion algorithm midpoint Bresenhan algorithms.
Platform: |
Size: 1024 |
Author: 李宇鹏 |
Hits:
Description: 基于stm32f103c8t6的黑白线识别,通过ov7670摄像头读取二值化后的图,并在oled上显示出来,并显示黑线的斜率与边距。-Black and white line recognition based on stm32f103c8t6, through ov7670 camera read after binarization figure, and displayed on the oled, and shows that the slope of the black line and margin.
Platform: |
Size: 2757632 |
Author: 张天亮 |
Hits: