Patent ID: 8743210

Claim:
A blemish detecting system, comprising: an image capturing module comprising an image sensor configured for capturing an image, the image having a plurality of pixels; a brightness calculating module configured for calculating the brightness values of the pixels; a blemish detection module configured for assigning a serial number to each of the pixels according to the locations of the pixels, scanning the pixels according to a first sequence, marking the pixel of which the brightness value is less than a predetermined brightness value as a blemish, only scanning the pixels adjacent to the blemish according to a second sequence, marking a particular pixel which is adjacent to the blemish and the brightness value of which is less than the predetermined brightness value as a new blemish, and then making a recursion to determine whether pixels adjacent to the new blemish are blemishes; a storage module configured for storing the serial numbers of the scanned pixels, wherein if the serial numbers of the pixels are stored in the storage module, the blemish detection module does not scan the scanned pixels for a second time; and a processor, wherein the brightness calculating module and the blemish detection module are computerized instructions and executed by the processor.