# US 10,872,583 B2 · Color temperature adjustment method and apparatus, and graphical user interface

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

- Number: US 10,872,583 B2
- Document ID: US10872583B2
- Status: Granted
- Kind: B2
- Application number: 16/345,978
- Filed: 2016-10-31
- Published: 2019-11-28
- Granted: 2020-12-22
- Earliest claimed: 2016-10-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shitong Wang; Kuitao Zhu; Hao Wu; Yonglang Wang; Miaofeng Wang; Yan Yi
- Web page: https://patentgrep.com/patent/US10872583B2

## CPC

- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G09G 5/026: {Control of mixing and/or overlay of colours in general (G09G5/022 and G09G5/024 take precedence)}
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G09G 5/04: using circuits for interfacing with colour displays
- G09G 5/10: Intensity circuits
- G09G 2320/0242: Compensation of deficiencies in the appearance of colours
- G09G 2320/0626: for control of overall brightness
- G09G 2320/0666: for control of colour parameters, e.g. colour temperature
- G09G 2340/06: Colour space transformation
- G09G 2360/144: the light being ambient light
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

A method includes detecting an input operation performed on a display screen of a terminal when the display screen is touched and when a color temperature adjustment region is displayed on the display screen, converting, in response to the input operation, coordinates of an operation point corresponding to the input operation into a first color parameter, obtaining ambient light converting a color parameter of the ambient light into a second color parameter, integrating the first color parameter and the second color parameter to obtain a third color parameter, converting the third color parameter into a target color parameter, and displaying the target color parameter on the display screen of the terminal.

## Claims

### Claim 1

A color temperature adjustment method implemented by a terminal, wherein the terminal comprises a display screen, wherein the display screen comprises a color temperature adjustment region, and wherein the color temperature adjustment method comprises:
displaying the color temperature adjustment region on the display screen, wherein each operation point in the color temperature adjustment region displays one color, wherein different operation points display different colors, and wherein one color corresponds to one color temperature;
detecting an input operation performed on the display screen when the display screen is touched, wherein a touch point generated during the input operation corresponds to an operation point in the color temperature adjustment region;
converting coordinates of the operation point corresponding to the input operation into a first color parameter;
obtaining ambient light using an ambient light sensor;
converting a color parameter of the ambient light into a second color parameter by:
obtaining component values corresponding to the color parameter of the ambient light in XYZ color space;
determining a first component value and a second component value of the display screen in the XYZ color space based on a current luminance of the display screen and the component values corresponding to the color parameter of the ambient light in the XYZ color space;
determining, based on the first component value, the current luminance of the display screen, and the second component value, each component value corresponding to the display screen in RGB color space; and
performing color temperature adjustment normalization processing on each component value corresponding to the display screen in the RGB color space to obtain the second color parameter;
integrating the first color parameter and the second color parameter to obtain a third color parameter;
converting the third color parameter into a target color parameter, wherein each component value in the target color parameter matches red green blue (RGB) channels of the terminal corresponding to each component value; and
displaying the target color parameter on the display screen of the terminal.

### Claim 2 (depends on 1)

The color temperature adjustment method of claim 1, wherein determining the first component value and the second component value of the display screen in the XYZ color space comprises:
determining the first component value of the display screen in the XYZ color space according to a formula
X
sc
=
X
am
Y
am
⁢
Y
sc
,
wherein Xsc represents the first component value of the display screen in the XYZ color space, wherein Xam represents an X component value corresponding to the color parameter of the ambient light in the XYZ color space, wherein Yam represents a Y component value corresponding to the color parameter of the ambient light in the XYZ color space, and wherein Ysc represents the current luminance of the display screen; and
determining the second component value of the display screen in the XYZ color space according to a formula
Z
sc
=
Z
am
Y
am
⁢
Y
sc
,
wherein Zsc represents a Z component value of the display screen in the XYZ color space, and wherein Zam represents a Z component value corresponding to the color parameter of the ambient light in the XYZ color space.

### Claim 3 (depends on 1)

The color temperature adjustment method of claim 1, wherein before determining the first component value and the second component value of the display screen in the XYZ color space, the color temperature adjustment method further comprises:
obtaining a current luminance level of the display screen; and
converting the current luminance level into the current luminance of the display screen based on a maximum luminance level of the display screen of the terminal and a maximum luminance of the display screen.

