METHOD AND DEVICE FOR CALIBRATING THE COLOR RANGE OF A SCREEN AND ELECTRONIC DEVICE

DE602020072844T2Active Publication Date: 2026-06-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2020-11-19
Publication Date
2026-06-03
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to the technical field of color gamut calibration, and in particular to a method and device for calibrating a color gamut of a display screen, and an electronic device.BACKGROUND

[0002] With the development of display technologies, users are having higher and higher requirements for the display quality of a display screen. An organic light-emitting diode (OLED) display screen has a wider color gamut and a higher display contrast. However, in order to avoid distortion caused by excessively sharp colors of an OLED display screen, the color gamut of the display screen needs to be calibrated.

[0003] The related technologies are known from CN110197642A.SUMMARY

[0004] The invention is set out in the appended set of claims.

[0005] The present invention provides a method and device for calibrating a color gamut of an OLED display screen and an electronic device, to implement color gamut calibration for an OLED display screen.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the present invention. Fig. 1 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to an exemplary embodiment. Fig. 2 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. Fig. 3 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. Fig. 4 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. Fig. 5 illustrates a schematic diagram of a procedure of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. Fig. 6 illustrates a block diagram of a device for calibrating a color gamut of a display screen according to an exemplary embodiment. Fig. 7 illustrates a block diagram of the device for calibrating the color gamut of the display screen according to another exemplary embodiment. Fig. 8 illustrates a block diagram of the device for calibrating the color gamut of the display screen according to another exemplary embodiment. Fig. 9 illustrates a block diagram of the device for calibrating the color gamut of the display screen according to another exemplary embodiment. Fig. 10 illustrates a block diagram of the device for calibrating the color gamut of the display screen according to another exemplary embodiment. Fig. 11 illustrates a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0007] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The embodiments set forth in the following description of exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects related to the present invention as recited in the appended claims.

[0008] The terms used in the present invention are only used for the purpose of describing specific embodiments and not intended to limit the present invention. Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood normally by those of ordinary skill in the art of the present invention. Terms like "a / an" or "one" used in the specification and claims of the present invention do not represent a number limitation but only represents existence of at least one. Unless otherwise specified, terms like "comprise / include" or "contain" refer to that an element or object appearing before "comprise include" or "contain" covers an element or object and equivalent thereof listed after "comprise / include" or "contain" and does not exclude other elements or objects. Terms like "connect" or "interconnect" are not limited to physical or mechanical connection, and may include electrical connection, either direct or indirect. "A / an", "this" and "the" in a singular form in the specification and claims of the present invention are also intended to include a plural form, unless other meanings are clearly denoted throughout the present invention. It is also to be understood that term "and / or" used in the present invention refers to and includes any or all possible combinations of multiple associated items that are listed.

[0009] A color gamut of a display screen is a set of all colors that can be displayed by the display screen. A standard color gamut of an electronic device is a Standard RGB (sRGB) color gamut and a Display-P3 color gamut, both of which are smaller than a source color gamut of an organic light-emitting diode (OLED) screen. Therefore, a color gamut of an OLED needs to be calibrated by means of color gamut mapping, to convert the source color gamut of the OLED display screen into the standard color gamut of the electronic device.

[0010] However, through a method for calibrating a color gamut of an OLED display screen provided in the related art, color gamut calibration may be implemented under only one brightness level of the display screen. A color gamut calibration deviation may be produced with changing of the brightness of the display screen, resulting in a deviation of a hue of a color displayed by the display screen and affecting a display effect.

[0011] Based on the abovementioned situation, a method and device for calibrating a color gamut of a display screen, and an electronic device are provided in embodiments of the present invention, to ensure the effect of color gamut calibration under different brightness conditions of the display screen.

[0012] Fig. 1 illustrates a method for calibrating a color gamut of a display screen according to an exemplary embodiment. As illustrated in Fig. 1, the method for calibrating a color gamut for the display screen includes the following steps 101 to 103.

[0013] In step 101, a brightness level of the display screen, and original red green blue (RGB) values of a color to be displayed by a pixel in the display screen are acquired.

[0014] The brightness level (dBv) of the display screen is used for representing brightness of the display screen. The original RGB values refer to tristimulus values of the color to be displayed by the pixel, i.e., a Red (R) value, a Green (G) value and a Blue (B) value. The original RGB values are related to an image to be displayed on the display screen. For example, if the image to be displayed is a pure red image, original RGB values of any pixel in the display screen is (255, 0, 0). In Step 101, the original RGB values of each pixel in the display screen may be acquired according to the image to be displayed on the display screen.

