Structured light has been widely applied to 3D shape measurement with the capabilities of rapidness, high-accuracy, and noncontact. Because of uneven illumination and noise, it is difficult to distinguish the light stripes and background of the image, which reduces the measurement accuracy. In this paper, an adaptive Canny edge detection method with two phases is proposed for structured light stripes. Firstly, the idea of dynamic granularity is introduced and the dynamic granularity matrix space is established, in which image segmentation problems are described as the transformations and jumping of image at different granularity layers. The hierarchical structure and optimal granularity layer of image are obtained as the basis of adaptive edge detection. Secondly, a quantum-inspired group leader hybrid algorithm is adopted to calculate the optimal threshold from the optimal granularity layer, which is taken as the adaptive threshold for Canny operator. Finally, experimental tests and comparisons have been conducted to verify the effectiveness of the adaptive method proposed. The experiments show that the proposed method achieves high segmentation accuracy, improves the segmentation efficiency, and has strong robustness to noise.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.