### Claim 4 (depends on 1)

The color temperature adjustment method of claim 1, wherein before performing the color temperature adjustment normalization processing, the color temperature adjustment method further comprises calibrating, based on each component value corresponding to the display screen in the RGB color space and a preset adjustment factor of the component value, each component value corresponding to the display screen in the RGB color space to obtain a calibrated component value of each component value corresponding to the display screen in the RGB color space.

### Claim 5 (depends on 4)

The color temperature adjustment method of claim 4, wherein before calibrating each component value corresponding to the display screen in the RGB color space, the color temperature adjustment method further comprises determining, from a preset lookup table, and based on ambient information and a Y component value of the color parameter of the ambient light in the XYZ color space, the preset adjustment factor of each component value corresponding to the display screen in the RGB color space, wherein the preset lookup table comprises a correspondence between the Y component value and each component value corresponding to the display screen in the RGB color space, and wherein the ambient information comprises weather condition information, sunrise time information, and sunset time information.

### Claim 6 (depends on 1)

The color temperature adjustment method of claim 1, wherein performing the color temperature adjustment normalization processing comprises:
obtaining a maximum component value from component values corresponding to the display screen in the RGB color space;
determining, as a normalized component value of each component value corresponding to the display screen in the RGB color space, a result obtained by dividing each component value corresponding to the display screen in the RGB color space by the maximum component value; and
determining, as the second color parameter, the normalized component value of each component value corresponding to the display screen in the RGB color space.

### Claim 7

A color temperature adjustment method implemented by a terminal, wherein the terminal comprises a display screen, wherein the display screen comprises a color temperature adjustment region, and wherein the color temperature adjustment method comprises:
displaying the color temperature adjustment region on the display screen, wherein each operation point in the color temperature adjustment region displays one color, wherein different operation points display different colors, and wherein one color corresponds to one color temperature;
detecting an input operation performed on the display screen when the display screen is touched, wherein a touch point generated during the input operation corresponds to an operation point in the color temperature adjustment region;
converting coordinates of the operation point corresponding to the input operation into a first color parameter, wherein at least one control point is provided in the color temperature adjustment region, wherein one control point corresponds to one RGB parameter, and wherein converting the coordinates of the operation point into the first color parameter comprises:
determining, based on a relationship between coordinates of the touch point generated during the input operation and the color temperature adjustment region, polar coordinates of the operation point in the color temperature adjustment region;
determining, based on a location of the polar coordinates of the operation point in the color temperature adjustment region, N control points corresponding to the input operation; and
converting the polar coordinates of the operation point into the first color parameter based on RGB parameters of the N control points corresponding to the input operation using a gain interpolation algorithm;
obtaining ambient light using an ambient light sensor;
converting a color parameter of the ambient light into a second color parameter;
integrating the first color parameter and the second color parameter to obtain a third color parameter;
converting the third color parameter into a target color parameter, wherein each component value in the target color parameter matches red green blue (RGB) channels of the terminal corresponding to each component value; and
displaying the target color parameter on the display screen of the terminal.

### Claim 8 (depends on 7)

The color temperature adjustment method of claim 7, wherein the polar coordinates of the operation point are the same as polar coordinates of any control point in the color temperature adjustment region, and wherein converting the polar coordinates of the operation point into the first color parameter comprises determining, as the first color parameter, an RGB parameter of the control point that has the same polar coordinates as the operation point.

### Claim 9 (depends on 7)

The color temperature adjustment method of claim 7, wherein N≥two, wherein a closed region enclosed by a closed curve comprising the N control points comprises the polar coordinates of the operation point, and wherein converting the polar coordinates of the operation point into the first color parameter comprises:
obtaining a component value corresponding to at least one first intersection point in target color space when the polar coordinates of the operation point are different from polar coordinates of any one of the N control points, wherein the at least one first intersection point is a point at which the closed curve comprising the N control points is intersected with a line connecting a center of the color temperature adjustment region and the operation point of the input operation in the color temperature adjustment region;
determining, based on the component value corresponding to the at least one first intersection point in the target color space, a component value corresponding to the polar coordinates of the operation point in the target color space;
converting, in RGB color space, the component value corresponding to the polar coordinates of the operation point in the target color space to obtain a component value of the polar coordinates of the operation point in the RGB color space; and
determining, as a first RGB adjustment parameter, the component value of the polar coordinates of the operation point in the RGB color space.