[0015] Exemplarily, the brightness level ndbv (n is a positive integer) of the display screen and the original values (R 0 , G 0 , B 0 ) are acquired in step 101.

[0016] In step 102, a corrected color coordinate is determined according to the brightness level of the display screen and the original RGB values.

[0017] A color coordinate is an absolute coordinate representing a color. During calibration of a color gamut, the accuracy of the color gamut calibration can be ensured by converting an RGB values into color coordinates. Moreover, the brightness level of the display screen is taken as a reference for determining the corrected color coordinates in step 102, so that the influence of different brightness levels of the display screen on a hue of the color of light emitted by the pixel may be avoided.

[0018] Fig. 2 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. In an embodiment, as illustrated in Fig. 2, step 102 specifically includes the following steps 1021 to 1023.

[0019] In step 1021, a set of brightness compensation values is determined according to the brightness level of the display screen and the original RGB values.

[0020] A brightness compensation value is related to the brightness level of the display screen and represents the influence, on a color displayed by the display screen, of the brightness of the display screen. Moreover, the brightness compensation values are used for compensating for the color coordinates in different dimensions when the original RGB values are converted into the color coordinates.

[0021] The set of brightness compensation values include at least two brightness compensation values, each brightness compensation value corresponding to a dimension of a color coordinate system. For example, the color coordinates includes coordinates in an x axis, a y axis and a z axis coordinate respectively, and the set of brightness compensation values includes a brightness compensation value corresponding to the x axis, a brightness compensation value corresponding to the y axis and a brightness compensation value corresponding to the z axis.

[0022] In this way, colors of light emitted by the pixel under different brightness levels of the display screen are always colors corresponding to reference color coordinates. That is, hues of the colors of light emitted by the pixel under different brightness levels are unified under compensation effect of the brightness compensation values. Furthermore, the accuracy of color gamut calibration under different brightness levels of the display screen is ensured, and a display effect of the display screen is optimized.

[0023] Exemplarily, step 1021 specifically includes that: a brightness compensation value corresponding to each dimension of a color coordinate system is determined according to a preset mapping relationship and the brightness level of the display screen. For example, if the color coordinate system includes an x axis, a y axis and a z axis, step 1021 includes that: a brightness compensation value f x (n) corresponding to the x axis, a brightness compensation value f y (n) corresponding to the y axis and a brightness compensation value f z (n) corresponding to the z axis are determined according to the preset mapping relationship and the brightness level of the display screen. n is the brightness level of the display screen acquired in step 101.

[0024] The preset mapping relationship is acquired in advance according to experimental tests. The particular process of acquiring the preset mapping relationship will be introduced below in detail.

[0025] In step 1022, reference color coordinates corresponding to the pixel and the original RGB values are acquired.

[0026] The reference color coordinates acquired in step 1022 are color coordinates of the color of light emitted when light emission of the pixel is driven with the original RGB values under a set brightness level condition of the display screen. Moreover, each set of RGB values corresponds to a respective set of reference color coordinates. In acquiring the preset mapping relationship, the reference color coordinates corresponding to the RGB values are determined. Accordingly, in step 1022, the reference color coordinates are acquired according to a pre-stored corresponding relationship of RGB values with respective sets of reference color coordinates and according to the present original RGB values.

[0027] The reference color coordinates serve as a basis for acquiring the corrected color coordinates in step 102, and compensation is made with the brightness compensation values acquired in step 1021 based on the reference color coordinates. Exemplarily, reference color coordinates (X 0 , Y 0 , Z 0 ) corresponding to the original RGB values (R 0 , G 0 , B 0 ) are acquired in step 1022.

[0028] In step 1023, the corrected color coordinates are determined according to the set of brightness compensation values and the reference color coordinates. For example, the color coordinates include an x-axis coordinate, a y-axis coordinate and a z-axis coordinate. Step 1023 specifically includes that: an x-axis coordinate of the corrected color coordinates is determined according to the brightness compensation value corresponding to the x axis and an x-axis coordinate of the reference color coordinates, the x-axis coordinate of the corrected color coordinates being a sum (X 0 + f x (n)) of the brightness compensation value corresponding to the x axis and the x-axis coordinate of the reference color coordinates; a y-axis coordinate of the corrected color coordinates is determined according to the brightness compensation value corresponding to the y axis and a y-axis coordinate of the reference color coordinates, the y-axis coordinate of the corrected color coordinates being a sum (Y 0 + f y (n)) of the brightness compensation value corresponding to the y axis and the y-axis coordinate of the reference color coordinates; and a z-axis coordinate of the corrected color coordinates is determined according to a brightness compensation value corresponding to the z axis and a z-axis coordinate of the reference color coordinates, the z-axis coordinate of the corrected color coordinates being a sum (Z 0 + f z (n)) of the brightness compensation value corresponding to the z axis and the z-axis coordinate of the reference color coordinates.

