现代电子技术2025,Vol.48Issue(9):43-48,6.DOI:10.16652/j.issn.1004-373x.2025.09.007
基于FPGA的直线检测设计与实现
Line detection design and implementation based on FPGA
摘要
Abstract
A hardware-based line detection approach using FPGA's characteristics of parallel processing and pipeline execution has been proposed to overcome the deficiencies of slow processing and excessive resource consumption of the line detection algorithm on the traditional software-based platforms.It includes two parts mainly:the optimized Canny edge detection method and the spatial parameters parallelized Hough transform algorithm.Specifically,a fast median filtering is applied to smooth the image to avoid the precision loss from over-smoothing.The non-maximum suppression is streamlined in four directions,the parametric equation is rewritten in Hough transform,and a lookup table is used to store angle value from 0° to 90°,which curtails hardware resource usage.The parallel processing structure of Hough transform is designed to complete the calculation of linear parameters and vote statistics in a single clock cycle,which speeds up the calculation speed.The linear parameters extracted from the hardware-based platform are imported into the Matlab for linear fitting and realize line detection.The experimental results show that the proposed line detection method is faster than the traditional software-based implementation methods in terms of speed,and both of them can achieve the expected effect in terms of detection accuracy.To sum up,the proposed method can provide a certain reference and application value for efficient and fast lane line detection for autonomous vehicles.关键词
FPGA/直线检测/Canny边缘检测/中值滤波/Hough变换/直线参数Key words
FPGA/line detection/Canny edge detection/median filtering/Hough transform/line parameter分类
信息技术与安全科学引用本文复制引用
薛浪,曾庆立,周佳凯,钟戴元,唐瑞东..基于FPGA的直线检测设计与实现[J].现代电子技术,2025,48(9):43-48,6.基金项目
吉首大学研究生校级科研项目(Jdy23039) (Jdy23039)