摘要
图像中相交直线的角度是图像的重要特征,本文提出了一种利用最大类间方差法计算图像中相交直线角度的方法.首先将待处理图像二值化,然后利用边界跟踪函数找到给定坐标附近的直线边界,最后采用最小二乘法匹配出所需直线,进而求得直线角度.实验结果表明,提出的方法能够有效地检测到图像中的相交直线,并计算角度值,且该方法简洁、准确.
The angle of the intersecting line is an important feature in the image. This paper proposes a method to calculate the intersecting line angle in the image by using the maximum inter-class variance method.First,the image to be processed is binarized,then the boundary tracking function is used to find the boundary of the line near the given coordinates,and finally the least squares method is used to match the desired line,and then the line angle is obtained. The experimental results show that the proposed method can effectively detect the intersecting lines in the image and calculate the angle value,and the method is simple and accurate.
作者
王杰
孙心怡
金曙
张学伟
汪林
WANG Jie;SUN Xin-yi;JIN Shu;ZHANG Xue-wei;WANG Lin(School of Electrical Engineering,Anhui University of Engineering, Wuhu Anhui 241000,China)
出处
《科技视界》
2019年第23期57-58,共2页
Science & Technology Vision
基金
安徽省教育厅质量工程“六卓越、一拔尖”卓越人才培养创新项目(2018zygc010)
安徽省教育厅省级质量工程虚拟仿真实验教学项目(2018xfsyxm005)
安徽工程大学校级本科教学质量提升计划(2018xnfz01)
大学生创新创业训练计划项目(2016103630024,AH201510363177,201810363146)
关键词
相交直线
角度计算
最大类间方差
Intersecting straight line
Angle calculation
Maximum between-cluster variance