欢迎访问《兵工学报》官方网站,今天是

兵工学报 ›› 2025, Vol. 46 ›› Issue (3): 240185-.doi: 10.12382/bgxb.2024.0185

• • 上一篇    下一篇

基于栅格填充的激光清洗轮廓规则化方法

刘伟军1,2, 李强1,2,*(), 刘帅1,2, 张凯1,2, 邢飞1,2   

  1. 1 沈阳工业大学 机械工程学院, 辽宁 沈阳 110870
    2 辽宁省激光表面工程技术重点实验室, 辽宁 沈阳 110870
  • 收稿日期:2024-03-14 上线日期:2025-03-26
  • 通讯作者:
  • 基金资助:
    国家自然科学基金项目(52375456)

Outlines Regularization Method for Laser Cleaning Based on Grid Filling

LIU Weijun1,2, LI Qiang1,2,*(), LIU Shuai1,2, ZHANG Kai1,2, XING Fei1,2   

  1. 1 School of Mechanical Engineering, Shenyang University of Technology, Shenyang 110870, Liaoning, China
    2 Liaoning Key Laboratory of Laser Surface Engineering Technology, Shenyang 110870, Liaoning, China
  • Received:2024-03-14 Online:2025-03-26

摘要:

清洗区域的准确定位是减少清洗面积、提高清洗效率的关键因素之一。为解决激光清洗应用中不规则漆层区域定位的问题,提出一种基于栅格填充的轮廓规则化方法。通过基于L×a×b×(L×分量表示亮度,a×分量表示绿色~红色,b×分量表示蓝色~黄色)色彩空间的K-means图像分割方法,得到漆层区域图像;将漆层区域图像栅格化,确定漆层区域外部栅格顶点,并使用4邻域边界跟踪算法按照一定的判断准则搜寻漆层区域外部栅格顶点;将搜寻到的栅格顶点依次连接作为规则化形状,删除规则化形状的多余点和自相交部分,并以交并比(Intersection Over Union,IOU)为指标评价不同栅格宽度下的规则化形状,选取单个栅格面积与漆层区域面积比值范围在0.025~0.040内最大IOU所对应的栅格宽度,将此栅格宽度生成的直角多边形作为最优规则化形状。多种轮廓进行规则化对比分析结果表明,基于栅格填充的轮廓规则化方法得到的直角多边形相较于最小外接矩形,能更准确地表达漆层轮廓形状,减少清洗面积。

关键词: 激光清洗, 轮廓规则化, 图像分割, 边界跟踪, 机器视觉

Abstract:

The accurate positioning of cleaning area is one of the key factors to reduce the cleaning area and improve the cleaning efficiency.In order to solve the problem of positioning an irregular paint layer area in laser cleaning applications,a outlines regularization method based on grid filling is proposed.The paint layer region image is obtained by the K-means image segmentation method based on L×a×b× color space.The paint layer region image is rasterized to determine the external raster vertices of the paint layer region,and the 4-neighborhood boundary tracking algorithm is used to search for the external raster vertices of the paint layer region in accordance with certain judgment criteria.The searched raster vertices are sequentially connected as regularized shapes,the redundant points and self-intersecting parts of the regularized shapes are deleted,and the regularized shapes with different raster widths are evaluated by using the intersection over union (IOU) as an index,and the raster width corresponding to the largest IOU at the ratio of the area of a single raster to the area of lacquer layer region ranging from 0.025 to 0.04 is selected,and the right-angled polygons generated by this raster width are considered to be the optimal regularized shapes.The regularizations of various contours are compared and analyzed.The results show that the right-angled polygon obtained by the contour regularization method based on raster filling can more accurately express the contour shape of the paint layer and reduce the cleaning area compared with the minimum outer rectangle.

Key words: laser cleaning, outlines regularization, image segmentation, boundary tracking, machine vision

中图分类号: