# US 2026/0075176 A1 · White Balance Correction Method For Images, Storage Medium, And Electronic Device

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

- Number: US 2026/0075176 A1
- Document ID: US20260075176A1
- Status: Published application
- Kind: A1
- Application number: 19/390,220
- Filed: 2025-11-14
- Published: 2026-03-12
- Earliest claimed: 2024-11-28
- Assignees: Beijing Horizon Robotics Technology Research and Development Co., Ltd.
- Applicants: Beijing Horizon Robotics Technology Research and Development Co., Ltd.
- Inventors: Jingyao WANG
- Web page: https://patentgrep.com/patent/US20260075176A1

## CPC

- H04N 9/73: Colour balance circuits, e.g. white balance circuits or colour temperature control (camera processing pipelines for colour balance H04N23/88)
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- G06T 7/90: Determination of colour characteristics
- H04N 9/67: for matrixing (camera processing pipelines for matrixing of colour signals H04N23/85)
- H04N 23/81: for suppressing or minimising disturbance in the image signal generation
- H04N 23/84: for processing colour signals
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Disclosed are a white balance correction method for images, a storage medium, and an electronic device. The method includes: determining a first quantum efficiency response curve for a reference image sensor, determining a second quantum efficiency response curve for a target image sensor, where a color filter array of the target image sensor is different from that of the reference image sensor; determining a target matrix for conversion between the second quantum efficiency response curve and the first quantum efficiency response curve; determining a first white balance Planckian curve for the target image sensor; determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor; performing, based on the white balance compensation parameter, white balance correction on a second image collected by the target image sensor.

## Claims

### Claim 1

A white balance correction method for images, comprising:
determining a first quantum efficiency response curve for a reference image sensor;
determining a second quantum efficiency response curve for a target image sensor, wherein a color filter array of the target image sensor is different from that of the reference image sensor;
determining a target matrix for conversion between the second quantum efficiency response curve and the first quantum efficiency response curve;
determining a first white balance Planckian curve for the target image sensor;
determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor; and
performing, based on the white balance compensation parameter, white balance correction on a second image collected by the target image sensor.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor comprises:
converting the first white balance Planckian curve into a second white balance Planckian curve of the reference image sensor by using the target matrix;
determining a target gray area in the first image collected by the target image sensor; and
determining the white balance compensation parameter adaptable to the target image sensor based on the target matrix, the second white balance Planckian curve, and the target gray area.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining the white balance compensation parameter adaptable to the target image sensor based on the target matrix, the second white balance Planckian curve, and the target gray area comprises:
determining respective color information about a plurality of sub-blocks comprised in the target gray area;
determining, based on the target matrix and the respective color information about the plurality of sub-blocks, positions respectively corresponding to the plurality of sub-blocks in a coordinate system in which the second white balance Planckian curve is located;
determining weights respectively corresponding to the plurality of sub-blocks based on the second white balance Planckian curve and the positions respectively corresponding to the plurality of sub-blocks;
weighting the positions respectively corresponding to the plurality of sub-blocks by the weights respectively corresponding to the plurality of sub-blocks, to obtain a weighted position; and
determining the white balance compensation parameter adaptable to the target image sensor based on the weighted position and an inverse matrix of the target matrix.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the color filter array of the target image sensor is an RCCG array; and
the determining, based on the target matrix and the respective color information about the plurality of sub-blocks, positions respectively corresponding to the plurality of sub-blocks in a coordinate system in which the second white balance Planckian curve is located comprises:
determining, for a target sub-block in the plurality of sub-blocks based on the color information about the target sub-block, a first ratio of a pixel value of an R channel to a pixel value of a C channel and a second ratio of a pixel value of a G channel to the pixel value of the C channel;
converting the first ratio into a third ratio by using the target matrix;
converting the second ratio into a fourth ratio by using the target matrix; and
determining, based on the third ratio and the fourth ratio, the position corresponding to the target sub-block in the coordinate system in which the second white balance Planckian curve is located.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the color filter array of the target image sensor is an RCCG array; and
the determining the white balance compensation parameter adaptable to the target image sensor based on the weighted position and an inverse matrix of the target matrix comprises:
determining, based on the weighted position, a fifth ratio of a pixel value of an R channel to a pixel value of a C channel and a sixth ratio of a pixel value of a G channel to the pixel value of the C channel;
converting the fifth ratio into a seventh ratio by using the inverse matrix of the target matrix;
determining a first color compensation coefficient associated with the R channel based on the seventh ratio;
converting the sixth ratio into an eighth ratio by using the inverse matrix of the target matrix;
determining a second color compensation coefficient associated with the G channel based on the eighth ratio; and
determining the white balance compensation parameter adaptable to the target image sensor based on the first color compensation coefficient and the second color compensation coefficient.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the determining weights respectively corresponding to the plurality of sub-blocks based on the second white balance Planckian curve and the positions respectively corresponding to the plurality of sub-blocks comprises:
determining distance information about distances between the positions respectively corresponding to the plurality of sub-blocks and the second white balance Planckian curve; and
determining the weights respectively corresponding to the plurality of sub-blocks based on the distance information respectively corresponding to the plurality of sub-blocks.

### Claim 7 (depends on 3)