[0029] In such case, the corrected color coordinates acquired in step 1023 are (X 0 + f x (n), Y 0 +f y (n), Z 0 + f z (n)).

[0030] In the method for calibrating a color gamut provided in the embodiments of the present invention, the colors of light emitted by the pixel under different brightness levels of the display screen are unified through step 102. In this way, the pixel displays a color corresponding to corrected color coordinates under different brightness levels of the display screen. Moreover, the brightness of the display screen only influences luminosity of light emitted by the pixel and does not influence the color of light emitted by the pixel. In this way, the stability of color gamut calibration under different brightness conditions of the display screen is optimized.

[0031] Still referring to Fig. 1, step 103 is executed after step 102, specifically as follows.

[0032] In step 103, calibrated RGB values are determined according to the corrected color coordinates, and light emission of the pixel of the display screen is driven with the calibrated RGB values.

[0033] Fig. 3 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. In an embodiment, as illustrated in Fig. 3, the operation that the calibrated RGB values are determined according to the corrected color coordinates in step 103 specifically includes the following steps 1031 to 1032.

[0034] In step 1031, the calibrated color coordinates are determined according to the corrected color coordinates.

[0035] The corrected color coordinates are still in a source color gamut of the OLED display screen, and the calibrated color coordinates are in a target color gamut (for example, an RGB color gamut or a Display-P3 color gamut) of the OLED display screen. Exemplarily, step 1031 includes that: the corrected color coordinates are converted into the calibrated color coordinates according to a rule of conversion from a source color gamut of the display screen to a target color gamut of the display screen. Optionally, the source color gamut of the display screen is converted into the target color gamut by operations such as matrix clip and matrix scaling.

[0036] Exemplarily, the corrected color coordinates (X 0 + f x (n), Y 0 + f y (n), Z 0 + f z (n)) are converted to calibrated color coordinates (X 1 , Y 1 , Z 1 ) in step 1031.

[0037] In step 1032, the calibrated RGB values are determined according to the calibrated color coordinates.

[0038] The calibrated color coordinates are converted to an RGB values according to an existing rule of conversion from color coordinates to an RGB values, so as to drive displaying of the pixel according to the calibrated RGB values in step 103. Exemplarily, the calibrated color coordinates (X 1 , Y 1 , Z 1 ) are converted to the calibrated RGB values (R 1 , G 1 , B 1 ) in step 1032.

[0039] According to the method for calibrating a color gamut provided in the embodiments of the present invention, the brightness level of the display screen is taken as a reference for determining the calibrated RGB values. Specifically, the corrected color coordinates are determined according to the brightness level of the display screen, and the calibrated RGB values are further determined according to the corrected color coordinates. By driving light emission of the pixel of the display screen with the calibrated RGB values, the colors of light emitted by the pixel under different brightness levels of the display screen are unified. In such a manner, the hues of the colors of light emitted by the pixel under different brightness levels of the display screen always correspond to the corrected color coordinates. Accordingly, the brightness of the display screen only influences the luminosity of the color of light emitted by the pixel and does not influence the hue of the color of light emitted by the pixel. Furthermore, accurate calibration of a color gamut may be implemented by the method under different brightness conditions of the display screen.

[0040] In an embodiment, the method for calibrating a color gamut of the display screen further includes that: the mapping relationship between brightness levels of the display screen and respective sets of brightness compensation values is acquired. Fig. 4 illustrates a flowchart of a method for calibrating a color gamut of a display screen according to another exemplary embodiment. As illustrated in Fig. 4, the operation that the mapping relationship between the brightness level of the display screen and the brightness compensation values is acquired specifically includes the following steps 401 to 404.

[0041] In step 401, respective actual color coordinates of a color of light emitted by the pixel driven with a set RGB values are acquired under each of different brightness levels of the display screen.

