The invention discloses a high-reflective surface defect detection method based on
structured light and phase deflection, which belongs to the technical field of
visual inspection, and comprises the following steps: generating a multi-frequency
sinusoidal grating pattern by using a
structured light module, and projecting the multi-frequency
sinusoidal grating pattern to the surface of a detected object; multi-frequency phase shift coding is introduced, an
absolute phase is calculated through a
pilot frequency unwrapping method, a
depth map obtained by the
structured light is calculated, and a structured light
point cloud is reconstructed; a unit normal vector is calculated, a Poisson reconstruction model is adopted to obtain a
depth map obtained by phase deflection, and deflection
point cloud is obtained; the structured light
point cloud data and the deflection point
cloud data are registered through an iterative
nearest point algorithm and then fused to form a fused
depth map; and determining a defect area by adopting the maximum principal curvature and the minimum principal curvature combined
mask. By means of the mode, the limitation of a traditional three-dimensional measurement means in high-reflection and complex-curvature surface defect recognition is solved, and submicron-level three-dimensional deformation detection precision is achieved.