Patent ID: 8804003

Claim:
A method of detecting flicker with an electronic imaging device, wherein the electronic imaging device comprises an image pixel array, first and second image data buffers, and a processor, the method comprising: capturing first, second and third images with the image pixel array; storing the first image in the first image buffer; storing the second image in the second image buffer; with the processor, obtaining a first energy difference value from the first and second images; storing the third image in the second image buffer by overwriting the second image in the second image buffer with the third image; and with the processor, obtaining a second energy difference value from the first and third images, wherein obtaining the first energy difference value from the first and second images comprises: with the processor, obtaining a set of reference row-average values based on the first image; with the processor, obtaining a first set of additional row-average values based on the second image; and with the processor, obtaining the first energy difference value based on the first set of reference row-average values and the first set of additional row-average values.