[1]苏伟君,江吉彬,吕鑫平.基于Canny与RANSAC算法的边缘直线检测改进方法[J].福建理工大学学报,2025,23(01):64-70.[doi:10.3969/j.issn.2097-3853.2025.01.006]
SU Weijun,JIANG Jibin,LYU Xinping.Improved edge straight-line detection using Canny and RANSAC algorithms[J].Journal of Fujian University of Technology;,2025,23(01):64-70.[doi:10.3969/j.issn.2097-3853.2025.01.006]
点击复制
基于Canny与RANSAC算法的边缘直线检测改进方法
《福建理工大学学报》[ISSN:2097-3853/CN:35-1351/Z]
- 卷:
-
第23卷
- 期数:
-
2025年01期
- 页码:
-
64-70
- 栏目:
-
- 出版日期:
-
2025-02-26
文章信息/Info
- Title:
-
Improved edge straight-line detection using Canny and RANSAC algorithms
- 作者:
-
苏伟君; 江吉彬; 吕鑫平
-
黎明职业大学
- Author(s):
-
SU Weijun; JIANG Jibin; LYU Xinping
-
School of Aviation, Liming Vocational University
-
- 关键词:
-
Canny算法; 边缘直线检测; RANSAC算法; 直线拟合
- Keywords:
-
Canny algorithm; edge straight-line detection; RANSAC algorithm; straight-line fitting
- 分类号:
-
TP301.6
- DOI:
-
10.3969/j.issn.2097-3853.2025.01.006
- 文献标志码:
-
A
- 摘要:
-
为了提高触摸屏直线检测的精度和实时性,提出了基于Canny 算法与RANSAC 算法相结合的边缘直线检测方法。引入自适应Canny 边缘检测算法,通过双边滤波、综合应用Sobel 算子和Scharr算子计算图像梯度。利用最大类间方差法去除噪声、抑制伪边缘并确定阈值,实现了高精度的触摸屏边缘检测并提取了最优的边缘直线。通过改进的RANSAC 算法对触摸屏边缘点进行直线拟合,在保证直线检测精度的前提下,满足了系统的实时性要求。在触摸屏贴合系统实验平台上的测试结果表明,该方法的边缘直线检测准确性高、实时响应良好,可以满足预期检测要求。
- Abstract:
-
To enhance the precision and real-time performance of straight-line detection in touchscreens, an edge straight-line detection method combining the Canny algorithm with the RANSAC algorithm is proposed. The adaptive Canny edge detection algorithm is introduced, which calculates image gradients through bilateral filtering and the comprehensive application of Sobel and Scharr operators. By employing the maximum inter-class variance method to remove noise, suppress false edges, and determine thresholds, high-precision touchscreen edge detection is achieved, along with the extraction of optimal edge lines. The improved RANSAC algorithm is utilized for straight-line fitting of touchscreen edge points, satisfying real-time system requirements while ensuring detection accuracy. Experimental results on the touchscreen alignment system platform demonstrate that this method exhibits high accuracy in edge straight-line detection and excellent real-time responsiveness, meeting expected detection requirements.
参考文献/References:
[1] 张俊升. FOG贴合工艺中图像处理技术的应用研究[D]. 徐州:中国矿业大学,2016. [2] ZHOU L Y,HUANG X W,FU Q,et al. Fine edge detection in single-pixel imaging[J]. Chinese Optics Letters,2021,19(12):121101.[3] 肖逸. 触摸屏的UVW平台自动对位系统开发[D]. 广州:广东工业大学,2021.[4] 张仕强,张仕刚,舒成业,等. 双层LCD触摸显示屏贴合工艺及应用[J]. 上海轻工业,2023(2):137-139.[5] 张振亚. 基于机器视觉的平板电脑LCD对位贴合系统设计与开发[D]. 广州:广东工业大学,2014.[6] 李俊蒂,徐敏,苏鹭梅,等. 一种基于机器视觉的自动标定贴屏实现方法[J]. 厦门理工学院学报,2016,24(1):47-51.[7] 苏鹭梅,张辑,薛勇,等. 视觉引导触摸屏高精度自动贴合系统[J]. 厦门理工学院学报,2017,25(1):44-49.[8] 张建国,季甜甜,莘明星,等. 涂胶缺陷检测中的边缘提取方法[J]. 船舶工程,2021,43(2):128-133.[9] 于新善,孟祥印,金腾飞,等. 基于改进Canny算法的物体边缘检测算法[J]. 激光与光电子学进展,2023,60(22):221-230. [10] YU X K,WANG Z W,WANG Y H,et al. Edge detection of agricultural products based on morphologically improved canny algorithm[J]. Mathematical Problems in Engineering,2021(3) : 6664970.1-6664970.10. [11] 黄怡静,胡小平,彭向前,等. 改进Canny算子的图像边缘检测算法[J/OL]. 机械科学与技术,1-11 [2024-10-22].https:∥doi.org/10.13433/j.cnki.1003-8728.20230297.[12] 包从望,胡才梦,张彩红,等. 基于改进Canny算子的齿轮缺陷检测边缘检测算法[J]. 组合机床与自动化加工技术,2023(1):83-86,91.[13] 张红霞,王灿,刘鑫,等. 图像边缘检测算法研究新进展[J]. 计算机工程与应用,2018,54(14):11-18.[14] 姚昱,郑洋,程子燚,等. 基于Scharr算子的计算鬼成像边缘提取技术[J]. 激光与光电子学进展,2024,61(10):137-144.[15] 罗成文,黎东,聂胜,等. 一种稳健的激光点云拟合空间圆柱面方法[J]. 测绘地理信息,2024,49(3):31-34.[16] 冯宝凤,杨剑锋,严可,等. 融合RANSAC与GMS图像特征的匹配算法[J]. 智能计算机与应用,2023,13(9):74-79.[17] 宫金良,孙科,张彦斐,等. 基于梯度下降和角点检测的玉米根茎定位导航线提取方法[J]. 农业工程学报,2022,38(13):177-183.
更新日期/Last Update:
2025-02-25