IP Library Granted Patent US 8,624,996
Granted Patent B2
US 8,624,996 · App. 13/726,527 · Granted Jan 7, 2014

Auto white balance algorithm using RGB product measure

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,624,996
App. No.
13/726,527
Granted
Jan 7, 2014
Kind
B2
Abstract

A method and device is provided for adjusting the white balance of a digital image by adjusting the values assigned to the red, green, and blue subpixels of a pixel in the image. The adjustment to the subpixels is determined by identifying pixels in the image that have an RGB product greater than a threshold value, wherein the threshold value is based at least in part on an average of the RGB products of each pixel in the image and a variance between the RGB products of the pixels and the average of the RGB products.

Claims (47)

1. A mobile digital device, comprising:

a camera assembly and graphics interface;

a communication circuit;

a processor; and

a memory having code embedded therein for programming the processor to:

for a pixel in a digital image, calculate a product of a red component value of the pixel, a green component value of the pixel, and a blue component value of the pixel;

in response to the product being greater than a threshold value, determine that the pixel belongs to a set of near-white pixels;

determine a gain factor based on red component values of the set, green component values of the set, and blue component values of the set; and

based at least in part on the gain factor, adjust at least one of the red component value of the pixel, the green component value of the pixel, and the blue component value of the pixel, and

wherein the threshold value is based at least in part on an average RGB product for a plurality of pixels, each pixel in the plurality having an RGB product.

2. The mobile digital device of claim 1 , wherein the gain factor is determined based at least in part on normalizing an average red component value for the set of near-white pixels, an average green component value for the set of near-white pixels, and an average blue component value for the set of near-white pixels.

3. The mobile digital device of claim 1 , wherein the threshold value is based at least in part on a variance value, the variance value determined based at least in part on the average RGB product.

4. The mobile digital device of claim 1 , wherein the digital image is a third frame.

5. The mobile digital device of claim 1 , wherein the memory further comprises code embedded therein for programming the processor to normalize an average red component value for the particular set of pixels, an average green component value for the particular set of pixels, and an average blue component value for the particular set of pixels.

6. The mobile digital device of claim 1 , wherein the threshold value is based at least in part on an average RGB product for a plurality of pixels, each pixel in the plurality having an RGB product.

7. The mobile digital device of claim 1 , wherein the average RGB product is determined based on pixel values in a first frame, and the variance is based on pixel values in a second frame that is different than the first frame.

8. The mobile device of claim 1 , wherein the memory further comprises code embedded therein for programming the processor to exclude from the set one or more pixels that have a red component value, green component value, or blue component value greater than a second threshold value.

9. A mobile digital device, comprising:

a camera assembly and graphics interface;

a communication circuit;

a processor; and

a memory having code embedded therein for programming the processor to:

for a pixel in a digital image, calculate a product of a red component value of the pixel, a green component value of the pixel, and a blue component value of the pixel;

in response to the product being greater than a threshold value, determine that the pixel belongs to a set of near-white pixels;

determine a gain factor based on red component values of the set, green component values of the set, and blue component values of the set; and

based at least in part on the gain factor, adjust at least one of the red component value of the pixel, the green component value of the pixel, and the blue component value of the pixel, and

wherein the average RGB product is determined based on pixel values in a first frame, and the variance is based on pixel values in a second frame that is different than the first frame.

10. The mobile digital device of 9 , wherein the digital image is a third frame.

11. The mobile digital device of claim 9 , wherein the gain factor is determined based at least in part on normalizing an average red component value for the set of near-white pixels, an average green component value for the set of near-white pixels, and an average blue component value for the set of near-white pixels.

12. The mobile digital device of claim 9 , wherein the threshold value is based at least in part on a variance value, the variance value determined based at least in part on the average RGB product.

13. The mobile digital device of claim 9 , wherein the memory further comprises code embedded therein for programming the processor to normalize an average red component value for the particular set of pixels, an average green component value for the particular set of pixels, and an average blue component value for the particular set of pixels.

14. The mobile device of claim 9 , wherein the memory further comprises code embedded therein for programming the processor to exclude from the set one or more pixels that have a red component value, green component value, or blue component value greater than a second threshold value.

15. A mobile digital device, comprising:

a camera assembly and graphics interface;

a communication circuit;

a processor; and

a memory having code embedded therein for programming the processor to:

for a pixel in a digital image, calculate a product of a red component value of the pixel, a green component value of the pixel, and a blue component value of the pixel;

in response to the product being greater than a threshold value, determine that the pixel belongs to a set of near-white pixels;

determine a gain factor based on red component values of the set, green component values of the set, and blue component values of the set;

based at least in part on the gain factor, adjust at least one of the red component value of the pixel, the green component value of the pixel, and the blue component value of the pixel; and

exclude from the set one or more pixels that have a red component value, green component value, or blue component value greater than a second threshold value.

16. The mobile digital device of claim 15 , wherein the gain factor is determined based at least in part on normalizing an average red component value for the set of near-white pixels, an average green component value for the set of near-white pixels, and an average blue component value for the set of near-white pixels.

17. The mobile digital device of claim 15 , wherein the threshold value is based at least in part on a variance value, the variance value determined based at least in part on the average RGB product.

18. The mobile digital device of claim 15 , wherein the digital image is a third frame.

19. The mobile digital device of claim 15 , wherein the memory further comprises code embedded therein for programming the processor to normalize an average red component value for the particular set of pixels, an average green component value for the particular set of pixels, and an average blue component value for the particular set of pixels.

20. The mobile digital device of claim 15 , wherein the average RGB product is determined based on pixel values in a first frame, and the variance is based on pixel values in a second frame that is different than the first frame.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 3, 2015
From: DIGITALOPTICS CORPORATION; DIGITALOPTICS CORPORATION MEMS; FOTONATION LIMITED
To: NAN CHANG O-FILM OPTOELECTRONICS TECHNOLOGY LTD
Reel/Frame 034883/0237 →
CHANGE OF NAME Recorded Jul 8, 2014
From: DIGITALOPTICS CORPORATION EUROPE LIMITED
To: FOTONATION LIMITED
Reel/Frame 033261/0643 →