Based on the characteristics of the image a dedicated system is designed for the precision analysis, using the boundary-tracking detect the line, and then strikes the center of parts according to the intersection of three straight line. 本文根据图像的特征设计出了一专用系统进行精度分析,用边界跟踪法检测直线,然后根据三直线的交点求取零件的中心。
First, according to the image histogram characteristics prominence stripes are cut, laser stripes are obtained. Second, several methods of laser stripe center extraction is designed, by comparing and analysis, gray weighted centroid algorithm and curve fitting method are fitting for extraction strip center. 根据图像直方图特性分割突起条纹,得到激光条纹光带,并且设计了几种提取激光条纹中心的方法,通过对比分析,灰度重心法和曲线拟合法适合条纹中心的提取。