[0042] The set RGB values represent a color of light expected to be emitted by the pixel. The actual color coordinates represent an actual color of light emitted by the pixel, and may be obtained by directly using a detection device such as a spectrometer to measure the light emitted by the pixel. Exemplarily, when light emission of the pixel is driven with the same set RGB values, a dataset as illustrated in Table 1 is acquired in step 401. Table 1Brightness level of display screenActual color coordinates1X 1 , Y 1 , Z 1 2X 2 , Y 2 , Z 2 ............mX m , Y m , Z m

[0043] m is a positive integer smaller than or equal to a maximum brightness level that may be realized by the display screen. When different set RGB values are used as driving conditions for light emission of the pixel, a respective dataset as illustrated in Table 1 may be acquired for each of the set RGB values.

[0044] Moreover, in the dataset acquired for each of the set RGB values, the same brightness levels of the display screen are used. That is, colors of light emitted when the pixel is driven with different RGB values are acquired under the same brightness level of the display screen.

[0045] For example, when light emission of the pixel is driven with RGB values (255, 255, 0), actual color coordinates of light emitted by the pixel under brightness levels 0, 10, 20 and 30 of the display screen are acquired respectively. When light emission of the pixel is driven with RGB values (255, 0, 0), actual color coordinates of light emitted by the pixel under the brightness levels 0, 10, 20 and 30 of the display screen are acquired respectively.

[0046] In step 402, the reference color coordinates are selected from all the actual color coordinates obtained under the different brightness levels of the display screen.

[0047] The reference color coordinates serve as a reference for acquiring the brightness compensation values. The brightness compensation values are used in purpose of compensating for the influence, on the accuracy of color gamut calibration, of a brightness change of the display screen and ensuring the accuracy of color gamut calibration under any brightness level of the display screen. Therefore, the actual color coordinates acquired under any brightness level of the display screen may be set as the reference color coordinates in step 402.

[0048] A set RGB values corresponds to a respective set of reference color coordinates. Moreover, after the reference color coordinates are set, a corresponding relationship between the set RGB values and the reference color coordinates are stored. Based on this, the reference color coordinates may be conveniently acquired according to the original RGB values in the subsequent step.

[0049] In step 403, when light emission of the pixel is driven with the set RGB values, a color coordinate difference is acquired according to the reference color coordinates and actual color coordinates corresponding to each of the different brightness levels of the display screen.

[0050] The color coordinate difference also includes x-axis, y-axis and z-axis coordinates. In the color coordinate difference, a numerical value in each dimension is a difference between a coordinate value of the reference color coordinates and a coordinate value of the actual color coordinates in the same dimension. For example, if the reference color coordinates are (x 1 , y 1 , z 1 ) and the actual color coordinates are (x 1 ', y 1 ', z 1 '), the color coordinate difference is (x 1 -x 1 ', y 1 -y 1 ', z 1 -z 1 ').

[0051] When light emission of the pixel is driven with the same RGB values, the color coordinate differences represent the influence, on the color of light emitted by the pixel, of the different brightness levels of the display screen. Specifically, as the coordinate value in any dimension (the x axis, the y axis or the z axis) in the color coordinate difference is greater, it is indicated that the influence, on the dimension (the x axis, the y axis or the z axis), of a brightness level change of the display screen is greater. Similarly, a set RGB values corresponds to a group of color coordinate differences.

[0052] In step 404, a mapping relationship from a corresponding set of brightness compensation values to brightness levels of the display screen is acquired according to the color coordinate difference and the brightness level of the display screen.

[0053] Since the color coordinate difference includes three dimensions, step 404 specifically includes that: the mapping relationship from the corresponding set of brightness compensation values to the brightness levels of the display screen is acquired in the three dimensions of the color coordinate difference.

[0054] For each dimension of the color coordinate difference, a group of color coordinate differences corresponding to each of different brightness levels of the display screen is acquired in step 403. In such case, multiple discretely distributed data points are formed in a coordinate system with the brightness level of the display screen as an abscissa axis and a coordinate value of the color coordinate difference as an ordinate axis. Curve fitting is performed on the discretely distributed data points, to obtain a corresponding relationship between a coordinate value in the dimension of a color coordinate difference and a brightness level of the display screen.

[0055] Fig. 5 illustrates a schematic diagram of a procedure of a method for calibrating a color gamut of a display screen according to an exemplary embodiment. Step 404 is described with a group of color coordinate differences corresponding to a set RGB values as an example.

