Improved Canny edge detection algorithm based on FPGA

Jiying Li , Jie Liu , Yu Liu

Journal of Measurement Science and Instrumentation ›› 2026, Vol. 17 ›› Issue (3) : 421 -434.

PDF (6505KB)
Journal of Measurement Science and Instrumentation ›› 2026, Vol. 17 ›› Issue (3) :421 -434. DOI: 10.62756/jmsi.1674-8042.2026036
Signal and image processing technology
research-article
Improved Canny edge detection algorithm based on FPGA
Author information +
History +
PDF (6505KB)

Abstract

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.

Keywords

image edge / adaptive threshold / megafunction / bilateral filtering / field programmable gate array (FPGA)

Cite this article

Download citation ▾
Jiying Li, Jie Liu, Yu Liu. Improved Canny edge detection algorithm based on FPGA. Journal of Measurement Science and Instrumentation, 2026, 17 (3) : 421-434 DOI:10.62756/jmsi.1674-8042.2026036

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Nausheen N, Seal A, Khanna P, et al. A FPGA based implementation of Sobel edge detection[J]. Microprocessors and Microsystems, 2018, 56: 84-91.

[2]

Ke-qiang R, Rong Z. Edge detection based on logarithmic domain gradient and improved Sobel operator[J]. Chinese Journal of Liquid Crystals and Displays, 2019, 34(3): 283-290.

[3]

Hagara M, Stojanović R, Bagala T, et al. Grayscale image formats for edge detection and for its FPGA implementation[J]. Microprocessors and Microsystems, 2020, 75: 103056.

[4]

Li J, Liu K Y, Ren X S, et al. Application of canny algorithm based on adaptive threshold in MR Image edge detection[J]. Journal of Jilin University (Engineering and Technology Edition), 2021, 51(2): 712-719.

[5]

Qi X, Chen J F, Luo W L. FPGA implementation of image preprocessing algorithm[J]. Foreign Electronic Measurement Technology, 2021(2): 102-107.

[6]

Liu Z H, Wang X Y, Wang Y Y, et al. Comparative study of edge detection algorithms and implementation of FPGA[J]. Computing Technology and Automation, 2023, 42(1): 146-152.

[7]

Gao S S, Liu H B, Guo N H, et al. Research and implementation of adaptive threshold edge detection algorithm based on FPGA[J]. Electronic Device, 2023, 46(5): 1314-1319.

[8]

Wang M Y, Lu A J, Zhao W P, et al. Adaptive weld recognition algorithm based on a modified Canny operator[J]. Foreign Electronic Measurement Technology, 2023, 42(10): 162-169.

[9]

Pan Y H, Jin H, Liu J G, et al. Cooperative targets edge detection based on improved Canny algorithm[J]. Industrial Instrumentation & Automation, 2023(5): 83-88.

[10]

Ding Y. Edge detection algorithm based on improved Canny operator and adaptive threshold[J]. Information and Computers (Theory), 2023, 35(3): 176-178.

[11]

Zhu J D, Zhuo G P, Wu S Y, et al. Classification and detection of diabetes retinopathy based on transfer learning[J]. Journal of North University of China (Natural Science Edition), 2023, 44(4): 478-486.

[12]

Wang Z Y, Xia R, Chen M, et al. Binarization algorithm of Qin bamboo slips text image based on image SNR adaptive threshold model[J]. Journal of Shandong University of technology(Natural Science Edition), 2023,37(4):60-67.

[13]

Fan W W, Wang X P, Zhu S Y. Crack detection in subway tunnels based on multi-feature analysis[J]. Journal of Measurement Science and Instrumentation, 2024, 15(1): 140-147.

[14]

Yang G, Ding B, Song X. Research on image processing algorithm of straw coverage based on improved Bernsen[J]. Journal of Electronic Measurement and Instrumentation, 2021, 35(12): 158-166.

[15]

Qiao Z K, Chen S C, Meng Z X, et al. A new method for draught line image binarization in complicated illumination environment[J]. Navigation of China, 2021, 44(4): 80-85.

[16]

Yan F, Chen J Y, Zhang H X, et al. Design of image two-sided filter system based on FPGA[J]. Instrumentation Technology and Sensors, 2022(6): 99-104.

[17]

Meng C G, Liu Y C, Zhen G Y. Design of nonlinear bilateral filter system based on FPGA in machine vision field[J]. Microcontrollers & Embedded Systems, 2023, 23(7): 57-61.

[18]

Ding T K, He X J. Design of edge detection system based on eight-dimensional sobel operator[J]. Journal of Shenyang Ligong University, 2023, 42(2): 8-14.

[19]

Dou L P, Wu J Q. Image edge detection based on improved Canny algorithm[J]. Software Guide, 2023, 22(8): 216-220.

[20]

Hu X M, Wu Z M. Design and implementation of edge detection system for noisy image based on FPGA[J]. Electronic Fabrication, 2023, 31(21): 112-115.

[21]

Yu X S, Meng X Y, Jin T F, et al. Object edge detection algorithm based on improved Canny algorithm[J]. Advances in Laser and Optoelectronics, 2023, 60(22): 221-230.

[22]

Zhang W Z. Research on fast edge detection method for FPGA optimization[J]. SCM and Embedded System Application, 2023, 23(10): 23-26.

[23]

Du Y L, Xu D D, Tao H J. Research on image edge detection algorithm based on MATLAB[J]. Automation Application, 2023, 64(20): 181-183.

PDF (6505KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