The method according to claim 3, wherein the determining weights respectively corresponding to the plurality of sub-blocks based on the second white balance Planckian curve and the positions respectively corresponding to the plurality of sub-blocks comprises:
performing, under the coordinate system, expansion processing on the second white balance Planckian curve to obtain an expanded area;
determining distribution information of the positions respectively corresponding to the plurality of sub-blocks relative to the expanded area; and
determining the weights respectively corresponding to the plurality of sub-blocks based on the distribution information respectively corresponding to the plurality of sub-blocks.

### Claim 8 (depends on 1)

The method according to claim 1, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 9 (depends on 2)

The method according to claim 2, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 10 (depends on 3)

The method according to claim 3, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 11 (depends on 4)

The method according to claim 4, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 12 (depends on 5)

The method according to claim 5, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 13 (depends on 6)

The method according to claim 6, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 14 (depends on 7)

The method according to claim 7, wherein
the color filter array of the reference image sensor is an RGGB array;
and/or
an optical specification of the target image sensor is same as that of the reference image sensor;
and/or
a collection timepoint of the second image is later than that of the first image.

### Claim 15

A non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, causes the processor to implement a white balance correction method for images, wherein the white balance correction method for images comprises:
determining a first quantum efficiency response curve for a reference image sensor;
determining a second quantum efficiency response curve for a target image sensor, wherein a color filter array of the target image sensor is different from that of the reference image sensor;
determining a target matrix for conversion between the second quantum efficiency response curve and the first quantum efficiency response curve;
determining a first white balance Planckian curve for the target image sensor;
determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor; and
performing, based on the white balance compensation parameter, white balance correction on a second image collected by the target image sensor.

### Claim 16

An electronic device, wherein the electronic device comprises:
a processor; and
a memory, configured to store processor-executable instructions, wherein
the processor is configured to read the executable instructions from the memory, and execute the instructions to implement a white balance correction method for images, wherein the white balance correction method comprises:
determining a first quantum efficiency response curve for a reference image sensor;
determining a second quantum efficiency response curve for a target image sensor, wherein a color filter array of the target image sensor is different from that of the reference image sensor;
determining a target matrix for conversion between the second quantum efficiency response curve and the first quantum efficiency response curve;
determining a first white balance Planckian curve for the target image sensor;
determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor; and
performing, based on the white balance compensation parameter, white balance correction on a second image collected by the target image sensor.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein the determining a white balance compensation parameter adaptable to the target image sensor based on the target matrix, the first white balance Planckian curve, and a first image collected by the target image sensor comprises:
converting the first white balance Planckian curve into a second white balance Planckian curve of the reference image sensor by using the target matrix;
determining a target gray area in the first image collected by the target image sensor; and
determining the white balance compensation parameter adaptable to the target image sensor based on the target matrix, the second white balance Planckian curve, and the target gray area.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein the determining the white balance compensation parameter adaptable to the target image sensor based on the target matrix, the second white balance Planckian curve, and the target gray area comprises:
determining respective color information about a plurality of sub-blocks comprised in the target gray area;
determining, based on the target matrix and the respective color information about the plurality of sub-blocks, positions respectively corresponding to the plurality of sub-blocks in a coordinate system in which the second white balance Planckian curve is located;
determining weights respectively corresponding to the plurality of sub-blocks based on the second white balance Planckian curve and the positions respectively corresponding to the plurality of sub-blocks;
weighting the positions respectively corresponding to the plurality of sub-blocks by the weights respectively corresponding to the plurality of sub-blocks, to obtain a weighted position; and
determining the white balance compensation parameter adaptable to the target image sensor based on the weighted position and an inverse matrix of the target matrix.

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the color filter array of the target image sensor is an RCCG array; and
the determining, based on the target matrix and the respective color information about the plurality of sub-blocks, positions respectively corresponding to the plurality of sub-blocks in a coordinate system in which the second white balance Planckian curve is located comprises:
determining, for a target sub-block in the plurality of sub-blocks based on the color information about the target sub-block, a first ratio of a pixel value of an R channel to a pixel value of a C channel and a second ratio of a pixel value of a G channel to the pixel value of the C channel;
converting the first ratio into a third ratio by using the target matrix;
converting the second ratio into a fourth ratio by using the target matrix; and
determining, based on the third ratio and the fourth ratio, the position corresponding to the target sub-block in the coordinate system in which the second white balance Planckian curve is located.

### Claim 20 (depends on 18)

The electronic device according to claim 18, wherein the color filter array of the target image sensor is an RCCG array; and
the determining the white balance compensation parameter adaptable to the target image sensor based on the weighted position and an inverse matrix of the target matrix comprises:
determining, based on the weighted position, a fifth ratio of a pixel value of an R channel to a pixel value of a C channel and a sixth ratio of a pixel value of a G channel to the pixel value of the C channel;
converting the fifth ratio into a seventh ratio by using the inverse matrix of the target matrix;
determining a first color compensation coefficient associated with the R channel based on the seventh ratio;
converting the sixth ratio into an eighth ratio by using the inverse matrix of the target matrix;
determining a second color compensation coefficient associated with the G channel based on the eighth ratio; and
determining the white balance compensation parameter adaptable to the target image sensor based on the first color compensation coefficient and the second color compensation coefficient.
