Shandong Science ›› 2024, Vol. 37 ›› Issue (2): 65-73.doi: 10.3976/j.issn.1002-4026.20230133

• Optical Fiber and Photonic Sensing Technology • Previous Articles     Next Articles

Centerline extraction algorithm of structured light streak in a complex background

GAO Qiuling1(), CHENG Wei1, LI Wenlong1, GE Hailong1, HOU Xingqiang1, SONG Ruhui1, WEI Jiajie1, JIA Tianshuo1, CAI Xinyan2,*()   

  1. 1. Laser Institute,Qilu University of Technology (Shandong Academy of Sciences), Jinan 250104, China
    2. Shandong Institute of Scientific and Technical Information, Jinan 250101, China
  • Received:2023-09-08 Online:2024-04-20 Published:2024-04-09

Abstract:

The most critical step in a line-structured light three-dimensional scan modeling system is to extract the centerline of the light stripe, but the interference of various environmental factors makes this extraction difficult. Several problems exists in a line-structured light streak image issues such as light spot interference, uneven distribution of light intensity, large differences in the width of the light bars, and complex background. This paper proposed a solution to overcome these problems. First, the structured light image is binarized using the Otsu method. Then, the improved density-based spatial clustering of applications with nose (DBSCAN) algorithm is used to retain the core points and remove the boundary and noise points. Finally, the core points are used as inputs to construct the graph data structure, and the shortest path search algorithm that fits the line-structured light streak image is used to obtain the center-line of the light streak. The experimental results show that the algorithm of this paper runs within 150 ms and the error is within 0.2 pixels. Moreover, this algorithm is applicable to various complex environments, meeting the requirements of real-time calculations, accuracy, and stability.

Key words: complex background, line-structured light, centerline extraction, DBSCAN algorithm, shortest path

CLC Number: 

  • TN249