基于FPGA的改进Canny边缘检测算法OA
Improved Canny edge detection algorithm based on FPGA
针对传统Canny边缘检测算法在阈值选取上缺乏自适应性以及普通微处理器处理速度慢的问题,将可编程门阵列(Field-rogrammable gate array,FPGA)与高速并行处理技术相结合,设计了一种改进的Canny边缘检测算法.首先,提出了一种基于图像局部灰度值方差的改进的动态阈值分割算法,以提高阈值选取的自适应能力及边缘检测的准确性和鲁棒性.其次,采用双边滤波器达到平滑噪声的同时保留了图像边缘梯度信息.最后,按梯度方向分区域进行非极大值抑制,有效提高了图像边缘的定位精度.实验结果表明,经过该算法处理的图像,边缘图像的单边缘响应和边缘连接性均有了不同程度的提升,双边滤波模块处理后的图像峰值信噪比(Peak signal-to-noise-ratio,PSNR)较传统Canny算法的图像峰值信噪比提升了105%.
In light of the limited adaptability in threshold selection of the conventional Canny edge detection algorithm and the sluggish processing speed of regular microprocessors,the integration of field-programmable gate array(FPGA)with high-speed parallel processing can significantly enhance the speed of edge detection.This paper presents a refined Canny edge detection algorithm that incorporates an improved dynamic threshold segmentation approach based on local gray value variance to enhance adaptive threshold selection,as well as improve accuracy and robustness in edge detection.The utilization of a bilateral filter effectively reduces noise while preserving image edge gradient information.Furthermore,subregion non-maximum suppression based on gradient direction enhances localization accuracy for image edges.Experimental results validate the feasibility of this adaptive threshold edge detection algorithm,which has shown varying degrees of improvements in single-edge response and edge connectivity compared to traditional Canny algorithms.Moreover,the peak signal-to-noise-ratio(PSNR)of the image processed using this algorithm has been improved by 105%compared to that of the conventional Canny algorithm,and the accuracy and robustness have also been significantly improved.
李积英;刘洁;刘钰
兰州交通大学 电子与信息工程学院,甘肃 兰州 730070兰州交通大学 电子与信息工程学院,甘肃 兰州 730070兰州交通大学 电子与信息工程学院,甘肃 兰州 730070
图像边缘自适应阈值Megafunction双边滤波可编程门阵列
image edgeadaptive thresholdmegafunctionbilateral filteringfield programmable gate array(FPGA)
《测试科学与仪器》 2026 (3)
421-434,14
评论