DOI: 10.3390/app13179831 ISSN:

A Method for Extracting a Laser Center Line Based on an Improved Grayscale Center of Gravity Method: Application on the 3D Reconstruction of Battery Film Defects

Rongbin Yao, Baiyi Wang, Mengya Hu, Dezheng Hua, Lequn Wu, He Lu, Xinhua Liu
  • Fluid Flow and Transfer Processes
  • Computer Science Applications
  • Process Chemistry and Technology
  • General Engineering
  • Instrumentation
  • General Materials Science

Extraction of the laser fringe center line is a key step in the 3D reconstruction of linear structured light, the accuracy of which is directly related to the quality of the 3D model. A laser center line extraction method based on an improved gray center of gravity method is proposed to solve the problem of low extraction accuracy. Firstly, a smoothing method is used to eliminate the flat top of the laser line, and the Gaussian curve is adopted to fit the peak position of the curve. Then, the gray threshold is set to automatically extract the laser linewidth, and based on the window opening, the grayscale center of gravity method is improved to extract the coordinates of the center pixel for the second time. Finally, experiments show that the average absolute error of the improved laser line extraction method is 0.026 pixels, which is 2.3 times lower than the gray center of gravity method, 1.9 times lower than the curve fitting method, and the standard error can reach 0.005 pixels. Compared with the gray center of gravity method and the curve fitting method, the influence of gray value change on the center line extraction is more fully considered, and the center of the light strip can be extracted more accurately, achieving sub-pixel accuracy.

More from our Archive