# US 2022/0295030 A1 · Automatic white balance correction for digital images using multi-hypothesis classification

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

- Number: US 2022/0295030 A1
- Document ID: US20220295030A1
- Status: Published application
- Kind: A1
- Application number: 17/743,216
- Filed: 2022-05-12
- Published: 2022-09-15
- Earliest claimed: 2019-11-13
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Daniel HERNANDEZ; Sarah PARISOT; Ales LEONARDIS; Gregory SLABAUGH; Steven George MCDONAGH
- Web page: https://patentgrep.com/patent/US20220295030A1

## CPC

- H04N 1/6077: {Colour balance, e.g. colour cast correction}
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- G06V 10/56: relating to colour
- G06V 10/60: relating to illumination properties, e.g. using a reflectance or lighting model
- G06V 10/762: using clustering, e.g. of similar faces in social networks
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- H04N 1/6086: {by scene illuminant, i.e. conditions at the time of picture capture, e.g. flash, optical filter used, evening, cloud, daylight, artificial lighting, white point measurement, colour temperature}
- H04N 9/646: {for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A device for estimating a scene illumination color for a source image is configured to: determine a set of candidate illuminants and for each of the candidate illuminants, determine a respective correction of the source image; for each of the candidate illuminants, apply the respective correction to the source image to form a corresponding set of corrected images; for each corrected image from the set of corrected images, implement a trained data-driven model to estimate a respective probability of achromaticity of the respective corrected image; and based on the estimated probabilities of achromaticity for the set of corrected images, obtain a final estimate of the scene illumination color for the source image. This approach allows for the evaluation of multiple candidate illuminates to determine an estimate of the scene illumination color.

## Claims

### Claim 1

A device for estimating a scene illumination color for a source image, the device comprising a processor and a non-transitory memory having processor-executable instructions stored thereon, wherein the processor is configured to execute the processor-executable instructions to cause the device to perform the following operations:
determining a set of candidate illuminants;
for each candidate illuminant of the set of candidate illuminants, determining a respective correction for the source image;
for each candidate illuminant of the set of candidate illuminants, applying the respective correction to the source image to form a corresponding set of corrected images;
for each corrected image from a respective set of corrected images, estimating a respective probability of achromaticity of the respective corrected image using a trained data-driven model;
based on estimated probabilities of achromaticity for each set of corrected images, obtaining a final estimate of the scene illumination color for the source image; and
performing a correction on the source image using the obtained final estimate to transform the source image to a target image.

### Claim 2 (depends on 1)

The device according to claim 1, wherein the final estimate of the scene illumination color for the source image is obtained using a weighting of at least two candidate illuminants of the set of candidate illuminants.

### Claim 3 (depends on 1)

The device according to claim 1, wherein the processor is further configured to execute the processor-executable instructions to cause the device to perform the following:
classifying the achromaticity of each corrected image using a binary classification.

### Claim 4 (depends on 1)

The device according to claim 1, wherein the processor is further configured to execute the processor-executable instructions to cause the device to perform the following:
determining a confidence value for the final estimate of the scene illumination color.

### Claim 5 (depends on 1)

The device according to claim 1, wherein the target image represents the scene of the source image under a canonical illuminant.

### Claim 6 (depends on 1)

The device according to claim 1, wherein the set of candidate illuminants is determined by sampling at uniform intervals in an illuminant space.

### Claim 7 (depends on 1)

The device according to claim 1, wherein the set of candidate illuminants is determined by K-Means clustering.

### Claim 8 (depends on 1)

The device according to claim 1, wherein the set of candidate illuminants is determined using a Gaussian mixture model.

### Claim 9 (depends on 1)

The device according to claim 1, wherein the trained data-driven model is trained using a set of training images captured by at least two cameras.

### Claim 10 (depends on 1)

The device according to claim 1, wherein the trained data-driven model is a convolutional neural network.

### Claim 11

A method for estimating a scene illumination color for a source image, the method comprising:
determining, by a device, a set of candidate illuminants;
for each candidate illuminant of the set of candidate illuminants, determining, by the device, a respective correction of the source image;
for each candidate illuminant of the set of candidate illuminants, applying, by the device, the respective correction to the source image to form a corresponding set of corrected images;
for each corrected image from a respective set of corrected images, estimating, by the device, a respective probability of achromaticity of the respective corrected image using a trained data-driven model;
based on estimated probabilities of achromaticity for each set of corrected images, obtaining, by the device, a final estimate of scene illumination color for the source image; and
performing, by the device, a correction on the source image using the obtained final estimate to transform the source image to a target image.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the target image represents the scene of the source image under a canonical illuminant.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the final estimate of the scene illumination color for the source image is obtained using a weighting of at least two candidate illuminants of the set of candidate illuminants.

### Claim 14 (depends on 11)

The method according to claim 11, wherein the trained data-driven model is trained using a set of images captured by at least two cameras.

### Claim 15 (depends on 11)

The method according to claim 11, wherein the trained data-driven model is a convolutional neural network.

### Claim 16

A non-transitory processor-readable medium having processor-executable instructions stored thereon for estimating a scene illumination color for a source image, wherein the processor-executable instructions, when executed, facilitate:
determining, by a device, a set of candidate illuminants;
for each candidate illuminant of the set of candidate illuminants, determining, by the device, a respective correction of the source image;
for each candidate illuminant of the set of candidate illuminants, applying, by the device, the respective correction to the source image to form a corresponding set of corrected images;
for each corrected image from a respective set of corrected images, estimating, by the device, a respective probability of achromaticity of the respective corrected image using a trained data-driven model;
based on estimated probabilities of achromaticity for each set of corrected images, obtaining, by the device, a final estimate of scene illumination color for the source image; and
performing, by the device, a correction on the source image using the obtained final estimate to transform the source image to a target image.

### Claim 17 (depends on 16)

The non-transitory processor-readable medium according to claim 16, wherein the final estimate of the scene illumination color for the source image is obtained using a weighting of at least two candidate illuminants of the set of candidate illuminants.

### Claim 18 (depends on 16)

The non-transitory processor-readable medium according to claim 16, wherein the trained data-driven model is trained using a set of images captured by at least two cameras.

### Claim 19 (depends on 16)

The non-transitory processor-readable medium according to claim 16, wherein the trained data-driven model is a convolutional neural network.

### Claim 20 (depends on 16)

The non-transitory processor-readable medium according to claim 16, wherein the target image represents the scene of the source image under a canonical illuminant.
