The present invention relates to capturing an image and pertains particularly to using a separate color sensor for white balance calculation.
An important step in processing digital images captured by a digital camera is the estimation of the White Point. The White Point is the illumination that occurs at the brightest part of the image and is represented as white in the final image. The White Point is determined after an image has been captured and is applied to algorithms so that white balance can be performed. White balancing is part of a scheme of corrections and improvements for image enhancement so that the final image is closer to what the eye sees.
White balancing is a correction used to adjust for illuminant so that white background will look white or close to white in the image. White balance is performed automatically by the human eye. In digital cameras, white balance can be attained by adjusting the gain of the red, green and blue (RGB) channels.
There are many ways cameras use to calculate white balance. Typically white balance is performed using information extracted from within the captured image. Alternatively, one or more grayscale optical sensors can be used to provide additional information for the white balance calculation. See, for example U.S. Pat. No. 6,215,962 and U.S. Pat. No. 6,441,903. However, all existing methods require significant processing time, which can slow the operation of a camera.
In accordance with an embodiment of the present invention, an image is captured using a color filter array. A plurality of color components of light incident upon a color sensor is detected. An average intensity value for each of the plurality of color components is generated. The average intensity values for the plurality of color components are used to calculate a white balance for the image captured by the color filter array.
In response to incident light 23, color sensor 13 generates three separate output voltages (Vout): a Vout (R) signal 24, a Vout (G) signal 25 and a Vout (B) signal 26. Vout (R) signal 24 is an analog signal that indicates the proportional red component of incident light 23 upon color sensor 13. For example, Vout (R) signal 24 is a DC voltage between 0 and 3 volts. Vout (G) signal 25 is an analog signal that indicates the proportional green component of incident light 23 upon color sensor 13. For example, Vout (G) signal 25 is a DC voltage between 0 and 3 volts. Vout (B) signal 26 is an analog signal that indicates the proportional blue component of incident light 23 upon color sensor 13. For example, Vout (B) signal 26 is a DC voltage between 0 and 3 volts.
Vout (R) signal 24 is generated by a photo sensor 27, an amplifier 29 and a feedback resistor 28, which are all located within color sensor 13. Photo sensor 27 includes an integrated color filter in red. Photo sensor 27 is connected to power input signal 21.
Vout (G) signal 25 is generated by a photo sensor 30, an amplifier 32 and a feedback resistor 31, which are all located within color sensor 13. Photo sensor 30 includes an integrated color filter in green. Photo sensor 30 is connected to power input signal 21.
Vout (B) signal 26 is generated by a photo sensor 33, an amplifier 35 and a feedback resistor 34, which are all located within color sensor 13. Photo sensor 33 includes an integrated color filter in blue. Photo sensor 33 is connected to power input signal 21.
Color filter array 11, analog processing A-D conversion block 41, white balance block 43 and image balance block 44 are conventional processing blocks within conventional digital cameras. Color interpretation block 42 could be implemented to process the captured digital image to generate an average red intensity (Ravg), an average green intensity (Gavg) and an average blue intensity (Bavg) for the captured image, used in the calculation of White Balance. The present invention obviates the necessity of generating Ravg, Gavg and Bavg by color interpretation block 42. Instead, Ravg, Gavg and Bavg are generated in a parallel path based on information captured by color sensor 13.
Color sensor 13 generates Vout (R) signal 24, Vout (G) signal 25 and Vout (B) signal 26. Analog processing A-D conversion block 45 receives Vout (R) signal 24, Vout (G) signal 25 and Vout (B) signal 26 and produces an Ravg signal 54, a Gavg signal 55 and a Bavg signal 56. For example, Ravg signal 54, Gavg signal 55 and Bavg signal 56, are each eight bit digital signals transmitted serially to color interpolation block 42. The eight bits of Ravg signal 54 are an Ravg value that is a digital representation of the analog value of Vout (R) signal 24. The eight bits of Gavg signal 55 are a Gavg value that is a digital representation of the analog value of Vout (G) signal 25. The eight bits of Bavg signal 56 are a Bavg value that is a digital representation of the analog value of Vout (B) signal 26.
Color interpolation block 42 forwards the Ravg, Gavg and Bavg values from analog processing A-D conversion block 45 on to white balance block 43. This saves color interpolation block 42 the processing time required to generate Ravg, Gavg and Bavg values from the image captured by color filter array 11.
The foregoing discussion discloses and describes merely exemplary methods and embodiments of the present invention. As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.