The invention provides a method and a device for detecting a pipeline
welding seam image, relates to the technical field of
image processing, and can improve the accuracy of pipeline
welding seam detection. The method comprises the following steps: acquiring an initial pipeline
welding seam image;
gaussian blur
processing is carried out on the basis of the initial pipeline welding seam image, a first
Gaussian image is obtained, the first
Gaussian image comprises low-frequency region information, and the low-frequency region information is information with the change amplitude, changed along with the spatial position, in the initial pipeline welding seam image smaller than a preset amplitude threshold value. And performing logarithmic transformation based on the first
Gaussian image to obtain a first logarithmic image, and performing logarithmic transformation on the initial pipeline welding seam image to obtain a second logarithmic image.
Signal separation is conducted on the basis of the first logarithmic image and the second logarithmic image, a target image is obtained, the pipeline welding seam is detected on the basis of the target image, the target image comprises high-frequency area information, and the high-frequency area information is image information of the pipeline welding seam in the initial pipeline welding seam image.