摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method and an apparatus for detecting stain defects which can accurately detect stain defects; without misdetecting. <P>SOLUTION: In the method, a stain defect enhancing filter enhances the stain defects, surrounded by luminance comparison pixels S1-S32, based on the average of luminance differences between an object pixel O and two luminance comparison pixels which are set on point-symmetry positions. Here that the filter straddles to the interior and exterior portions of a panel image area Rp, is decided by using a second condition and a third condition. In such a case, the luminance difference between the object pixel O and one of the set of luminance comparison pixels, existing in the same area as the object pixel O, is used as an enhanced calculation value for enhancing the stain defects, thereby preventing misdetections from being conducted with misdetecting the presence of stain defects, which is caused by the luminance difference between the interior and the exterior portions of the panel image area Rp. Since processing and the like for extracting only the panel image area Rp from a photographed image can be dispensed with, by applying two or more conditions such as these, the processing is simplified and its inspection time is shortened. <P>COPYRIGHT: (C)2008,JPO&INPIT |