激光杂志2024,Vol.45Issue(1) :75-79.DOI:10.14016/j.cnki.jgzz.2024.1.075

基于改进灰度重心法的线结构光中心提取算法

Extraction algorithm of line structured light center based on improved gray gravity method

夏鑫 付生鹏 夏仁波 赵吉宾 侯维广
激光杂志2024,Vol.45Issue(1) :75-79.DOI:10.14016/j.cnki.jgzz.2024.1.075

基于改进灰度重心法的线结构光中心提取算法

Extraction algorithm of line structured light center based on improved gray gravity method

夏鑫 1付生鹏 2夏仁波 2赵吉宾 2侯维广2
扫码查看

作者信息

  • 1. 中国科学院大学,北京 100049;中国科学院沈阳自动化研究所机器人学国家重点实验室,沈阳 110016;中国科学院机器人与智能制造创新研究院,沈阳 110169
  • 2. 中国科学院沈阳自动化研究所机器人学国家重点实验室,沈阳 110016;中国科学院机器人与智能制造创新研究院,沈阳 110169
  • 折叠

摘要

针对传统算法无法准确提取线结构光条中曲率变化较大区域中心线的缺陷,提出了 一种基于改进灰度重心法的线结构光中心线提取算法.基于阈值法提取感兴趣区域和开闭运算滤除图像中的噪声点,获取质量相对较高的待处理图像;利用灰度重心法提取光条中心点,得到初始坐标并设置一个矩形计算区域,根据最小二乘法计算每个初始点的方向向量和法向量;在设定的矩形区域内计算初始点在其法线方向上的偏移量,得到精确的中心点坐标.实验结果表明:提出的算法能在线结构光中心中曲率变化较大区域精确提取中心线,提取精度均值为0.096 pixels,精度比率为44.2%,平均提取速度为0.082 s.

Abstract

Aiming at the defect that the traditional gray gravity method cannot accurately extract the center line of the region with large curvature change in the line structured light strip,an algorithm for extracting the center line of line structured light based on improved gray barycenter method is proposed.The region of interest is extracted based on the threshold method,and the noise points in images are filtered through the open and close operation to obtain the im-age to be processed with relatively high quality.Center points of the light strip through the gray gravity method.And a rectangular calculation area is set up.The direction vector and normal vector of the initial points are extracted accord-ing to the least square method.Finally,the offset of the initial point in the normal direction is recalculated in the rec-tangular area to obtain the exact coordinates of the center point.Experimental results show that the proposed algorithm can accurately extract the center line from the region with large curvature change in the center of line structured light,achieving a mean precision of 0.096 pixels,a mean precision rate of 44.2%,and an average extraction speed of 0.082 seconds.

关键词

线结构光中心线/改进灰度重心法/区域法向量/直线拟合

Key words

centerline of line structured light/improved gray gravity method/region normal vector/linear fitting

引用本文复制引用

基金项目

国家自然科学基金(51805527)

国家自然科学基金(52075532)

国家自然科学基金(91948203)

出版年

2024
激光杂志
重庆市光学机械研究所

激光杂志

CSTPCD北大核心
影响因子:0.74
ISSN:0253-2743
被引量1
参考文献量13
段落导航相关论文