摘要 |
An image inspecting device is provided with an inspection area setting means which takes an image of a sample to be inspected, and uses the resulting sample image to set in advance the inspection area to be used in the inspection process. The inspection area setting means seeks the optimal solution for the inspection area by evaluating both the pixel separation of the colors or brightness between the inside and outside of the inspection area and the edge overlap between the contours and edges of the inspection area based on color or brightness information from each pixel in the sample image and edge information included in the sample image. Also, the inspection area setting means adjusts the weighting when evaluating the pixel separation and edge overlap using balance parameters inputted by the user. |