本文已被:浏览 406次 下载 1693次
Received:August 11, 2024 Revised:September 03, 2024
Received:August 11, 2024 Revised:September 03, 2024
中文摘要: 针对汽车涂胶图像边缘提取过程中, 由于生产工厂环境复杂、光线不均匀而产生噪声、伪边缘干扰的问题, 提出一种改进Canny算子的汽车涂胶图像边缘提取算法. 首先, 算法采用多级中值有理混合滤波和导向滤波的级联滤波器对图像进行去噪和平滑, 在降噪的同时保留目标边缘信息; 其次应用改进Sobel算子卷积模板, 从水平、垂直、45°、135°这4个方向提取梯度向量, 提高边缘定位精度; 最后在边缘连接阶段, 采用改进的最大类间方差法(Otsu)选择高低阈值, 增加算法的自适应性. 实验结果表明, 在图像降噪方面, 与传统的中值滤波相比, 该算法保证降噪后的图像的峰值信噪比高于35 dB, 结构相似度大于0.9, 整体峰值信噪比提升了6%以上, 结构相似度提高6.5%以上; 在边缘提取方面, 能够很好地减少伪边缘的干扰, 边缘连接程度较高.
中文关键词: 汽车涂胶 Canny算法 多级中值有理混合滤波 导向滤波 边缘提取
Abstract:Aiming at noise and pseudo-edge interference in the edge extraction process of automobile coating images caused by the complex environment and uneven lighting in production plants, an edge extraction algorithm for automobile coating images with an improved Canny operator is proposed. Firstly, the algorithm adopts a cascade filter composed of a multi-level median rational hybrid filter and a guided filter to denoise and smooth the image, while retaining the target edge information during noise reduction. Secondly, the improved Sobel operator convolution template is applied to extract the gradient vectors from four directions of horizontal, vertical, 45°, and 135°, so as to improve edge localization accuracy. Finally, in the edge connection stage, the improved Otsu method (maximum interclass variance method) is used to select high and low thresholds, increasing the adaptability of the algorithm. Experimental results show that in terms of image denoising, compared with traditional median filtering, the algorithm ensures that the peak signal-to-noise ratio of the denoised image is higher than 35 dB, and the structural similarity is greater than 0.9. The overall peak signal-to-noise ratio increases by more than 6%, and the structural similarity is improved by more than 6.5%. In the aspect of edge extraction, it can effectively reduce the interference of the pseudo-edge and has a high degree of edge connectivity.
keywords: automotive coating Canny algorithm multistage median rational mixture filtering guided filtering edge extraction
文章编号: 中图分类号: 文献标志码:
基金项目:2022年度沈阳市科学技术计划“揭榜挂帅”产业共性技术项目(22-316-1-07); 辽宁省应用基础研究项目(2022JH2/101300243)
引用文本:
王谦,霍昶宇,贾军营,杨海波,徐展.基于混合滤波Canny算子的汽车涂胶边缘提取.计算机系统应用,2025,34(3):229-238
WANG Qian,HUO Chang-Yu,JIA Jun-Ying,YANG Hai-Bo,XU Zhan.Automotive Coating Edge Extraction Based on Hybrid Filtering Canny Operator.COMPUTER SYSTEMS APPLICATIONS,2025,34(3):229-238
王谦,霍昶宇,贾军营,杨海波,徐展.基于混合滤波Canny算子的汽车涂胶边缘提取.计算机系统应用,2025,34(3):229-238
WANG Qian,HUO Chang-Yu,JIA Jun-Ying,YANG Hai-Bo,XU Zhan.Automotive Coating Edge Extraction Based on Hybrid Filtering Canny Operator.COMPUTER SYSTEMS APPLICATIONS,2025,34(3):229-238

