| CPC H01L 22/12 (2013.01) [G01N 21/9501 (2013.01); G06T 7/0004 (2013.01); G06T 7/001 (2013.01); G06T 7/10 (2017.01); G06T 7/90 (2017.01); H01L 21/30625 (2013.01); G06T 2207/10024 (2013.01); G06T 2207/20072 (2013.01); G06T 2207/30148 (2013.01)] | 18 Claims |

|
1. A non-transitory computer readable medium comprising a computer program to classify a film non-uniformity on a substrate, the computer program including instructions to cause one or more computers to:
obtain a color image of a substrate, the color image comprising a plurality of color channels;
determine an intensity histogram for each channel of the plurality of channels of the color image;
select an intensity of a peak in each respective histogram;
set a standard color for the color image of the substrate as a tuple having values corresponding to the intensities of the peaks;
for each respective pixel along a path in the color image, determine a difference vector between a color of the respective pixel and the standard color to generate a sequence of difference vectors;
classify the pixels along the path as normal or abnormal based on the sequence of difference vectors by comparing a multiplicity of the difference vectors in the sequence to a threshold; and
sort the pixels into one or more regions in response to the pixels being identified as normal or abnormal.
|