现代信息科技2025,Vol.9Issue(5):115-118,124,5.DOI:10.19850/j.cnki.2096-4706.2025.05.021
基于K均值聚类的金属表面光条中心亚像素提取方法
Sub-pixel Extraction Method for Light Stripe Center on Metal Surface Based on K-means Clustering
金振中1
作者信息
- 1. 南京工程学院 机械工程学院,江苏 南京 211167
- 折叠
摘要
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.关键词
线结构光/中心提取/图像聚类分割/灰度重心法Key words
line structured light/center extraction/image clustering segmentation/gray-scale center of gravity method分类
信息技术与安全科学引用本文复制引用
金振中..基于K均值聚类的金属表面光条中心亚像素提取方法[J].现代信息科技,2025,9(5):115-118,124,5.