CPC G06T 7/0002 (2013.01) [G06T 3/40 (2013.01); G06T 2207/20216 (2013.01); G06T 2207/20224 (2013.01)] | 5 Claims |
1. A method of detecting a blemish in a digital camera, the method comprising:
Capturing a digital image of a white area by the digital camera;
Reducing resolution of the digital image by grouping pixels of the digital data into a matrix of a plurality of data block; and
Comparing a luminance value of each of the plurality of data blocks to an average luminance value of other data blocks of the plurality of data blocks within a predetermined region to determine if each of the plurality of data blocks is a potentially bad data block;
Wherein the luminance value of each of the plurality of data blocks equals (0.2126*R)+(0.7152*G)+(0.0772*B), where R, G, and B are the average red, green, and blue color values for digital image pixels within the data block.
|