The invention belongs to the technical field of
visual inspection, and particularly relates to a weld joint quality
inspection method and
system. The method comprises the following steps: acquiring an original
welding seam image, generating a feature map by combining gradient information and Laplacian information, and determining an active region after alternating sequence filtering; in the activation area, an oval solving window is arranged along the center line of the weld joint, the main axis direction is determined by the tangential direction of the center point, the proportion of the
short axis to the
long axis is adjusted according to local gradient features, complex
wavelet transformation is carried out on pixels in each window, phases and module values are extracted, phase discontinuous points serve as feature points, and a three-dimensional
point cloud is constructed; and a density clustering
algorithm is adopted to analyze the
point cloud,
distance measurement comprehensive spatial distance and
wavelet module value weighting are carried out, if a cluster with the point number exceeding a threshold exists in a clustering result, it is judged that the corresponding
welding seam area is a defect area, and the clustering density threshold is determined according to the
point cloud global density. According to the invention, high-sensitivity, high-reliability and low-misjudgment-rate
welding seam defect accurate detection is realized.