# US 2019/0356833 A1 · Control Method, Control Device, Mobile Terminal, 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/0356833 A1
- Document ID: US20190356833A1
- Status: Published application
- Kind: A1
- Application number: 16/476,233
- Filed: 2018-01-04
- Published: 2019-11-21
- Earliest claimed: 2017-01-05
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Jianbo SUN
- Web page: https://patentgrep.com/patent/US20190356833A1

## CPC

- H04N 23/60: Control of cameras or camera modules
- G06V 40/1388: {using image processing}
- H04N 23/67: Focus control based on electronic image sensor signals
- H04N 23/71: Circuitry for evaluating the brightness variation
- H04N 23/73: by influencing the exposure time
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- H04N 23/10: for generating image signals from different wavelengths
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Provided is a control method for controlling an imaging device. The control method includes operations that: a cached image output by an imaging device is processed to identify whether there is an overexposed area; in a case where there is the overexposed area, an RGB channel value of a surrounding area around the overexposed area is acquired; and white balance processing is performed on the cached image according to the RGB channel value. Further provided are a control device, a mobile terminal and a computer-readable storage medium.

## Claims

### Claim 1

A control method for controlling an imaging device, the control method comprising:
processing a cached image output by the imaging device to identify whether there is an overexposed area in the cached image;
acquiring, in a case where there is the overexposed area in the cached image, an RGB channel value of a surrounding area around the overexposed area; and
performing white balance processing on the cached image according to the RGB channel value.

### Claim 2 (depends on 1)

The control method as claimed in claim 1, wherein processing the cached image output by the imaging device to identify whether there is the overexposed area in the cached image comprises:
determining, according to a histogram of the cached image, whether a number of overexposed pixels having pixel values equal to a predetermined pixel value in the cached image is greater than or equal to a first predetermined number; and
determining that there is the overexposed area in the cached image in a case where the number of the overexposed pixels is greater than or equal to the first predetermined number.

### Claim 3 (depends on 2)

The control method as claimed in claim 2, wherein after determining that there is the overexposed area in the cached image in the case where the number of the overexposed pixels is greater than or equal to the first predetermined number, the control method further comprises:
identifying adjacent overexposed pixels in the cached image in a case where there is the overexposed area in the cached image, wherein a number of the adjacent overexposed pixels is greater than or equal to a second predetermined number, pixel values of the overexposed pixels are equal to the predetermined pixel value, the predetermined pixel value is an upper limit of a dynamic range of the imaging device, and the adjacent overexposed pixels belong to the overexposed area.

### Claim 4 (depends on 1)

The control method as claimed in claim 1, further comprising:
searching for a white area of the cached image in a case where there is no overexposed area in the cached image;
estimating a color temperature according to the white area; and
performing white balance processing on the cached image according to the color temperature.

### Claim 5 (depends on 1)

The control method as claimed in claim 1, wherein acquiring, in a case where there is the overexposed area in the cached image, the RGB channel value of the surrounding area around the overexposed area comprises:
identifying, in the cached image, a third predetermined number of material pixels centered around the overexposed area, wherein the material pixels belong to the surrounding area.

### Claim 6 (depends on 1)

The control method as claimed in claim 1, wherein performing white balance processing on the cached image according to the RGB channel value comprises:
determining average values of RGB channels of the surrounding area around the overexposed area;
calculating a gain of an R channel and a gain of a B channel according to the average values; and
performing white balance processing on the cached image according to the gains.

### Claim 7

A control device for controlling an imaging device, the control device comprising:
at least one processor; and
a computer readable storage medium, coupled to the at least one processor and storing at least one computer executable instructions which, when being executed by the at least one processor, cause the at least one processor to carry out following program modules:
a judgment module, configured to process a cached image output by the imaging device to identify whether there is an overexposed area in the cached image;
an acquisition module, configured to acquire, in a case where there is the overexposed area in the cached image, an RGB channel value of a surrounding area around the overexposed area; and
a first processing module, configured to perform white balance processing on the cached image according to the RGB channel value.

### Claim 8 (depends on 7)

The control device as claimed in claim 7, wherein the judgment module comprises:
a judgment unit, configured to determine, according to a histogram of the cached image, whether a number of overexposed pixels having pixel values equal to a predetermined pixel value in the cached image is greater than or equal to a first predetermined number; and
a determination unit, configured to determine that there is the overexposed area in the cached image in a case where the number of the overexposed pixels is greater than or equal to the first predetermined number.

