Patent ID: 7406191

Claim:
A method of producing inspection data for inspecting a parts-mounted board by image processing, comprising: reading inspection data corresponding to each part on a board constituting an object of inspection from a parts library produced in advance; setting the inspection data at a mounting position of the part; detecting an image area corresponding to each land on an image picked up from a model of the board constituting the object of inspection; and based on the detection result, automatically correcting the set data for setting an inspection window included in the read inspection data, when the inspection window is displaced with respect to the image area corresponding to each land, so that the inspection window is adapted for inspection of the board; storing, as a correction rule, a relationship between a fillet length for a part and a land size for a part; and changing, based on the correction rule, a fillet length for the part at a slower rate than a land size for the part, when the design rule change occurs, wherein the inspection window is adapted due to a design rule change for one or more of the parts mounted on the board.