The invention relates to the technical field of defect detection, and particularly discloses a high-precision defect detection
system based on image difference and threshold
processing, which comprises a registration
image acquisition module, a fixed
mask conversion module, an image difference detection module, a correction difference
graph generation module and a defect set output module, the method comprises the following steps: firstly, completing affine registration by shape features, changing a fixed
mask into a dynamic
mask, and performing edge robustness in the mask to obtain a preprocessed image; local movement difference is carried out on the preprocessed image and the multiple reference images, fusion of a reference domain and a
time domain is carried out to generate a difference response image, and candidate areas are extracted in combination with a dynamic mask; estimating and correcting a
displacement field in the candidate range, synchronously mapping to obtain a correction difference graph and a correction mask graph, and determining a
peripheral rejection area; according to the method,
false alarm and missing detection are effectively reduced, and the method is suitable for online high-precision detection.