摘要 |
<p>For each teaching image, a plurality of patterns of color pickup regions each include a first region (73) for picking up a color of a first part and a second region (74) for picking up a color of a second part are set, a color of each pixel in the first region (73) and a color of each pixel in the second region (74) are mapped as a target point and an exclusion point, respectively to a color space for each of the patterns of the color pickup regions, a degree in separation between a target point distribution and an exclusion point distribution in the color space is calculated for each of the patterns of the color pickup regions, a pattern of a color pickup region having a maximum degree in separation is selected, a color range which divides the color space and has the largest difference between the number of target points and the number of exclusion points in the selected pattern therein is found, and the found color range is set as a color condition used for a board inspecting process.</p> |