It is common to find severe perspective distortion in a pipeline’s image in medium-diameter pipeline defect detection by the panoramic image unwrapping method, resulting in low-quality image unwrapping and stitching, which is caused by the camera’s optical axis being completely deviated from the pipeline’s center. To solve this problem, a novel correction method for reducing perspective distortion in pipeline images was proposed for pipeline defect detection. Firstly, the method enhances the edges of unevenly illuminated regions within a pipeline to facilitate image segmentation and identify key points necessary for correcting perspective distortion. Then, a six-feature-point extraction method was proposed for a circle target to establish the projection relationship between the extracted feature and mapped points on the reference circle. Finally, a perspective matrix was constructed to complete the perspective transformation correction of the distorted images. The results show that the average correction rate and the average relative error of the proposed correction method can reach 90.85% and 1.31%, respectively. The study innovatively used the enhancement of uneven illumination to find distorted edge information. It proposed an extraction method using a reference circle and six key feature points to build a mapping model. It can provide a novel method which can be used to obtain a superior image for pipeline detection and lay a solid foundation for subsequent high-quality pipeline image stitching.
Read full abstract