### Claim 10 (depends on 9)

The color temperature adjustment method of claim 9, wherein obtaining the component value corresponding to the at least one first intersection point in the target color space comprises obtaining, according to a formula
Y
=
[
C
1
,
…
⁢
,
C
N
]
⁡
[
φ
2
φ
1
+
φ
2
φ
1
φ
1
+
φ
2
]
,
a component value corresponding to a first-first intersection point in the target color space, wherein Y represents the component value corresponding to the first-first intersection point in the target color space, wherein C1 represents a component value corresponding to a first control point in the target color space, wherein the first control point is in the color temperature adjustment region and corresponds to the first-first intersection point, wherein CN represents a component value corresponding to an Nth control point in the target color space, wherein the Nth control point is in the color temperature adjustment region and corresponds to the first-first intersection point, wherein φ1 represents polar coordinates of a first included angle formed by the first-first intersection point, the center of the color temperature adjustment region, and the first control point corresponding to the first-first intersection point, wherein φ2 represents polar coordinates of a second included angle formed by the first-first intersection point, the center of the color temperature adjustment region, and a second control point corresponding to the first intersection point, and wherein the first control point and the second control point are end points in a sub-region to which the first-first intersection point belongs.

### Claim 11 (depends on 9)

The color temperature adjustment method of claim 9, wherein determining the component value corresponding to the polar coordinates of the operation point in the target color space comprises determining, using a formula
R
=
[
S
1
,
T
1
]
⁡
[
u
u
+
v
v
u
+
v
]
,
the component value corresponding to the polar coordinates of the operation point in the target color space, wherein u=rhoT−rho, wherein ν=rho−rhoS, wherein T1 represents a component value corresponding to a first-first intersection point in the target color space (T), wherein S1 represents a component value corresponding to a second-first intersection point in the target color space (S), wherein rhoT represents a radius of polar coordinates of the T, wherein rho represents a radius of the polar coordinates of the operation point, and wherein rhoS represents a radius of polar coordinates of the S.

### Claim 12 (depends on 7)

The color temperature adjustment method of claim 7, wherein determining the polar coordinates of the operation point in the color temperature adjustment region comprises converting, into polar coordinates, the coordinates of the touch point generated during the input operation when the touch point generated during the input operation is in the color temperature adjustment region.

### Claim 13 (depends on 7)

