A Hybrid Algorithm for the Laser Stripe Centreline Extraction

Zirui Mao,Yuanping Xu,Benjun Guo,Tukun Li,Xiangqian Jiang,Yajing Shi,Yanlong Cao,Zhijie Xu,Chaolong Zhang,Jian Huang
DOI: https://doi.org/10.1016/j.procir.2022.10.033
2022-01-01
Procedia CIRP
Abstract:Centreline extraction is one of the critical processes of structured light systems that play an increasingly important role in industry 4.0. This paper proposes a novel algorithm to extract the centreline by combining an improved skeleton thinning algorithm to extract the initial centreline and an improved grey centroid algorithm to establish the final centreline. It consists of several steps: Firstly, an image difference operation and a thresholding operation are undertaken, and the Canny edge detection algorithm is applied to locate the approximate position of the laser stripe to reduce the image matrix calculation cost; Secondly, an initial centreline is extracted via the use of an image morphology operation and a skeleton thinning algorithm; Finally, a high-power grey centroid method is employed to acquire the centreline at the sub-pixel level. Experiments together with a comparison with other mainstream methods is conducted to test the validity and practicability of the proposed hybrid algorithm. The experimental results show that the speed of the proposed algorithm is 50% faster than the Steger algorithm, and the root-mean-square error is 40% lower than the grey centroid method.
What problem does this paper attempt to address?