Patent ID: 7277127

Claim:
A method of capturing an image of a scene, the method comprising: providing an imaging device having an array of pixels, wherein each pixel is configured to provide a pixel output; determining a frequency of light produced by a light source illuminating the scene; capturing an image of the scene using the pixel array, wherein a first capture time for one or more pixels in the array is different from a second capture time of one or more other pixels in the array; and for each pixel in the array: determining a relative phase of the light with respect to the capture time of the pixel; determining a compensating gain based on the relative phase of the light and the frequency of the light; and adjusting the pixel output of the pixel in relation to the compensating gain; wherein determining a frequency of light produced by a light source illuminating the scene comprises: capturing an image of a generally uniform scene; and comparing pixel outputs relating to the captured image to determine a variation between pixel outputs for one or more pixels in the array of pixels.