# US 2003/0222992 A1 · Method for statistical analysis of images for automatic white balance of color channel gains for image sensors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0222992 A1
- Document ID: US20030222992A1
- Status: Published application
- Kind: A1
- Application number: 10/161,439
- Filed: 2002-06-04
- Published: 2003-12-04
- Earliest claimed: 2002-06-04
- Assignees: Micron Technology, Inc.
- Inventors: Michael Kaplinsky; Igor Subbotin
- Web page: https://patentgrep.com/patent/US20030222992A1

## CPC

- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A process for performing white balancing of an image is performed by subdividing an image into a plurality of subframes, and then analyzing each subframe to determine if that subframe is predominantly monochromatic other than gray. If so, that subframe is excluded from the computation of the gain adjustments in the white balancing operation. As a result, the white balance process is performed using only the multicolored and/or gray subframes, thus allowing the overall white-balance of the image to be shifted only when a change in the color average is due to a change in the spectra of illumination, and not a presence of large monochromatic areas in the image.

## Claims

### Claim 1

A method for performing a white balance operation on an image, comprising:
subdividing an image into a plurality of subframes;
for each subframe, determining whether or not that subframe is substantially monochromatic;
eliminating each subframe determined to be substantially monochromatic from consideration for white balancing the image; and
performing a white balance operation using the remaining subframes.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each pixel in the subframe;
calculating a mean hue for the subframe;
calculating a standard deviation of hue variances for the subframe using sums of the squares of the differences between the hue for each pixel in the subframe and the mean hue; and
comparing the standard deviation with a threshold value.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 360.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 96.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each pixel in the subframe;
calculating a mean hue for the subframe;
calculating a standard deviation of the hue variances for the subframe using sums of the absolute values of the differences between the hue for each pixel in the subframe and the mean hue; and
comparing the standard deviation with a threshold value.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 360.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 96.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each pixel in the subframe;
calculating a mean hue for the subframe based on the obtained hue values for a subset of the lines in the subframe;
calculating a standard deviation of the hue variances for the subframe using sums of the squares of the differences between the hue for each pixel in the lines of the subframe not used to calculate the mean hue and the mean hue, and
comparing the standard deviation with a threshold value.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 360.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 96.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each pixel in the subframe;
calculating a mean hue for the subframe based on the obtained hue values for a subset of the lines in the subframe;
calculating a standard deviation of the hue variances for the subframe using sums of the absolute values of the differences between the hue for each pixel in the tines of the subframe not used to calculate the mean hue and the mean hue; and
comparing the standard deviation with a threshold value.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 360.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 96.

### Claim 14 (depends on 1)

The method according to claim 1, further comprising subdividing each subframe into a plurality of macropixels, and wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each macropixel in the subframe;
calculating a mean hue for the subframe based on the obtained macropixel hue values;
calculating a standard deviation of the hue variances for the subframe using sums of the squares of the differences between the hue for each macropixel in the subframe and the mean hue; and
comparing the standard deviation with a threshold value.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the hue value obtained for each macropixel is expressed as a value within a range from 0 to 360.

### Claim 16 (depends on 14)

The method according to claim 14, wherein the hue value obtained for each macropixel is expresses as a value within a range from 0 to 96.

### Claim 17 (depends on 1)

The method according to claim 1, further comprising subdividing each subframe into a plurality of macropixels, and wherein the determination of whether or not a subframe is substantially monochromatic comprises:
obtaining a hue value for each macropixel in the subframe;
calculating a mean hue for the subframe based on the obtained macropixel hue values;
calculating a standard deviation of the hue variances for the subframe using sums of the absolute values of the differences between the hue for each macropixel in the subframe and the mean hue; and
comparing the standard deviation with a threshold value.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the hue value obtained for each macropixel is expressed as a value within a range from 0 to 360.

### Claim 19 (depends on 17)

The method according to claim 17, wherein the hue value obtained for each pixel is expressed as a value within a range from 0 to 96.

### Claim 20 (depends on 1)

The method according to claim 1, wherein performing the white balance operation comprises:
calculating a respective sum of all hue values for each color component in the remaining subframes;
determining a weight for each respective sum so that the three components are equal; and
adjusting the hue values for each pixel in the image according to the determined weight for each color component.

### Claim 21

A method for performing a white balance operation on an image, comprising:
subdividing an image into a plurality of subframes;
for each subframe, determining whether or not that subframe is substantially monochromatic;
performing a white balance operation only using subframes which are determined to be not substantially monochromatic.

### Claim 22

An image processor comprising a white balancing circuit which calculates a white balance of an image based only on portions of the image which are grey or which are substantially multicolored.

### Claim 23

An image processsor comprising:
a monochrome detection circuit which divides an image into a plurality of subframes and determines whether or not each subframe is substantially monochromatic; and
a white balancing circuit which performs a white balance operation on the image using only using subframes which are determined to be not substantially monochromatic.

### Claim 24

An image processing apparatus comprising:
an image sensing unit for obtaining an image and outputting an image signal which includes pixel image data for each line of the image;
an image processor for processing the image signal; and
a controller for controlling the image sensing unit and the image processor, and
wherein the image processor includes a white balancing circuit which calculates a white balance of an image based only on portions of the image which are grey or which are substantially multicolored.

### Claim 25

An image processing apparatus comprising:
an image sensing unit for obtaining an image and outputting an image signal which includes pixel image data for each line of the image;
an image processor for processing the image signal; and
a controller for controlling the image sensing unit and the image processor, and
wherein the image processor includes
a monochrome detection circuit which divides an image into a plurality of subframes and determines whether or not each subframe is substantially monochromatic; and
a white balancing circuit which performs a white balance operation on the image using only using subframes which are determined to be not substantially monochromatic.

### Claim 26

A processing system, comprising:
a processor for receiving an processing image data; and
an image data generator for supplying image data to the processor, the image data generator comprising
an image sensing unit for obtaining an image and outputting an image signal,
an image processor for processing the image signal, and
a controller for controlling the image sensing unit and the image processor,
wherein the image processor includes a white balancing circuit which calculates a white balance of an image based only on portions of the image which are grey or which are substantially multicolored.

### Claim 27

A processing system, comprising:
a processor for receiving an processing image data; and
an image data generator for supplying image data to the processor, the image data generator comprising
an image sensing unit for obtaining an image and outputting an image signal,
an image processor for processing the image signal, and
a controller for controlling the image sensing unit and the image processor,
wherein the image processor comprises
a monochrome detection circuit which divides an image into a plurality of subframes and determines whether or not each subframe is substantially monochromatic; and
a white balancing circuit which performs a white balance operation on the image using only using subframes which are determined to be not substantially monochromatic.
