摘要 |
A method of detecting defects in a workpiece having a surface with directional surface texture, comprises taking a gray scale photo image of the surface and assigning a brightness value to the pixels of the image. The brightness values of neighboring groups of the pixels are compared to develop brightness slope values of the neighboring groups. The image is then transformed so that the individual brightness values of the pixels are replaced with the associated brightness slope values representing the rotational direction of the brightness slope in degrees. Missing gradient information and/or changes in gradient direction are detected as flaws in the surface.
|