计算机技术与发展2024,Vol.34Issue(5):30-36,7.DOI:10.20165/j.cnki.ISSN1673-629X.2024.0037
基于直线生成的卷积霍夫线段检测
Convolutional Hough Line Segment Detection Based on Line Generation
摘要
Abstract
As an upstream task in computer vision,line detection provides support for downstream tasks including industrial vision and remote sensing image analysis.One major direction in line detection is Hough line detection.However,the accumulators in existing Hough detection methods are generally designed based on approximate principles,leading to lower accuracy in line detection.To enhance the precision of Hough line detection,convolution is employed to improve the accumulator in Hough line detection and Convolutional Hough Line Segment Detection based on line generation(CHLSD)is proposed.Firstly,median filtering is utilized to smooth the complex textures in original images,and extract edges from smoothed images.Next,the extraction results are denoised using a bitwise Exclusive OR operation and candidate end points of line segments are retained.Then,Bresenham algorithm generates line segments with paired candidate end points,accumulator improved with convolution is used to determine if generated line segments match extracted edges.Finally,parameters for determined end points are calculated and lines with similar parameters are merged to obtain final detection result.Experiments show that CHLSD improves the detection precision while retaining the robustness of Hough line detection,achieving an F1 score of 0.762 6,which is superior to the comparison methods'score of 0.652 3.关键词
线段检测/霍夫变换/卷积核/异或/直线生成/布雷森汉姆算法Key words
line segment detection/Hough transform/convolution kernel/exclusive or/line generation/Bresenham algorithm分类
信息技术与安全科学引用本文复制引用
聂子博,曹建军,翁年凤,余旭,王孟大..基于直线生成的卷积霍夫线段检测[J].计算机技术与发展,2024,34(5):30-36,7.基金项目
国防科技大学自主创新科学基金项目(23-ZZCX-KXKY-14) (23-ZZCX-KXKY-14)