在基于关节臂的线激光扫描系统中,光条中心的提取精度和所用时间直接影响到整个系统的测量精度和实时响应能力。本文在国内外现有算法基础上整合改进,利用迭代阈值法、改进Sobel算子和光条修补算法完成光条粗提取,取中心点附近10 pixels利用灰度重心法计算光条中心精确位置。实验证明,该算法在350 mm×350 mm测量范围内,系统测量误差优于40μm,一次提取时间28 ms,确保系统35 f/s扫描频率,满足实时在线测量要求。
In the laser scanning system based on Articulated Arm Coordinate Measuring Machine (AACMM), the extraction accuracy of laser stripe center and using time directly affects the measuring accuracy and real-time response capability of the whole system. Integration and improvement over the existing algorithms at home and abroad, an optimal threshold method and improved Sobel operator and light strip repaired algorithm are used to complete the light crude extraction with picking up ten pixels. Experiments show that, in the 350 mm×350 mm measuring range, the measuring error is less 50μm, the extraction time is less 31 ms, and it can meet the requirements of real-time online system.