This application discloses a method and
system for detecting
coating defects on PVC flooring surfaces, relating to the field of
coating defect detection. First, the original image containing strong
specular reflection and low
signal-to-
noise ratio scratches is transformed to the
frequency domain. Utilizing the principle that scratches, as linear structures, exhibit directional characteristics in the
frequency spectrum, they are separated from large-area low-frequency
background noise and glare signals, accurately identifying scratches of arbitrary direction in the current image and extracting their
principal direction angle. Subsequently, based on this real-time detected directional information, an adaptive anisotropic filter that perfectly matches it is dynamically constructed. Finally, after filtering and inverse transformation, the characteristic
signal of the scratches is significantly amplified, and the contrast is greatly improved, thereby achieving
accurate segmentation and detection of weak, randomly oriented scratches under strong interference backgrounds, effectively overcoming the problems of missed detection and computational redundancy in traditional methods.