Article Details

Title · Authors · Abstract · Keywords · DOI · References

Sub-pixel Extraction Method for Light Stripe Center on Metal Surface Based on K-means Clustering

JIN Zhenzhong

(School of Mechanical Engineering, Nanjing Institute of Technology, Nanjing 211167, China)

Section:Computer Technology · Vol. 2025, Issue 5 · Pages:115-118,124 · 2096-4706(2025)05-0115-05 · CLC number:TP391 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.05.021

Abstract

Line structured light vision sensing is widely used in the field of weld detection and tracking. To address the problem of reflective interference on the metal surface during weld detection, a sub-pixel extraction method for the light stripe center based on K-means clustering is proposed. Firstly, median filtering is applied to process the collected structured light stripe images to remove high-frequency noise. Then, the K-means clustering algorithm is used to separate the light stripe from the background, avoiding the interference of background diffuse light spots. The opening operation is performed on the light stripe images after clustering segmentation to smooth the edges of the light stripe and remove the burrs. Finally, the adaptive two-dimensional gray-scale center of gravity method is used to extract the sub-pixel center of the light stripe. The standard deviation of the linear distance between the extracted centerline and the line fitted by the least squares method for the set of center points is 0.157 0 pixels, and the program running time is 0.251 8 s.

Keywords

line structured light; center extraction; image clustering segmentation; gray-scale center of gravity method

References

  1. [1] Zhao Bohua, Wang Boxiong, Zhang Jin, etc Method for extracting the center of light strips on rough metal surfaces [J]. Optical Precision Engineering, 2011, 19 (9): 2138-2145
  2. [2] Zhao Jun, Zhao Ji, Zhang Lei Image Processing and Feature Extraction Methods for Weld Seam Structural Light [J]. Journal of Xi'an Jiaotong University, 2013, 47 (1): 114-119
  3. [3] Chu Huihui Research on Visual based Weld Quality Inspection Technology [D]. Harbin: Harbin Engineering University, 2017
  4. [4] STEGER C. An Unbiased Detector of Curvilinear Structures [J].IEEE Transactions on Pattern Analysis and Machine Intelligence,1998,20(2):113-125.
  5. [5] Li Yuehua, Liu Peng, Zhou Jingbo, etc Structural Light Strip Center Extraction Based on BP Neural Network [J]. Acta Optica Sinica, 2019, 39 (12): 186-194
  6. [6] Zhou Yuan, Meng Xiangqun, Jiang Dengbiao, etc Method for extracting the center of structured light fringes under complex interference conditions [J]. China Laser, 2020, 47 (12): 172-180
  7. [7] AVIDAN S,SHAMIR A. Seam Carving for Content-Aware Image Resizing [C]//SIGGRAPH07: Special Interest Group on Computer Graphics and Interactive Techniques Conference.2007:10-es.
  8. [8] Xiong Houwang, Chen Jianzheng Structural Light Center Extraction Algorithm Combining Gaussian Filter and Skeleton [J]. Mechanical Manufacturing and Automation, 2022, 51 (4): 65-68+106
  9. [9] NAYAR S K,IKEUCHI K,KANADE T. Determining Shape and Reflectance of Lambertian, Specular, and Hybrid Surfaces Using Extended Sources [C]//International Workshop on Industrial Applications of Machine Intelligence and Vision.Tokyo:IEEE,1989:169-175.
  10. [10] Zhuchun Province Research on Key Technologies for Road Crack Detection Based on Structured Light [D]. Nanjing: Nanjing University of Aeronautics and Astronautics, 2017
  11. [11] Zhu Yong, Jiang Qiang, Guo Naiju Research on structured light centerline extraction method based on K-means clustering [J]. Journal of Shenyang University of Technology, 2023, 42 (5): 40-46

About the authors

Jin Zhenzhong (1998-), male, Han ethnicity, from Hefei, Anhui Province, is currently pursuing a master's degree in machine vision.