|国家科技期刊平台
首页|期刊导航|计算机技术与发展|基于直线生成的卷积霍夫线段检测

基于直线生成的卷积霍夫线段检测OACSTPCD

Convolutional Hough Line Segment Detection Based on Line Generation

中文摘要英文摘要

直线检测作为计算机视觉的上游任务,为下游包括工业视觉、遥感图像分析等任务提供支撑.直线检测的一大方向是霍夫直线检测,但现有霍夫检测基于近似原理设计计票器,直线检测准确度不高.为提高霍夫变换线段检测的准确度,利用卷积改进霍夫直线检测的计票器并提出基于直线生成的卷积霍夫线段检测方法.利用中值滤波对原始图像中的复杂纹理平滑处理后检测图像中的边界;通过按位异或卷积去除边界检测结果中的噪点并保留候选的线段端点;将候选的线段端点两两组合并使用布雷森汉姆算法进行线段生成,由利用卷积改进的计票器判断生成的线段是否存在于边界上;确认端点所构成线段位于边界后求取端点对之间的参数并合并参数相似的加检测结果,得到最终线段检测结果.对比实验中该方法的F1 指标为0.762 6,优于对比方法中最高的0.652 3,证明该方法保留了霍夫变换较高鲁棒性的同时提高了检测结果的准确性.

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.

聂子博;曹建军;翁年凤;余旭;王孟大

国防科技大学 第六十三研究所 数据工程研究中心,江苏 南京 210007国防科技大学 第六十三研究所 数据工程研究中心,江苏 南京 210007||南京信息工程大学 计算机学院、软件学院、网络空间安全学院,江苏 南京 210044

计算机与自动化

线段检测霍夫变换卷积核异或直线生成布雷森汉姆算法

line segment detectionHough transformconvolution kernelexclusive orline generationBresenham algorithm

《计算机技术与发展》 2024 (005)

30-36 / 7

国防科技大学自主创新科学基金项目(23-ZZCX-KXKY-14)

10.20165/j.cnki.ISSN1673-629X.2024.0037

评论