### Claim 9 (depends on 8)

The control device as claimed in claim 8, wherein the judgment module further comprises:
an identification unit, configured to identify adjacent overexposed pixels in the cached image in a case where there is the overexposed area in the cached image, wherein a number of the adjacent overexposed pixels is greater than or equal to a second predetermined number, pixel values of the overexposed pixels are equal to the predetermined pixel value, the predetermined pixel value is an upper limit of a dynamic range of the imaging device, and the adjacent overexposed pixels belong to the overexposed area.

### Claim 10 (depends on 7)

The control device as claimed in claim 7, wherein the at least one computer executable instructions, when being executed by the at least one processor, cause the at least one processor to further carry out following program modules:
a searching module, configured to search for a white area of the cached image in a case where there is no overexposed area in the cached image;
an estimation module, configured to estimate a color temperature according to the white area; and
a second processing module, configured to perform white balance processing on the cached image according to the color temperature.

### Claim 11 (depends on 7)

The control device as claimed in claim 7, wherein the acquisition module comprises:
an identification unit, configured to identify, in the cached image, a third predetermined number of material pixels centered around the overexposed area, wherein the material pixels belong to the surrounding area.

### Claim 12 (depends on 7)

The control device as claimed in claim 7, wherein the first processing module is configured to:
determine average values of RGB channels of the surrounding area around the overexposed area;
calculate a gain of an R channel and a gain of a B channel according to the average values; and
perform white balance processing on the cached image according to the gains.

### Claim 13

A mobile terminal, comprising a housing, a processor, a memory, a circuit board, a power circuit and an imaging device, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power circuit is configured to supply power to various circuits or devices of an electronic device; the memory is configured to store executable program codes; and the processor runs programs corresponding to the executable program codes by reading the executable program codes stored in the memory to perform the following operations:
processing a cached image output by the imaging device to identify whether there is an overexposed area in the cached image;
acquiring, in a case where there is the overexposed area in the cached image, an RGB channel value of a surrounding area around the overexposed area; and
performing white balance processing on the cached image according to the RGB channel value.

### Claim 14 (depends on 13)

The mobile terminal as claimed in claim 13, wherein the processor is further configured to perform the following operations:
determining, according to a histogram of the cached image, whether a number of overexposed pixels having pixel values equal to a predetermined pixel value in the cached image is greater than or equal to a first predetermined number; and
determining that there is the overexposed area in the cached image in a case where the number of the overexposed pixels is greater than or equal to the first predetermined number.

### Claim 15 (depends on 14)

The mobile terminal as claimed in claim 14, wherein the processor is configured to perform the following operations:
identifying adjacent overexposed pixels in the cached image in a case where there is the overexposed area in the cached image, wherein a number of the adjacent overexposed pixels is greater than or equal to a second predetermined number, pixel values of the overexposed pixels are equal to the predetermined pixel value, the predetermined pixel value is an upper limit of a dynamic range of the imaging device, and the adjacent overexposed pixels belong to the overexposed area.

### Claim 16 (depends on 13)

The mobile terminal as claimed in claim 13, wherein the processor is configured to perform the following operations:
searching for a white area of the cached image in a case where there is no overexposed area in the cached image;
estimating a color temperature according to the white area; and
performing white balance processing on the cached image according to the color temperature.

### Claim 17 (depends on 13)

The mobile terminal as claimed in claim 13, wherein the processor is configured to perform the following operations:
identifying, in the cached image, a third predetermined number of material pixels centered around the overexposed area, wherein the material pixels belong to the surrounding area.

### Claim 18 (depends on 13)

The mobile terminal as claimed in claim 13, wherein the processor is configured to perform the following operations:
determining average values of RGB channels of the surrounding area around the overexposed area;
calculate a gain of an R channel and a gain of a B channel according to the average values; and
perform white balance processing on the cached image according to the gains.

### Claim 19 (depends on 13)

The mobile terminal as claimed in claim 13, wherein the mobile terminal comprises a mobile phone or a tablet.

### Claim 20 (depends on 1)

A computer-readable storage medium, having an instruction stored therein, wherein when a processor of an electronic device executes the instruction, the electronic device executes the control method as claimed in claim 1.