[0056] As illustrated in Fig. 5, a first coordinate system is established by taking the brightness level (dBv) of the display screen as an abscissa axis and taking an x-axis numerical value of the color coordinate difference as an ordinate axis. Multiple discretely distributed data points are formed in the first coordinate system according to x-axis numerical values in the color coordinate differences acquired in step 403 and the brightness levels of the display screen corresponding to the color coordinate differences. Curve fitting is performed on the multiple discretely distributed data points to obtain a mapping relationship from brightness levels of the display screen to the x-axis numerical values of the color coordinate differences. That is, a mapping relationship x = f x (dBv) from brightness compensation values corresponding to the x axis to the brightness levels of the display screen is acquired.

[0057] Similarly, a second coordinate system is established by taking the brightness level (dBv) of the display screen as an abscissa axis and taking a y-axis numerical value of the color coordinate difference as an ordinate axis. Multiple discretely distributed data points are formed in the second coordinate system according to y-axis numerical values in the color coordinate differences acquired in step 403 and the brightness levels of the display screen corresponding to the color coordinate differences. Curve fitting is performed on the multiple discretely distributed data points to obtain a mapping relationship from the brightness levels of the display screen to the y-axis numerical values of the color coordinate differences. That is, a mapping relationship y = f y (dBv) from brightness compensation values corresponding to the y axis to the brightness levels of the display screen is acquired.

[0058] Similarly, a third coordinate system is established by taking the brightness level (dBv) of the display screen as an abscissa axis and taking a z-axis numerical value of the color coordinate difference as an ordinate axis. Multiple data points are formed in the third coordinate system according to z-axis numerical values in the color coordinate differences acquired in step 403 and the brightness levels of the display screen corresponding to the color coordinate differences. Curve fitting is performed on the multiple data points to obtain a mapping relationship from the brightness levels of the display screen to the z-axis numerical values of the color coordinate differences. That is, a mapping relationship z = f z (dBv) from brightness compensation values corresponding to the z axis to the brightness levels of the display screen is acquired.

[0059] In this way, the mapping relationship between the set of brightness compensation values and the brightness level of the display screen is acquired through step 404. The mapping relationship is configured to determine the set of brightness compensation values according to the brightness of the display screen and the original RGB values in step 1021.

[0060] It is to be noted that, in step 401 to step 404, a set RGB values corresponds to a group of mapping relationships. The set RGB values may be an RGB input value in an existing color gamut mapping method three-dimensional lookup table (3d LUT). Optionally, there are 9 reference points in each dimension of the 3d LUT, and in such case, the 3d LUT includes 729 RGB input values. Optionally, there are 17 reference points in each dimension of 3dLUT, and in such case, 3dLUT includes 4913 RGB input values.

[0061] Moreover, the preset mapping relationship is substantially a corresponding relationship table of RGB values with respective corrected color coordinates, and the set RGB values may not be exhausted. Therefore, there may be the case that original RGB values of a pixel does not belong to the set RGB values in the mapping relationship. Under this condition, for such a pixel, the calibrated RGB values are determined by a 3d LUT interpolation operation after step 103.

[0062] Based on the abovementioned method for calibrating a color gamut, a device for calibrating a color gamut is also provided in embodiments of the present invention. Fig. 6 illustrates a block diagram of a device for calibrating a color gamut according to an exemplary embodiment. As illustrated in Fig. 6, the device includes a first acquisition module 610, a first determination module 620 and a second determination module 630.

[0063] The first acquisition module 610 is configured to acquire a brightness level of a display screen, and original red green blue (RGB) values of a color to be displayed by a pixel in the display screen.

[0064] The first determination module 620 is configured to determine, according to the brightness level of the display screen and the original RGB values, corrected color coordinates.

[0065] The second determination module 630 is configured to determine calibrated RGB values according to the corrected color coordinates, and driving, with the calibrated RGB values, light emission of the pixel in the display screen.

[0066] In an embodiment, Fig. 7 illustrates a block diagram of a device for calibrating a color gamut according to another exemplary embodiment. As illustrated in Fig. 7, the first determination module 620 includes a first determination unit 621, a first acquisition unit 622 and a second determination unit 623.

[0067] The first determination unit 621 is configured to determine, according to the brightness level of the display screen and the original RGB values, a set of brightness compensation values.

[0068] The first acquisition unit 622 is configured to acquire, according to the original RGB values, reference color coordinates corresponding to the RGB values.

[0069] The second determination unit 623 is configured to determine, according to the set of brightness compensation values and the reference color coordinates, the corrected color coordinates.

