abstract |
This invention discloses a method for determining a location of a border in a color image, the image comprising at least two color populations, between a first color region associated with a first one of the two color populations and a second color region associated with a second one of the two color populations, both the first color region and the second color region being comprised in the color image, the method includes identifying an approximate border location between the first color region and the second color region, determining a plurality of candidate border locations between the first color region and the second color region, each of the plurality of candidate border locations being determined by applying a corresponding border location method chosen from among a plurality of border location methods, choosing one method from among the plurality of border location methods as a preferred method, and determining a location of a border between the first color region and the second color region by designating one of the plurality of candidate border locations associated with the preferred method as the border. An automated optical inspection device suitable for inspection of patterned articles is also disclosed. |