# US 2019/0379872 A1 · Light filling method and apparatus for photographing environment, and computer-readable storage medium

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

- Number: US 2019/0379872 A1
- Document ID: US20190379872A1
- Status: Published application
- Kind: A1
- Application number: 16/437,552
- Filed: 2019-06-11
- Published: 2019-12-12
- Earliest claimed: 2018-06-11
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Guosheng Li; Chuan Gao
- Web page: https://patentgrep.com/patent/US20190379872A1

## CPC

- 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/74: by influencing the scene brightness using illuminating means
- H04N 23/71: Circuitry for evaluating the brightness variation
- H04N 9/73: Colour balance circuits, e.g. white balance circuits or colour temperature control (camera processing pipelines for colour balance H04N23/88)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to a light filling method and apparatus for photographing environment, and a computer-readable storage medium. The method includes detecting a color temperature value of a current photographing environment to obtain a first color temperature value; and displaying an optimal light filling image acquired from a plurality of prestored light filling images in a light filling region of a display screen based on the first color temperature value, to implement light filling for the photographing environment, wherein the optimal light filling image is a light filling image that does not destroy white balance of a camera after light filling is implemented for the photographing environment.

## Claims

### Claim 1

A light filling method for a photographing environment, comprising:
detecting a color temperature value of a current photographing environment to obtain a first color temperature value; and
displaying an optimal light filling image acquired from a plurality of prestored light filling images in a light filling region of a display screen based on the first color temperature value, to implement light filling for the photographing environment,
wherein the optimal light filling image is a light filling image that does not destroy white balance of a camera after light filling is implemented for the photographing environment.

### Claim 2 (depends on 1)

The method according to claim 1, wherein displaying the optimal light filling image comprises:
determining a light filling color temperature range corresponding to the first color temperature value;
acquiring any one light filling image with the color temperature value falling within the light filling color temperature range from the plurality of light filling images;
displaying the acquired light filling image in the light filling region, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the acquired light filling image in the light filling region;
selecting at least one light filling image not displayed in the light filling region in the light filling process from the plurality of light filling images when the second color temperature value does not match a target color temperature value, wherein the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
acquiring any one light filling image with the color temperature value falling within the light filling color temperature range from the selected light filling images, and returning to the operation of displaying the acquired light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 3 (depends on 2)

The method according to claim 2, wherein after detecting the color temperature value of the photographing environment to obtain the second color temperature value, the method further comprises:
acquiring a color temperature value difference between the second color temperature value and the target color temperature value;
determining that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determining that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 4 (depends on 1)

The method according to claim 1, wherein displaying the optimal light filling image comprises:
acquiring a first light filling image from the plurality of light filling images, wherein the first light filling image is any one light filling image of the plurality of light filling images;
displaying the first light filling image in the light filling region as a target light filling image, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the target light filling image in the light filling region;
acquiring a second light filling image from the plurality of light filling images by means of interpolation based on the second color temperature value, a target color temperature value and a color temperature value of the target light filling image, when the second color temperature value does not match the target color temperature value, wherein a color temperature value of the second light filling image is not equal to the color temperature value of the target light filling image, and the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
displaying the second light filling image in the light filling region as the target light filling image, and returning to the operation of detecting the color temperature value of the photographing environment after displaying the target light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 5 (depends on 4)

The method according to claims 4, wherein after detecting the color temperature value of the photographing environment to obtain the second color temperature value, the method further comprises:
acquiring a color temperature value difference between the second color temperature value and the target color temperature value;
determining that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determining that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 6 (depends on 1)

The method according to claim 1, wherein displaying the optimal light filling image comprises:
displaying the plurality of light filling images;
displaying a light filling image selected based on the select instruction in the light filling region, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the light filling image selected based on the select instruction, upon receipt of a select instruction based on the plurality of light filling images;
displaying prompt information when the second color temperature value does not match a target color temperature value, wherein the prompt information is used to prompt re-choice of the light filling image, and the target color temperature value is a color temperature that does not destroy the white balance of the camera; and
returning to the operation of displaying the plurality of light filling images, until the second color temperature value matches the target color temperature value, upon receipt of a re-choose instruction.

### Claim 7 (depends on 6)

The method according to claim 6, wherein after detecting the color temperature value of the photographing environment to obtain the second color temperature value, the method further comprises:
acquiring a color temperature value difference between the second color temperature value and the target color temperature value;
determining that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determining that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 8 (depends on 1)

The method according to claim 1, wherein after detecting the color temperature value of the current photographing environment to obtain the first color temperature value, the method further comprises:
acquiring a region size corresponding to the first color temperature value from a stored corresponding relationship between color temperature values and region sizes; and
setting a light filling region with a size being the region size in the display screen.

### Claim 9