[0070] In an embodiment, the first determination unit 621 is specifically configured to determine, based on a preset mapping relationship, a brightness compensation value corresponding to each dimension of a color coordinate system according to the brightness level of the display screen and the original RGB values.

[0071] In an embodiment, Fig. 8 illustrates a block diagram of the device for calibrating the color gamut according to another exemplary embodiment. The color coordinate system includes an x axis, a y axis, and a z axis. As illustrated in Fig. 8, the second determination module 623 includes a first determination subunit 6231, a second determination subunit 6232 and a third determination subunit 6233.

[0072] The first determination subunit 6231 is configured to determine an x-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the x axis and an x-axis coordinate of the reference color coordinates.

[0073] The second determination subunit 6232 is configured to determine a y-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the y axis and a y-axis coordinate of the reference color coordinates.

[0074] The third determination subunit 6233 is configured to determine a z-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the z axis and a z-axis coordinate of the reference color coordinates.

[0075] In an embodiment, Fig. 9 illustrates a block diagram of the device for calibrating the color gamut according to another exemplary embodiment. As illustrated in Fig. 9, the device for calibrating the color gamut of the display screen further includes a second acquisition module 910, a third determination module 920, a third acquisition module 930 and a fourth acquisition module 940.

[0076] The second acquisition module 910 is configured to acquire, under each of different brightness levels of the display screen, respective actual color coordinates of a color of light emitted by the pixel driven with set RGB values.

[0077] The third determination module 920 is configured to select the reference color coordinates from all the actual color coordinates obtained under the different brightness levels of the display screen.

[0078] The third acquisition module 930 is configured to: when light emission of the pixel is driven with the set RGB values, acquire a color coordinate difference according to the reference color coordinates and actual color coordinates corresponding to each of the different brightness levels of the display screen.

[0079] The fourth acquisition module 940 is configured to acquire, according to the color coordinate difference and the corresponding brightness level of the display screen, a mapping relationship from a corresponding set of brightness compensation values to brightness levels of the display screen.

[0080] In an embodiment, Fig. 10 illustrates a block diagram of the device for calibrating the color gamut according to another exemplary embodiment. As illustrated in Fig. 10, the second determination module 630 includes a third determination unit 631 and a fourth determination unit 632.

[0081] The third determination unit 631 is configured to determine the calibrated color coordinates according to the corrected color coordinates.

[0082] The fourth determination unit 632 is configured to determine the calibrated RGB values according to the calibrated color coordinates.

[0083] In an embodiment, the third determination unit 631 is specifically configured to: convert, according to a rule of conversion from a source color gamut of the display screen to a target color gamut of the display screen, the corrected color coordinates into the calibrated color coordinates.

[0084] In addition, an electronic device is provided in embodiments of the present invention. Fig. 11 illustrates a block diagram of an electronic device according to an exemplary embodiment. As illustrated in Fig. 11, the electronic device 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power component 1106, a multimedia component 1108, an audio component 1110, an input / output (I / O) interface 1112, a sensor component 1114, a communication component 1116 and an image acquisition component.

[0085] The processing component 1102 typically controls overall operation of the electronic device 1100, such as operation associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions. Moreover, the processing component 1102 may include one or more modules which facilitate interaction of the processing component 1102 with the other components. For instance, the processing component 1102 may include a multimedia module to facilitate interaction of the multimedia component 1108 with the processing component 1102.

[0086] The memory 1104 is configured to store various types of data to support the operation of the electronic device 1100. Examples of such data include instructions for any application or methods operated on the electronic device 1100, contacts data, phonebook data, messages, pictures, video, etc. The memory 1104 may be implemented by any type of volatile or non-volatile memories, or a combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic memory, a flash memory, and a magnetic or optical disk.

[0087] The power component 1106 provides power for various components of the electronic device 1100. The power component 1106 may include a power management system, one or more power supplies, and other components associated with generation, management and distribution of power for the electronic device 1100.

[0088] The multimedia component 1108 includes a display screen providing an output interface between the electronic device 1100 and a target object. In some embodiments, the display screen includes a display component and a touch panel. In this way, the display screen may be implemented as a touch screen to receive an input signal from the target object. The touch panel includes one or more touch sensors to sense touches, swipes and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or slide action but also detect a duration and pressure associated with the touch or slide action.

[0089] The audio component 1110 is configured to output and / or input an audio signal. For example, the audio component 1110 includes a Microphone (MIC), and the MIC is configured to receive an external audio signal when the electronic device 1100 is in the operation mode, such as a call mode, a recording mode and a voice recognition mode. The received audio signal may further be stored in the memory 1104 or sent through the communication component 1116. In some embodiments, the audio component 1110 further includes a speaker configured to output the audio signal.

