# US 2024/0196104 A1 · Brightness based chromaticity weighting for improved illuminant color estimation for auto white balancing

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

- Number: US 2024/0196104 A1
- Document ID: US20240196104A1
- Status: Published application
- Kind: A1
- Application number: 18/078,667
- Filed: 2022-12-09
- Published: 2024-06-13
- Earliest claimed: 2022-12-09
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Douglas Taylor; Animesh Khemka
- Web page: https://patentgrep.com/patent/US20240196104A1

## CPC

- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- G06T 7/90: Determination of colour characteristics
- H04N 9/77: Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase (circuits for matrixing H04N9/67)
- H04N 23/71: Circuitry for evaluating the brightness variation
- H04N 23/76: by influencing the image signals
- G06T 2207/10024: Color image
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Apparatuses, systems, and techniques for white balancing an image are presented. In at least one embodiment, a chromaticity-based weighting function is determined based at least on an estimated scene brightness of the image and applied to exclude or minimize the impact of large colored portions or objects within an image when estimating an illuminant color.

## Claims

### Claim 1

A method comprising:
determining a chromaticity weighting function to apply to an image based at least on an estimated scene brightness of a scene depicted by the image;
estimating at least one illuminant color corresponding to the scene by applying the chromaticity weighting function to adjust a contribution of one or more portions of the image; and
adjusting one or more values corresponding to the image based at least on the at least one illuminant color.

### Claim 2 (depends on 1)

The method of claim 1, wherein the chromaticity weighting function comprises a weighting distribution around an approximated Planckian Locus.

### Claim 3 (depends on 2)

The method of claim 2, wherein the weighting distribution is parameterized by at least one of a color temperature or a tint.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the chromaticity weighting function comprises a plurality of weighting distributions;
one or more individual weighting distributions of the plurality of weighting distributions are associated with a respective scene brightness; and
the determining the chromaticity weighting function comprises:
determining the estimated scene brightness of the scene depicted by the image; and
determining a weighting distribution from the plurality of weighting distributions based at least on the estimated scene brightness.

### Claim 5 (depends on 4)

The method of claim 4, wherein:
the image comprises one or more pixels;
one or more individual pixels of the one or more pixels comprise one or more values corresponding to at least one of one or more color channels or a luminance channel; and
the estimated scene brightness is determined based at least on the one or more values of the one or more pixels.

### Claim 6 (depends on 1)

The method of claim 1, wherein the applying the chromaticity weighting function comprises:
dividing the image into one or more windows;
computing an average color for at least one individual window of the one or more windows;
converting the average color of the at least one individual window into a chromaticity color space to obtain an average chromaticity for the at least one individual window;
determining a weighting factor to be applied to the at least one individual window based on the average chromaticity of the at least one individual window;
calculating an image color as a weighted average of the average color for the one or more windows using respective weighting factors determined for the one or more windows;
calculating an image color as a weighted average of the average color for the one or more windows using the respective weighting factors;
converting the image color to the chromaticity color space to obtain an image chromaticity; and
projecting the image chromaticity onto an approximated Planckian Locus to obtain the at least one illuminant color.

### Claim 7 (depends on 1)

The method of claim 1, wherein the adjusting the one or more values corresponding to the image based at least on the at least one illuminant color comprises:
determining one or more corrective gains for two or more color channels of the image based at least on the illuminant color; and
applying the one or more corrective gains to respective color channels of the image.

### Claim 8

A system comprising:
one or more processing units to perform operations comprising:
determining a chromaticity weighting function to apply to an image based at least on an estimated scene brightness of a scene depicted by the image;
estimating at least one illuminant color corresponding to the scene by applying the chromaticity weighting function to adjust a contribution of one or more portions of the image; and
adjusting one or more values corresponding to the image based at least on the at least one illuminant color.

### Claim 9 (depends on 8)

The system of claim 8, wherein the chromaticity weighting function comprises a weighting distribution around an approximated Planckian Locus.

### Claim 10 (depends on 8)

The system of claim 8, wherein the weighting distribution is parameterized by at least one of a color temperature or a tint.

### Claim 11 (depends on 8)

The system of claim 8:
wherein the chromaticity weighting function comprises a plurality of weighting distributions;
one or more individual weighting distributions of the plurality of weighting distributions are associated with a respective scene brightness; and
the determining the chromaticity weighting function comprises:
determining the estimated scene brightness of the scene depicted by the image; and
determining a weighting distribution from the plurality of weighting distributions based at least on the estimated scene brightness.