A light filling apparatus for a photographing environment, comprising:
a processor; and
a memory configured to store instructions executable by the processor;
wherein the processor is configured to:
detect a color temperature value of a current photographing environment to obtain a first color temperature value; and
display an optimal light filling image acquired from a plurality of prestored light filling images in a light filling region of a display screen based on the first color temperature value, to implement light filling for the photographing environment, wherein the optimal light filling image is a light filling image that does not destroy white balance of a camera after light filling is implemented for the photographing environment.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
determine a light filling color temperature range corresponding to the first color temperature value;
acquire any one light filling image with the color temperature value falling within the light filling color temperature range from the plurality of light filling images;
display the acquired light filling image in the light filling region, and detect the color temperature value of the photographing environment to obtain a second color temperature value after displaying the acquired light filling image in the light filling region;
select at least one light filling image not displayed in the light filling region in the light filling process from the plurality of light filling images when the second color temperature value does not match a target color temperature value, wherein the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
acquire any one light filling image with the color temperature value falling within the light filling color temperature range from the selected light filling images, and return to the operation of displaying the acquired light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to:
acquire a color temperature value difference between the second color temperature value and the target color temperature value;
determine that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determine that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 12 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
acquire a first light filling image from the plurality of light filling images, wherein the first light filling image is any one light filling image of the plurality of light filling images;
display the first light filling image in the light filling region as a target light filling image, and detect the color temperature value of the photographing environment to obtain a second color temperature value after displaying the target light filling image in the light filling region;
acquire a second light filling image from the plurality of light filling images by means of interpolation based on the second color temperature value, a target color temperature value and a color temperature value of the target light filling image, when the second color temperature value does not match the target color temperature value, wherein a color temperature value of the second light filling image is not equal to the color temperature value of the target light filling image, and the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
display the second light filling image in the light filling region as the target light filling image, and return to the operation of detect the color temperature value of the photographing environment after displaying the target light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the processor is further configured to:
acquire a color temperature value difference between the second color temperature value and the target color temperature value;
determine that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determine that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 14 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
display the plurality of light filling images;
display a light filling image selected based on the select instruction in the light filling region, and detect the color temperature value of the photographing environment to obtain a second color temperature value after displaying the light filling image selected based on the select instruction, upon receipt of a select instruction based on the plurality of light filling images;
display prompt information when the second color temperature value does not match a target color temperature value, wherein the prompt information is used to prompt re-choice of the light filling image, and the target color temperature value is a color temperature that does not destroy the white balance of the camera; and
return to the operation of display the plurality of light filling images, until the second color temperature value matches the target color temperature value, upon receipt of a re-choose instruction.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the processor is further configured to:
acquire a color temperature value difference between the second color temperature value and the target color temperature value;
determine that the second color temperature value matches the target color temperature value when the color temperature value difference is less than or equal to a predefined difference; and
determine that the second color temperature value does not match the target color temperature value when the color temperature value difference is greater than the predefined difference.

### Claim 16 (depends on 9)

The apparatus according to claim 9, wherein the processor is further configured to:
acquire a region size corresponding to the first color temperature value from a stored corresponding relationship between color temperature values and region sizes; and
set a light filling region with a size being the region size in the display screen.

### Claim 17

A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor, causes a device to perform a light filling method for a photographing environment, the method comprising:
detecting a color temperature value of a current photographing environment to obtain a first color temperature value; and
displaying an optimal light filling image acquired from a plurality of prestored light filling images in a light filling region of a display screen based on the first color temperature value, to implement light filling for the photographing environment, wherein the optimal light filling image is a light filling image that does not destroy white balance of a camera after light filling is implemented for the photographing environment.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein displaying the optimal light filling image comprises:
determining a light filling color temperature range corresponding to the first color temperature value;
acquiring any one light filling image with the color temperature value falling within the light filling color temperature range from the plurality of light filling images;
displaying the acquired light filling image in the light filling region, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the acquired light filling image in the light filling region;
selecting at least one light filling image not displayed in the light filling region in the light filling process from the plurality of light filling images when the second color temperature value does not match a target color temperature value, wherein the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
acquiring any one light filling image with the color temperature value falling within the light filling color temperature range from the selected light filling images, and returning to the operation of displaying the acquired light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein displaying the optimal light filling image comprises:
acquiring a first light filling image from the plurality of light filling images, wherein the first light filling image is any one light filling image of the plurality of light filling images;
displaying the first light filling image in the light filling region as a target light filling image, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the target light filling image in the light filling region;
acquiring a second light filling image from the plurality of light filling images by means of interpolation based on the second color temperature value, a target color temperature value and a color temperature value of the target light filling image, when the second color temperature value does not match the target color temperature value, wherein a color temperature value of the second light filling image is not equal to the color temperature value of the target light filling image, and the target color temperature value is a color temperature value that does not destroy the white balance of the camera; and
displaying the second light filling image in the light filling region as the target light filling image, and returning to the operation of detecting the color temperature value of the photographing environment after displaying the target light filling image in the light filling region, until the second color temperature value matches the target color temperature value.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein displaying the optimal light filling image comprises:
displaying the plurality of light filling images;
displaying a light filling image selected based on the select instruction in the light filling region, and detecting the color temperature value of the photographing environment to obtain a second color temperature value after displaying the light filling image selected based on the select instruction, upon receipt of a select instruction based on the plurality of light filling images;
displaying prompt information when the second color temperature value does not match a target color temperature value, wherein the prompt information is used to prompt re-choice of the light filling image, and the target color temperature value is a color temperature that does not destroy the white balance of the camera; and
returning to the operation of displaying the plurality of light filling images, until the second color temperature value matches the target color temperature value, upon receipt of a re-choose instruction.