[0090] The I / O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, a button or the like.

[0091] The sensor component 1114 includes one or more sensors configured to provide status assessment in various aspects for the electronic device 1100. For instance, the sensor component 1114 may detect an on / off status of the electronic device 1100 and relative positioning of components, such as a display and keypad of the electronic device 1100, and the sensor component 1114 may further detect a change in a position of the electronic device 1100 or a component, presence or absence of contact between the target object and the electronic device 1100, orientation or acceleration / deceleration of the electronic device 1100 and a temperature change of the electronic device 1100. For another example, the sensor component 1114 further includes a light sensor, and the light sensor is arranged below the OLED display screen.

[0092] The communication component 1116 is configured to facilitate wired or wireless communication between the electronic device 1100 and another device. The electronic device 1100 may access a communication standard based wireless network, such as a Wireless Fidelity (WiFi) network, a 2nd-Generation (2G) or 3rd-Generation (3G) network or a combination thereof. In an exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system through a broadcast channel. In an exemplary embodiment, the communication component 1116 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on a Radio Frequency Identification (RFID) technology, an Infrared Data Association (IrDA) technology, an Ultra-Wide Band (UWB) technology, a Bluetooth (BT) technology or another technology.

[0093] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components.

[0094] In the description of the present disclosure, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," and the like can indicate a specific feature described in connection with the embodiment or example, a structure, a material or feature included in at least one embodiment or example. In the present disclosure, the schematic representation of the above terms is not necessarily directed to the same embodiment or example.

[0095] Moreover, although features can be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination can be directed to a subcombination or variation of a subcombination.

[0096] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing can be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0097] In an exemplary embodiment, a readable storage medium having executable instructions stored thereon is also provided in embodiments of the present invention. The executable instructions may be executed by the processor of the electronic device to implement the steps of the abovementioned method for calibrating a color gamut of a display screen. The readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disc, an optical data storage device or the like.

[0098] Other implementations of the present invention will be apparent to those skilled in the art from consideration of the specification and practice of the present invention. This present invention is intended to cover any variations, usages, or adaptations of the present invention following the general principles thereof and including such departures from the present invention as come within known or customary practice in the art. It is intended that the specification and examples be considered as exemplary only, with a true scope of the present invention being indicated by the claims.

Claims

1. A method for calibrating a color gamut of a display screen, comprising the following steps: acquiring (101) a brightness level of the display screen, and original red green blue, RGB, values of a color to be displayed by a pixel in the display screen, wherein the original RGB values are tristimulus values of the color to be displayed by the pixel; determining (102), according to the brightness level of the display screen and the original RGB values, corrected color coordinates; and determining (103) calibrated RGB values according to the corrected color coordinates, and driving, with the calibrated RGB values, light emission of the pixel in the display screen; wherein determining (102), according to the brightness level of the display screen and the original RGB values, the corrected color coordinates comprises: determining (1021), according to the brightness level of the display screen and the original RGB values, a set of brightness compensation values, wherein the set of brightness compensation values include a plurality of brightness compensation values, the number of brightness compensation values is equal to the number of dimensions of a color coordinate system, and each brightness compensation value corresponding to a dimension of the color coordinate system, the brightness compensation values are used for compensating for the color coordinates in different dimensions when the original RGB values are converted into the color coordinate; acquiring (1022), according to the original RGB values, reference color coordinates corresponding to the RGB values; and determining (1023) the corrected color coordinates by compensating the reference color coordinates according to the set of brightness compensation values; wherein determining (1021), according to the brightness level of the display screen and the original RGB values, the set of brightness compensation values comprises: determining, based on a preset mapping relationship, a brightness compensation value corresponding to each dimension of the color coordinate system according to the brightness level of the display screen and the original RGB values.

2. The method according to claim 1, wherein the color coordinate system includes an x axis, a y axis, and a z axis, and determining, according to the set of brightness compensation values and the reference color coordinates, the corrected color coordinates comprises: determining an x-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the x axis and an x-axis coordinate of the reference color coordinates; determining a y-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the y axis and a y-axis coordinate of the reference color coordinates; and determining a z-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the z axis and a z-axis coordinate of the reference color coordinates.