The color temperature adjustment method of claim 7, wherein integrating the first color parameter and the second color parameter to obtain the third color parameter comprises integrating the first color parameter and the second color parameter according to a formula
{
r
3
=
(
ρ
1
⁢
r
2
+
1
-
ρ
1
)
⁢
(
ρ
2
⁢
r
1
+
1
-
ρ
2
)
g
3
=
(
ρ
1
⁢
g
2
+
1
-
ρ
1
)
⁢
(
ρ
2
⁢
g
1
+
1
-
ρ
2
)
b
3
=
(
ρ
1
⁢
b
2
+
1
-
ρ
1
)
⁢
(
ρ
2
⁢
b
1
+
1
-
ρ
2
)
,
to determine the third color parameter, wherein ρ1 represents a first integration factor, wherein ρ2 represents a second integration factor, wherein r3 represents an R color component value in the third color parameter, wherein g3 represents a G color component value in the third color parameter, wherein represents a B color component value in the third color parameter, wherein r1 represents an R color component value in the first color parameter, wherein g1 represents a G color component value in the first color parameter, wherein b1 represents a B color component in the first color parameter, wherein r2 represents an R color component value in the second color parameter, wherein g2 represents a G color component value in the second color parameter, and wherein b2 represents a B color component value in the second color parameter.

### Claim 14 (depends on 7)

The color temperature adjustment method of claim 7, wherein determining the polar coordinates of the operation point in the color temperature adjustment region comprises:
obtaining a target operation point of the input operation in the color temperature adjustment region when the touch point generated during the input operation is outside the color temperature adjustment region, wherein the target operation point is an operation point in the color temperature adjustment region proximate to the touch point;
converting coordinates of the target operation point into polar coordinates; and
determining polar coordinates of the target operation point as the polar coordinates of the operation point in the color temperature adjustment region.

### Claim 15

A terminal comprising:
a memory comprising instructions; and
a computer processor coupled to the memory and configured to execute the instructions to:
display a color temperature adjustment region on a display screen, wherein each operation point in the color temperature adjustment region displays one color, wherein different operation points display different colors, and wherein one color corresponds to one color temperature;
detect an input operation performed on the display screen when the display screen is touched, wherein a touch point generated during the input operation corresponds to an operation point in the color temperature adjustment region;
convert coordinates of the operation point corresponding to the input operation into a first color parameter;
obtain ambient light using an ambient light sensor;
convert a color parameter of the ambient light into a second color parameter by:
obtaining component values corresponding to the color parameter of the ambient light in XYZ color space;
determining a first component value and a second component value of the display screen in the XYZ color space based on a current luminance of the display screen and the component values corresponding to the color parameter of the ambient light in the XYZ color space;
determining, based on the first component value, the current luminance of the display screen, and the second component value, each component value corresponding to the display screen in RGB color space; and
performing color temperature adjustment normalization processing on each component value corresponding to the display screen in the RGB color space to obtain the second color parameter;
integrate the first color parameter and the second color parameter to obtain a third color parameter;
convert the third color parameter into a target color parameter, wherein each component value in the target color parameter matches red green blue (RGB) channels of the terminal corresponding to each component value; and
display the target color parameter on the display screen of the terminal.

### Claim 16 (depends on 15)

The terminal of claim 15, wherein the computer processor is configured to determine the first component value and the second component value of the display screen in the XYZ color space by:
determining the first component value of the display screen in the XYZ color space according to a formula
X
sc
=
X
am
Y
am
⁢
Y
sc
,
wherein Xsc represents the first component value of the display screen in the XYZ color space, wherein Xam represents an X component value corresponding to the color parameter of the ambient light in the XYZ color space, wherein Yam represents a Y component value corresponding to the color parameter of the ambient light in the XYZ color space, and wherein Ysc represents the current luminance of the display screen; and
determining the second component value of the display screen in the XYZ color space according to a formula
Z
sc
=
Z
am
Y
am
⁢
Y
sc
,
wherein Zsc represents a Z component value of the display screen in the XYZ color space, and wherein am represents a Z component value corresponding to the color parameter of the ambient light in the XYZ color space.

### Claim 17 (depends on 15)

The terminal of claim 15, wherein before determining the first component value and the second component value of the display screen in the XYZ color space, the computer processor is further configured to execute the instructions to:
obtain a current luminance level of the display screen; and
convert the current luminance level into the current luminance of the display screen based on a maximum luminance level of the display screen of the terminal and a maximum luminance of the display screen.

### Claim 18 (depends on 15)

The terminal of claim 15, wherein before performing the color temperature adjustment normalization processing, the computer processor is further configured to execute the instructions to calibrate, based on each component value corresponding to the display screen in the RGB color space and a preset adjustment factor of the component value, each component value corresponding to the display screen in the RGB color space to obtain a calibrated component value of each component value corresponding to the display screen in the RGB color space.

### Claim 19 (depends on 18)

The terminal of claim 18, wherein before calibrating each component value corresponding to the display screen in the RGB color space, the computer processor is further configured to execute the instructions to determine, from a preset lookup table, and based on ambient information and a Y component value of the color parameter of the ambient light in the XYZ color space, the preset adjustment factor of each component value corresponding to the display screen in the RGB color space, wherein the preset lookup table comprises a correspondence between the Y component value and each component value corresponding to the display screen in the RGB color space, and wherein the ambient information comprises weather condition information, sunrise time information, and sunset time information.

### Claim 20 (depends on 15)

The terminal of claim 15, wherein the computer processor is configured to perform the color temperature adjustment normalization processing by:
obtaining a maximum component value from component values corresponding to the display screen in the RGB color space;
determining, as a normalized component value of each component value corresponding to the display screen in the RGB color space, a result obtained by dividing each component value corresponding to the display screen in the RGB color space by the maximum component value; and
determining, as the second color parameter, the normalized component value of each component value corresponding to the display screen in the RGB color space.

### Claim 21 (depends on 15)

The terminal of claim 15, wherein the computer processor is further configured to execute the instructions to provide an adjustment control in the color temperature adjustment region, wherein a location of the adjustment control varies, in the color temperature adjustment region, with the input operation, and wherein the adjustment control indicates a color selected, during the input operation, in the color temperature adjustment region.