### Claim 12 (depends on 11)

The system of claim 11, wherein:
the image comprises a plurality of pixels;
one or more individual pixels of the one or more pixels comprise one or more values corresponding to at least one of one or more color channels or a luminance channel; and
the estimated scene brightness is determined based at least on the one or more values of the one or more pixels.

### Claim 13 (depends on 8)

The system of claim 8, wherein the applying the chromaticity weighting function comprises:
dividing the image into one or more windows;
computing an average color for at least one individual window of the one or more windows;
converting the average color of the at least one individual window into a chromaticity color space to obtain an average chromaticity for the at least one individual window;
determining a weighting factor to be applied to the at least one individual window based on the average chromaticity of the at least one individual window;
calculating an image color as a weighted average of the average color for the one or more windows using respective weighting factors determined for the one or more windows;
calculating an image color as a weighted average of the average color for the one or more windows using the respective weighting factors;
converting the image color to the chromaticity color space to obtain an image chromaticity; and
projecting the image chromaticity onto an approximated Planckian Locus to obtain the at least one illuminant color.

### Claim 14 (depends on 8)

The system of claim 8, wherein the adjusting the image based on the estimated illuminant color is configured to perform operations comprising:
determining one or more corrective gains for two or more color channels of the image based at least on the illuminant color; and
applying the one or more corrective gains to respective color channels of the image.

### Claim 15 (depends on 8)

The system of claim 8, wherein the system is comprised in at least one of:
a control system for an autonomous or semi-autonomous machine;
a perception system for an autonomous or semi-autonomous machine;
a system for performing simulation operations;
a system for performing digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for presenting one or more of virtual reality content, augmented reality content, or mixed reality content;
a system for hosting one or more real-time streaming applications;
a system for performing deep learning operations;
a system implemented using an edge device;
a system implemented using a robot;
a system for performing conversational AI operations;
a system for generating synthetic data;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center; or
a system implemented at least partially using cloud computing resources.

### Claim 16

A processor comprising:
one or more processing units to perform operations comprising:
determining a chromaticity weighting function to apply to an image based at least on an estimated scene brightness of the image;
applying the chromaticity weighting function to adjust a contribution of one or more portions of the image in estimating an illuminant color of the image; and
adjusting one or more values corresponding to the image based at least on the illuminant color.

### Claim 17 (depends on 16)

The processor of claim 16:
wherein the chromaticity weighting function comprises a plurality of weighting distributions;
one or more individual weighting distributions of the plurality of weighting distributions are associated with a respective scene brightness; and
the determining the chromaticity weighting function comprises:
determining the estimated scene brightness of the scene depicted by the image; and
determining a weighting distribution from the plurality of weighting distributions based at least on the estimated scene brightness.

### Claim 18 (depends on 17)

The processor of claim 17, wherein:
the image comprises a plurality of pixels;
one or more individual pixels of the one or more pixels comprise one or more values corresponding to at least one of one or more color channels or a luminance channel; and
the estimated scene brightness is determined based at least on the one or more values of the one or more pixels.

### Claim 19 (depends on 16)

The processor of claim 16, wherein the applying the chromaticity weighting function comprises:
dividing the image into one or more windows;
computing an average color for at least one individual window of the one or more windows;
converting the average color of the at least one individual window into a chromaticity color space to obtain an average chromaticity for the at least one individual window;
determining a weighting factor to be applied to the at least one individual window based on the average chromaticity of the at least one individual window;
calculating an image color as a weighted average of the average color for the one or more windows using respective weighting factors determined for the one or more windows;
calculating an image color as a weighted average of the average color for the one or more windows using the respective weighting factors;
converting the image color to the chromaticity color space to obtain an image chromaticity; and
projecting the image chromaticity onto an approximated Planckian Locus to obtain the at least one illuminant color.

### Claim 20 (depends on 15)

The processor of claim 15, wherein the processor is comprised in at least one of:
a control system for an autonomous or semi-autonomous machine;
a perception system for an autonomous or semi-autonomous machine;
a system for performing simulation operations;
a system for performing digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for presenting one or more of virtual reality content, augmented reality content, or mixed reality content;
a system for hosting one or more real-time streaming applications;
a system for performing deep learning operations;
a system implemented using an edge device;
a system implemented using a robot;
a system for performing conversational AI operations;
a system for generating synthetic data;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center; or
a system implemented at least partially using cloud computing resources.
