基于防松线分割的螺栓松动全角度检测方法

Full-angle bolt loosening detection method based on anti-loosening lines segmentation

  • 摘要: 针对现有无法基于防松线分割进行螺栓松动全角度检测的问题,文章开发了一种基于颜色分割和方向矢量运算的方法。首先,利用一种基于Lab和RGB颜色空间转换下的a分量非线性拉伸和R分量最优阈值分割方法分割防松线图像;其次,利用开运算对图像进行形态学操作;再次,通过一种角度递进最小包围方法确定防松线连通域面积最小外接矩形并确定其方向矢量;然后,基于四象限反正切函数和一定调整求解螺栓松动的全角度;最后,设计实验方案验证文中算法的可行性和精度。实验结果表明,检测算法能够实现螺栓0~360°的松动角度检测,且最大相对误差为1.43%,其精度可以满足工程实践需要,具有良好的应用前景。

     

    Abstract: In response to the existing challenge of full-angle bolt loosening detection based on anti-loosening lines segmentation, a method based on color segmentation and directional vector operations is developed. Firstly, the anti-loosening line image is segmented using a method based on the nonlinear stretching of the 'a' component under Lab and RGB color space conversion, and the optimal threshold segmentation of the 'R' component. Secondly, morphological operations are performed on the image using an opening operation. Thirdly, the direction vector of the minimum external rectangle of the anti-loosening line connected domain is determined through an angle-progressive minimum enclosing method. Then, the full-angle of bolt loosening is solved based on the four-quadrant inverse tangent function and certain adjustments. Finally, an experimental scheme is designed to verify the feasibility and accuracy of the algorithm proposed in this paper. Experimental results show that the detection algorithm can realize 0 to 360 degree bolt loosening angle detection, with a maximum relative error of 1.43%. The accuracy of the method is satisfactory for engineering practice, demonstrating promising application prospects.

     

/

返回文章
返回