A color image of a circuit board is divided into respective color regions. Plural representative colors are set, and angle indices and distance indices are calculated for each pixel color in the color image in a predetermined color space. The angle indices for a particular pixel color represent angles...http://www.google.co.uk/patents/US7031510?utm_source=gb-gplus-sharePatent US7031510 - Region segmentation of color image