3. The method according to any of claims 1 to 2, further comprising: acquiring (401), under each of different brightness levels of the display screen, respective actual color coordinates of a color of light emitted by the pixel driven with set RGB values; selecting (402) the reference color coordinates from all the actual color coordinates obtained under the different brightness levels of the display screen; when light emission of the pixel is driven with the set RGB values, acquiring (403) a color coordinate difference according to the reference color coordinates and actual color coordinates corresponding to each of the different brightness levels of the display screen; and acquiring (404), according to the color coordinate difference and the corresponding brightness level of the display screen, a mapping relationship from a corresponding set of brightness compensation values to brightness levels of the display screen.

4. The method according to any of claims 1 to 3, wherein determining (103) the calibrated RGB values according to the corrected color coordinates comprises: determining (1031) the calibrated color coordinates according to the corrected color coordinates; and determining (1032) the calibrated RGB values according to the calibrated color coordinates.

5. The method according to claim 4, wherein determining (1032) the calibrated color coordinates according to the corrected color coordinates comprises: converting, according to a rule of conversion from a source color gamut of the display screen to a target color gamut of the display screen, the corrected color coordinates into the calibrated color coordinates.

6. A device for calibrating a color gamut, comprising: a first acquisition module (610), configured to acquire a brightness level of a display screen, and original red green blue, RGB, values of a color to be displayed by a pixel in the display screen, wherein the original RGB values are tristimulus values of the color to be displayed by the pixel; a first determination module (620), configured to determine, according to the brightness level of the display screen and the original RGB values, corrected color coordinates; and a second determination module (630), configured to determine calibrated RGB values according to the corrected color coordinates, and driving, with the calibrated RGB values, light emission of the pixel in the display screen; wherein the first determination module (620) comprises: a first determination unit (621), configured to determine, according to the brightness level of the display screen and the original RGB values, a set of brightness compensation values, wherein the set of brightness compensation values include a plurality of brightness compensation values, the number of the brightness compensation values is equal to the number of dimensions of a color coordinate system, and each brightness compensation value corresponding to a dimension of the color coordinate system, the brightness compensation values are used for compensating for the color coordinates in different dimensions when the original RGB values are converted into the color coordinate; a first acquisition unit (622), configured to acquire, according to the original RGB values, reference color coordinates corresponding to the RGB values; and a second determination unit (623), configured to determine the corrected color coordinates by compensating the reference color coordinates according to the set of brightness compensation values; wherein the first determination unit (621) is configured to: determine, based on a preset mapping relationship, a brightness compensation value corresponding to each dimension of the color coordinate system according to the brightness level of the display screen and the original RGB values.

7. The device according to claim 6, wherein the color coordinate system includes an x axis, a y axis, and a z axis, and the second determination unit (623) comprises: a first determination subunit (6231), configured to determine an x-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the x axis and an x-axis coordinate of the reference color coordinates; a second determination subunit (6232), configured to determine a y-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the y axis and a y-axis coordinate of the reference color coordinates; and a third determination subunit (6233), configured to determine a z-axis coordinate of the corrected color coordinates, according to a brightness compensation value corresponding to the z axis and a z-axis coordinate of the reference color coordinates.

8. The device according to any of claims 6 to 7, further comprising: a second acquisition module (910), configured to acquire, under each of different brightness levels of the display screen, respective actual color coordinates of a color of light emitted by the pixel driven with set RGB values; a third determination module (920), configured to select the reference color coordinates from all the actual color coordinates obtained under the different brightness levels of the display screen; a third acquisition module (930), configured to: when light emission of the pixel is driven with the set RGB values, acquire a color coordinate difference according to the reference color coordinates and actual color coordinates corresponding to each of the different brightness levels of the display screen; and a fourth acquisition module (940), configured to acquire, according to the color coordinate difference and the corresponding brightness level of the display screen, a mapping relationship from a corresponding set of brightness compensation values to brightness levels of the display screen.

9. The device according to any of claims 6 to 8, wherein the second determination module (630) comprises: a third determination unit (631), configured to determine the calibrated color coordinates according to the corrected color coordinates; and a fourth determination unit (632), configured to determine the calibrated RGB values according to the calibrated color coordinates.

10. The device according to claim 9, wherein the third determination unit (631) is configured to: convert, according to a rule of conversion from a source color gamut of the display screen to a target color gamut of the display screen, the corrected color coordinates into the calibrated color coordinates.

11. A computer-readable storage medium having executable instructions stored thereon, wherein the executable instructions, when executed by a processor, cause the processor to implement the method according to any of claims 1-5.