CPC G06T 7/0006 (2013.01) [B24B 37/013 (2013.01); G06F 3/0486 (2013.01); G06F 3/04842 (2013.01); G06F 3/04847 (2013.01); G06T 5/002 (2013.01); G06T 5/50 (2013.01); G06T 7/0004 (2013.01); H04N 23/10 (2023.01); G06T 2207/10024 (2013.01); G06T 2207/20024 (2013.01); G06T 2207/20216 (2013.01); G06T 2207/30148 (2013.01)] | 17 Claims |
1. A computer program product, comprising a non-transitory computer readable medium encoded with instructions to cause one or more processors to:
store data indicating a boundary of an area in a 2-dimensional color space, the 2-dimensional color space having a pair of color channels including a first color channel and a second color channel as axes of the color space;
store an image mask identifying one or more regions on a substrate;
receive color data of a substrate from a camera;
generate a color image of the substrate from the color data;
for each pixel of a plurality of pixels within the regions identified by the image mask of the color image, perform a comparison of a pair of color values for the pair of color channels for the pixel to the boundary of the area in the 2-dimensional color space to determine whether the pair of color values meet thresholds provided by the boundary;
count a number of pixels in the color image that fail to meet the thresholds and to compare the number of pixels to a second threshold;
generate a signal to an operator based on results of the comparison for the plurality of pixels.
|