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.
|Number of pages||6|
|Publication status||Published - 31 Oct 2022|
|Event||17th CIRP Conference on Computer Aided Tolerancing - Arts et Métiers, Metz, France|
Duration: 15 Jun 2022 → 17 Jun 2022
Conference number: 17