The invention discloses an LCD
foreign body defect detection method. The LCD
foreign body defect detection method comprises the following steps of image resizing, namely, image resizing is carried out according to a bilinear interpolation
algorithm,
label detection, namely, the position of a
label is detected and the
label is eliminated to obtain an image OI, (3)image reconstruction, namely, the image OI is reconstructed through a
singular value decomposition method to obtain a reconstructed image CI and the reconstructed image CI is subtracted from the image OI to obtain a difference image DI, (4), point-shaped
foreign body defect detection, namely,
thresholding defect
cutting is conducted on the obtained difference image DI, outline number statistics is carried out through outline detection, total defect area is calculated, and whether point-shaped foreign body defects exist or not is judged, (5) region-shaped foreign body defect detection, namely, the difference image DI is divided into num windows, region foreign body defect detection is conducted on each window, and average gray value and variance statistics of each window is carried out, (6) line-shaped foreign body defect detection, namely,
edge detection is conducted on the difference image DI according to an
edge detection algorithm to judge whether line-shaped foreign body defects exist or not.