主权项 |
1. A flicker detecting method for an image capturing device, the flicker detecting method comprising:
acquiring, by a processing module of the image capturing device, a first image, wherein pixel values of each row in the first image are acquired during a first period; acquiring, by the processing module of the image capturing device, a second image, wherein pixel values of each row in the second image are acquired during a second period; acquiring, by the processing module of the image capturing device, a fourth image after sequentially acquiring the first image and the second image, wherein pixel values of each row in the fourth image is acquired during the first period; generating, by the processing module of the image capturing device, a third image according to the first image, the second image and the fourth image; detecting, by the processing module of the image capturing device, flickers according to the third image; and compensating, by the processing module of the image capturing device, flickers in a fifth image when capturing the fifth image if the flickers of the third image is detected; wherein the first period is different from the second period; wherein the step of generating the third image according to the first image, the second image and the fourth image comprises:
calculating sums of each pixel value in the first image and pixel value at the corresponded position in the fourth image; anddividing each pixel value in the second image by the corresponded sum, to generate the third image. |