Automatic white balance method and apparatus
First Claim
1. A method of performing Automatic White Balance (AWB), the method comprising:
- receiving a captured image;
filtering the captured image to select gray pixels;
determining a distance in a coordinate grid from each of a plurality of reference illuminant points to a location in the coordinate grid determined at least in part on the gray pixels, determining an illuminant based in part on the distances; and
applying a white balance gain to the captured image based in part on the illuminant.
2 Assignments
0 Petitions
Accused Products
Abstract
Automatic white balance of captured images can be performed based on a gray world assumption. Initially, a flat field gray image is captured for one or more reference illuminations. The statistics of the captured gray image are determined and stored for each reference illumination during a calibration process. For each subsequent captured image, the image is filtered to determine a subset of gray pixels. The gray pixels are further divided into a one or more gray clusters. The average weight of the one or more gray clusters is determined and a distance from the average weights to the reference illuminants is determined. An estimate of the illuminant is determined depending on the distances. White balance gains are applied to the image based on the estimated illuminant.
-
Citations
40 Claims
-
1. A method of performing Automatic White Balance (AWB), the method comprising:
-
receiving a captured image;
filtering the captured image to select gray pixels;
determining a distance in a coordinate grid from each of a plurality of reference illuminant points to a location in the coordinate grid determined at least in part on the gray pixels, determining an illuminant based in part on the distances; and
applying a white balance gain to the captured image based in part on the illuminant. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of performing Automatic White Balance (AWB), the method comprising:
-
receiving a captured image in RGB format;
filtering the captured image to select gray pixels;
determining R/G and B/G ratios for each of the gray pixels in the captured image;
partitioning the gray pixels into a plurality of gray clusters;
quantizing the R/G and B/G ratios into a predetermined coordinate grid;
determining a center in the coordinate grid for each of the plurality of gray clusters;
determining a distance in the coordinate grid from each of the centers to each of a plurality of reference illuminant points;
determining an estimated illuminant for each cluster based in part on the distance to each of the centers;
determining a scene illuminant based in part on the estimated illuminant for each of the plurality of gray clusters; and
applying a white balance gain to the captured image based in part on the scene illuminant. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. One or more storage devices configured to store one or more processor usable instructions, when executed by one or more processors, performing the method comprising:
-
receiving a captured image in RGB format;
filtering the captured image to select gray pixels;
determining R/G and B/G ratios for each of the gray pixels in the captured image;
partitioning the gray pixels into a plurality of gray clusters;
quantizing the R/G and B/G ratios into a predetermined coordinate grid;
determining a center in the coordinate grid for each of the plurality of gray clusters;
determining a distance in the coordinate grid from each of the centers to each of a plurality of reference illuminant points;
determining an estimated illuminant for each cluster based in part on the distance to each of the centers;
determining a scene illuminant based in part on the estimated illuminant for each of the plurality of gray clusters; and
applying a white balance gain to the captured image based in part on the scene illuminant.
-
-
20. An apparatus for performing Automatic White Balance (AWB), the apparatus comprising:
-
a gray filter configured to receive a captured image and select gray regions from the captured image;
a grid converter coupled to the gray filter and configured to transform the gray regions to a predetermined coordinate grid;
a distance module coupled to the grid converter and configured to determine distances in the predetermined coordinate grid from one or more locations based in part on the gray regions to each of a plurality of reference illuminant points;
an illuminant estimator coupled to the distance module and configured to determine an illuminant based in part on the distances; and
a white balance gain module coupled to the illuminant estimator and configured to apply a white balance gain to the captured image;
the white balance gain based in part on the illuminant. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
36. An apparatus for performing Automatic White Balance (AWB), the apparatus comprising:
-
means for receiving a captured image;
means for filtering the captured image to select gray pixels;
means for determining a distance in a coordinate grid from each of a plurality of reference illuminant points to a location in the coordinate grid determined at least in part on the gray pixels, means for determining an illuminant based in part on the distances; and
means for applying a white balance gain to the captured image based in part on the illuminant. - View Dependent Claims (37, 38, 39, 40)
-
Specification