Color calibration method, device, electronic device and storage medium

By calculating the color calibration method of the display screen based on XYZ three stimulus values ​​based on some color nodes, the problems of complex, inefficient and high cost of color calibration in the prior art are solved, and efficient and accurate color calibration effects are achieved.

CN116363985BActive Publication Date: 2025-09-02BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111619256.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-09-02
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

In the prior art, the color calibration process is complex, poor stability, low efficiency and high cost, and cannot meet the color calibration requirements.

Method used

Based on the standard RGB value of the predetermined color node sample, the XYZ tri-stimulus value of the display screen is determined, and the display color gamut is calibrated through mapping relationships and conversion matrix. The XYZ tri-stimulus value of some color nodes is used to calculate the values ​​of all nodes, and the calibration efficiency and accuracy are improved in combination with lookup tables and fitting processing.

Benefits of technology

It shortens measurement time, reduces calibration costs, improves the efficiency and accuracy of color calibration, and ensures the stability and quality of display effects on the display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116363985B_ABST
    Figure CN116363985B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a color calibration method, comprising: determining, based on the standard RGB values ​​of predetermined color node samples, the XYZ tristimulus values ​​corresponding to the predetermined color node samples displayed on a display screen; determining, based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated, the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen; wherein the predetermined color node samples are part of the color nodes to be calibrated; based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen, calibrating the display color gamut of the display screen. In the present disclosure, compared to a method that requires measuring the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced. Moreover, since the display color gamut is calibrated based on both the standard RGB values ​​and the XYZ tristimulus values ​​corresponding to the color node to be calibrated, the calibration can be more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display technology but is not limited to the field of display technology, and in particular to a method, device, electronic device, and storage medium for color calibration. Background Art

[0002] Display technology is developing rapidly. Active-matrix organic light-emitting diode (AMOLED) screens, for example, offer advantages such as a wide color gamut and low power consumption. Products using AMOLED screens are becoming a mainstream choice for mobile phones, tablets, and other end products. Related technologies require color calibration of the screen, which provides users with higher-quality displays.

[0003] However, in the related art, the color calibration process is complicated, and has poor stability, low efficiency and high cost, and cannot meet the color calibration requirements. Summary of the Invention

[0004] The embodiments of the present disclosure disclose a color calibration method, device, electronic device, and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a color calibration method is provided, including:

[0006] Determining, based on the standard RGB value of the predetermined color node sample, the XYZ tristimulus value corresponding to the predetermined color node sample displayed on the display screen;

[0007] Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated;

[0008] The display color gamut of the display screen is calibrated based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen.

[0009] In one embodiment, the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated includes at least:

[0010] A mapping relationship between XYZ tristimulus values ​​corresponding to standard RGB values ​​having single primary color differences in the color node to be calibrated;

[0011] Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen at least includes:

[0012] Based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color difference, the XYZ tristimulus values ​​of the color node to be calibrated with single primary color difference displayed on the display screen are determined.

[0013] In one embodiment, the mapping relationship includes at least a linear correlation relationship;

[0014] The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following:

[0015] There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated;

[0016] There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated;

[0017] There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

[0018] In one embodiment, determining the XYZ tristimulus value corresponding to the color node to be calibrated displayed on the display screen includes at least one of the following:

[0019] Determining, based on the determined X coordinate value of the XYZ tristimulus value and the first linear correlation, an X coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0020] Determine, based on the determined Y coordinate value of the XYZ tristimulus value and the second linear correlation, the Y coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0021] Determining, based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation, a Z coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0022] The method further comprises:

[0023] Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space are determined.

[0024] In one embodiment, calibrating the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen includes:

[0025] Based on a conversion matrix for converting from XYZ space to RGB space, converting the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen;

[0026] The display color gamut of the display screen is calibrated based on the original RGB value and the standard RGB value of the color node to be calibrated.

[0027] In one embodiment, calibrating the display color gamut of the display screen based on the original RGB values ​​and the standard RGB values ​​of the color nodes to be calibrated includes:

[0028] Determining a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated;

[0029] Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

[0030] In one embodiment, the method further comprises:

[0031] Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated;

[0032] Determining a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut;

[0033] Obtaining the fitted target RGB value includes:

[0034] Based on the first lookup table LUT1 and the second lookup table LUT2, the standard RGB value and the target RGB value are fitted to obtain the fitted target RGB value.

[0035] According to a second aspect of an embodiment of the present disclosure, there is provided a color calibration device, including:

[0036] A determination module, configured to determine, based on a standard RGB value of a predetermined color node sample, an XYZ tristimulus value corresponding to the predetermined color node sample displayed on a display screen;

[0037] Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated;

[0038] The calibration module is configured to calibrate the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen.

[0039] In one embodiment, the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated includes at least:

[0040] A mapping relationship between XYZ tristimulus values ​​corresponding to standard RGB values ​​having single primary color differences in the color node to be calibrated;

[0041] The determining module is further configured to:

[0042] Based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color difference, the XYZ tristimulus values ​​of the color node to be calibrated with single primary color difference displayed on the display screen are determined.

[0043] In one embodiment, the determining module is further configured to: the mapping relationship includes at least a linear correlation relationship;

[0044] The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following:

[0045] There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated;

[0046] There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated;

[0047] There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

[0048] In one embodiment, the determining module is configured to include at least one of the following:

[0049] Determining, based on the determined X coordinate value of the XYZ tristimulus value and the first linear correlation, an X coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0050] Determine, based on the determined Y coordinate value of the XYZ tristimulus value and the second linear correlation, the Y coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0051] Determining, based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation, a Z coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0052] The method further comprises:

[0053] Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space are determined.

[0054] In one embodiment, the calibration module is configured to:

[0055] Based on a conversion matrix for converting from XYZ space to RGB space, converting the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen;

[0056] The display color gamut of the display screen is calibrated based on the original RGB value and the standard RGB value of the color node to be calibrated.

[0057] In one embodiment, the calibration module is configured to:

[0058] Determining a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated;

[0059] Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

[0060] In one embodiment, the determining module is configured to:

[0061] Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated;

[0062] Determining a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut;

[0063] The calibration module is used to:

[0064] Based on the first lookup table LUT1 and the second lookup table LUT2, the standard RGB value and the target RGB value are fitted to obtain the fitted target RGB value.

[0065] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including:

[0066] processor;

[0067] a memory for storing instructions executable by the processor;

[0068] The processor is configured to implement the method described in any embodiment of the present disclosure when running the executable instructions.

[0069] According to a fourth aspect of an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer executable program, and when the executable program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.

[0070] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0071] In an embodiment of the present disclosure, based on the standard RGB values ​​of predetermined color node samples, the XYZ tristimulus values ​​corresponding to the predetermined color node samples displayed on the display screen are determined; based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated, the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen are determined; wherein the predetermined color node samples are part of the color nodes to be calibrated; in this way, it is only necessary to determine the XYZ tristimulus values ​​corresponding to some of the color nodes to be calibrated, and then the XYZ tristimulus values ​​corresponding to all the color nodes to be calibrated can be obtained based on the XYZ tristimulus values ​​corresponding to the determined part of the color nodes. Compared with the method of measuring the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced. Based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen, the display color gamut of the display screen is calibrated. In this way, since the display color gamut is calibrated based on the standard RGB values ​​and the XYZ tristimulus values ​​corresponding to the color node to be calibrated, the calibration will be more accurate.

[0072] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0074] Figure 1 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0075] Figure 2 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0076] Figure 3 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0077] Figure 4 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0078] Figure 5 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0079] Figure 6 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0080] Figure 7 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0081] Figure 8 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0082] Figure 9 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0083] Figure 10 The figure is a flowchart of a color calibration method according to an exemplary embodiment.

[0084] Figure 11 The figure is a block diagram of a color calibration device according to an exemplary embodiment.

[0085] Figure 12 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0086] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.

[0087] To facilitate understanding by those skilled in the art, the embodiments of the present disclosure list multiple implementation methods to clearly illustrate the technical solutions of the embodiments of the present disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in the embodiments of the present disclosure can be implemented individually, or can be implemented together with the methods of other embodiments in the embodiments of the present disclosure, or can be implemented together with some methods in other related technologies individually or in combination; the embodiments of the present disclosure do not limit this.

[0088] To facilitate understanding of any embodiment of the present disclosure, first, related solutions of color calibration are described through exemplary embodiments.

[0089] See Figure 1 Terminal manufacturers use a calibration solution when calibrating the color of products with displays, such as mobile phones, tablets, and laptops. Displays are calibrated on the production line using computer terminals and color measurement equipment such as the CA410 calibration device. The resulting 3D LUT file is saved to a designated location and then used when the product is used to maintain accurate display color.

[0090] like Figure 2 As shown, this embodiment provides a color calibration method, including:

[0091] Step 21: Based on the standard RGB value of the predetermined color node sample, determine the XYZ tristimulus value corresponding to the predetermined color node sample displayed on the display screen;

[0092] Step 22: Determine the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated;

[0093] Step 23: calibrate the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen.

[0094] Here, the method can be applied to a terminal, which can be but is not limited to a computer, a mobile phone, a wearable device, a vehicle-mounted terminal, a road side unit (RSU), a smart home terminal, a dedicated display calibration device, an industrial sensor device and / or a medical device, etc.

[0095] In one embodiment, there may be N color nodes to be calibrated and M predetermined color node samples, where the predetermined color node samples may be selected from the color nodes to be calibrated; where N > M. A color node may be a collection of information, for example, a collection of RGB data. A color node may correspond to one pixel, multiple pixels, or a display area, without limitation. The information collection may be, but is not limited to, a collection of color information and may also include parameters such as saturation, without limitation in this disclosure.

[0096] In one embodiment, M can be determined based on a required calibration efficiency parameter, wherein the calibration efficiency parameter is used to indicate the efficiency required for calibration. Exemplarily, in response to the calibration efficiency parameter being greater than a parameter threshold, M is less than a predetermined value. Alternatively, in response to the calibration efficiency parameter being less than a parameter threshold, M is greater than a predetermined value. In this way, M can be adapted to the calibration efficiency parameter. It should be noted that, in this disclosure, "less than" includes the meaning of "less than or equal to", and "greater than" includes the meaning of "greater than or equal to".

[0097] In one embodiment, M can be determined based on a required calibration accuracy parameter, wherein the calibration accuracy parameter indicates the required calibration accuracy. For example, in response to the calibration accuracy parameter being greater than a parameter threshold, M is less than a predetermined value. Alternatively, in response to the calibration accuracy parameter being less than the parameter threshold, M is greater than a predetermined value. Thus, M can be adapted to the calibration accuracy parameter.

[0098] In one embodiment, the standard RGB values ​​of predetermined color node samples within a predetermined display area of ​​a display screen may be obtained, wherein the area of ​​the predetermined display area is smaller than the area of ​​the display screen; based on the standard RGB values ​​of the predetermined color node samples, the XYZ tristimulus values ​​corresponding to the predetermined color node samples displayed on the display screen are determined; based on the mapping relationship between the determined XYZ tristimulus values ​​and the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated, the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen are determined; wherein the predetermined color node samples are part of the color nodes to be calibrated; based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen, the display color gamut of the display screen is calibrated. In this way, when calibrating the display screen, there is no need to obtain color node samples of the entire display screen, which can further improve the calibration efficiency of the terminal.

[0099] In one embodiment, the predetermined display area may be determined based on a calibration efficiency parameter and / or a calibration accuracy parameter. Exemplarily, in response to the calibration accuracy parameter being greater than a parameter threshold, the area of ​​the predetermined display area is greater than a predetermined value. Alternatively, in response to the calibration accuracy parameter being less than the parameter threshold, the area of ​​the predetermined display area is less than the predetermined value. In this way, the area of ​​the display area may be adapted to the calibration accuracy parameter. Exemplarily, in response to the calibration efficiency parameter being greater than the parameter threshold, the area of ​​the predetermined display area is less than the predetermined value. Alternatively, in response to the calibration efficiency parameter being less than the parameter threshold, the area of ​​the predetermined display area is greater than the predetermined value. In this way, the area of ​​the predetermined display area may be adapted to the calibration accuracy parameter.

[0100] In one embodiment, after determining the standard RGB value of a predetermined color node sample, the XYZ tristimulus values ​​corresponding to the standard RGB value of the predetermined color node sample can be measured; and a corresponding relationship between the standard RGB value of the predetermined color node sample and the XYZ tristimulus values ​​can be established. It should be noted that the corresponding relationship between the standard RGB value of the predetermined color node sample and the average value of the XYZ tristimulus values ​​corresponding to the standard RGB value of the predetermined color node sample can be established by measuring the average value of the XYZ tristimulus values ​​corresponding to the standard RGB value of the predetermined color node sample multiple times. In this way, the accuracy of the measured XYZ tristimulus values ​​can be improved.

[0101] In one embodiment, the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen can be determined based on an established correspondence between the standard RGB values ​​of predetermined color node samples and the XYZ tristimulus values, and a mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated. The predetermined color node samples are a portion of the color nodes to be calibrated. Based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen, the display color gamut of the display screen is calibrated. Here, the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of different color nodes to be calibrated have a linear correlation. The dominant correlation can be a linear correlation between at least one of X, Y, and Z of the XYZ tristimulus values, where X, Y, and Z correspond to a single color channel. Thus, after determining the correspondence between the standard RGB values ​​of the predetermined color node samples and the XYZ tristimulus values, the XYZ values ​​corresponding to the standard RGB value of any color node to be calibrated can be determined based on the linear correlation. Determining the XYZ corresponding to the standard RGB value of any color node to be calibrated through linear correlation shortens the measurement time, improves calibration efficiency, and reduces calibration costs compared to the method that requires measuring the XYZ stimulus values ​​corresponding to all color nodes.

[0102] In one embodiment, based on the determined XYZ tristimulus values ​​and a predetermined function, the XYZ tristimulus values ​​corresponding to the color node to be calibrated when displayed on the display are determined; wherein the predetermined color node samples are a portion of the color nodes to be calibrated, and the predetermined function indicates a mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated when displayed on the display, the display color gamut is calibrated. Here, the predetermined function can be a linear function or a power function.

[0103] In an embodiment of the present disclosure, based on the standard RGB values ​​of predetermined color node samples, the XYZ tristimulus values ​​corresponding to the display color displayed on the display screen are determined; based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated, the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen are determined; wherein the predetermined color node samples are part of the color nodes to be calibrated; in this way, it is only necessary to determine the XYZ tristimulus values ​​corresponding to some of the color nodes to be calibrated, and then the XYZ tristimulus values ​​corresponding to all the color nodes to be calibrated can be obtained based on the XYZ tristimulus values ​​corresponding to the determined part of the color nodes. Compared with the method of measuring the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced. Based on the standard RGB values ​​of the color node to be calibrated and the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen, the display color gamut of the display screen is calibrated. In this way, since the display color gamut is calibrated based on the standard RGB values ​​and the XYZ tristimulus values ​​corresponding to the color node to be calibrated, the calibration will be more accurate.

[0104] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0105] like Figure 3 As shown, this embodiment provides a color calibration method, wherein the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated at least includes: the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated. The method includes:

[0106] Step 31 : Determine the XYZ tristimulus values ​​of the color node to be calibrated with a single primary color difference displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with a single primary color difference.

[0107] In one embodiment, there is a difference in X corresponding to the standard RGB value of the color node to be calibrated. Based on the determined XYZ tristimulus values ​​and the mapping relationship between the different X values, the XYZ tristimulus values ​​of the color node to be calibrated where the display screen displays a single primary color difference are determined.

[0108] In one embodiment, there is a difference in Y corresponding to the standard RGB value of the color node to be calibrated. Based on the determined XYZ tristimulus values ​​and the mapping relationship between the different Y values, the XYZ tristimulus values ​​of the color node to be calibrated where the display screen displays a single primary color difference are determined.

[0109] In one embodiment, there is a difference in Z corresponding to the standard RGB value of the color node to be calibrated. Based on the determined XYZ tristimulus values ​​and the mapping relationship between the different Z values, the XYZ tristimulus values ​​of the color node to be calibrated where the display screen displays a single primary color difference are determined.

[0110] In this way, it is only necessary to determine the XYZ tristimulus values ​​corresponding to some color nodes from the color nodes to be calibrated, and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color differences. Then, based on the determined XYZ tristimulus values ​​corresponding to some color nodes, the XYZ tristimulus values ​​corresponding to all color nodes to be calibrated can be obtained. Compared with the method of needing to measure the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced.

[0111] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0112] In one embodiment, the mapping relationship includes at least a linear correlation relationship;

[0113] The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following:

[0114] There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated;

[0115] There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated;

[0116] There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

[0117] In this way, it is only necessary to determine the XYZ tristimulus values ​​corresponding to some color nodes from the color nodes to be calibrated, and the explicit correlation between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color differences. Then, based on the determined XYZ tristimulus values ​​corresponding to some color nodes, the XYZ tristimulus values ​​(for example, coordinate values) corresponding to all color nodes to be calibrated can be obtained. Compared with the method of needing to measure the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced.

[0118] like Figure 4 As shown, this embodiment provides a color calibration method, which further includes:

[0119] Step 41: Determine the X coordinate value of the color node to be calibrated with a single primary color difference displayed on the display screen based on the determined X coordinate value of the XYZ tristimulus values ​​and the first linear correlation; determine the Y coordinate value of the color node to be calibrated with a single primary color difference displayed on the display screen based on the determined Y coordinate value of the XYZ tristimulus values ​​and the second linear correlation; and determine the Z coordinate value of the color node to be calibrated with a single primary color difference displayed on the display screen based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation.

[0120] Step 42: Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, determine the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space.

[0121] Here, the X coordinate, Y coordinate, and Z coordinate may correspond to coordinates in a color space, and the values ​​of the X coordinate, Y coordinate, and Z coordinate may be used to adjust or compensate for target RGB values ​​corresponding to the standard RGB values ​​to achieve color calibration.

[0122] In one embodiment, the first linear correlation, the second linear correlation and / or the third linear correlation may be stored in a storage area in advance. Here, the first linear correlation, the second linear correlation and the third linear correlation may correspond to different linear functions.

[0123] See Figure 5 By modeling the sample data, we found that the XYZ values ​​under the same channel show a strong linear correlation. Here, the same channel can refer to the channels corresponding to X, Y, and Z. For example, the distribution between the X stimulus values ​​corresponding to the channel (16, 0, 0) to (255, 0, 0) is as follows: Figure 5 The straight line shown here takes a value every 16 seconds between 16 and 255.

[0124] In this way, it is only necessary to determine the XYZ tristimulus values ​​corresponding to some color nodes from the color nodes to be calibrated, and the explicit correlation between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color differences. Then, based on the determined XYZ tristimulus values ​​corresponding to some color nodes, the XYZ tristimulus values ​​(for example, coordinate values) corresponding to all color nodes to be calibrated can be obtained. Compared with the method of needing to measure the XYZ tristimulus values ​​corresponding to all color nodes, the measurement time is shortened, the calibration efficiency can be improved, and the calibration cost can be reduced.

[0125] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0126] like Figure 6 As shown, this embodiment provides a color calibration method, which further includes:

[0127] Step 61: Based on a conversion matrix for converting from XYZ space to RGB space, convert the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen;

[0128] Step 62: Calibrate the display color gamut of the display screen based on the original RGB values ​​and the standard RGB values ​​of the color nodes to be calibrated.

[0129] In one embodiment, a conversion matrix is ​​pre-set, which is a matrix for converting XYZ space of XYZ tristimulus values ​​to RGB space; the conversion matrix is ​​used to convert the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to the original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen, thereby obtaining the original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen. Exemplarily, after obtaining the original RGB values, the display color gamut of the display screen can be calibrated based on the difference between the original RGB values ​​and the standard RGB values. It should be noted that the value used for calibration is not limited to the difference.

[0130] In one embodiment, the display color gamut may correspond to a target RGB value, and calibrating the display color gamut of the display screen may be calibrating the target RGB value. For example, after obtaining the original RGB value, the target RGB value may be calibrated based on the difference between the original RGB value and the standard RGB value.

[0131] In this way, the conversion matrix can be used to convert between XYZ tristimulus values ​​and original RGB values ​​to obtain the original RGB values. Since the display color gamut is calibrated based on both the standard RGB values ​​and the RGB values, the calibration is more accurate, making the display screen display more accurate after calibration.

[0132] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0133] like Figure 7 As shown, this embodiment provides a color calibration method, which further includes:

[0134] Step 71: Determine a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated;

[0135] Step 72: Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

[0136] Here, the standard RGB value of each color node to be calibrated can determine a target RGB value of a target color gamut.

[0137] In one embodiment, a fitting function can be obtained after fitting the original RGB value and the target RGB value. Based on the fitting function, the fitted target RGB value corresponding to any standard RGB value can be obtained to achieve color calibration, making the display screen display more accurate.

[0138] In one embodiment, after determining the fitted target RGB value, the target RGB value can be stored in a storage area of ​​a display screen and / or a terminal, and displayed using the fitted target RGB value. Since the target RGB is calibrated, it can provide a better user experience when displayed.

[0139] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0140] like Figure 8 As shown, this embodiment provides a color calibration method, which further includes:

[0141] Step 81: Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated;

[0142] Step 82: Determine a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut;

[0143] Step 83 : Based on the first lookup table LUT1 and the second lookup table LUT2 , perform fitting processing on the standard RGB value and the target RGB value to obtain the fitted target RGB value.

[0144] In one embodiment, a mapping relationship between the original RGB values ​​and the standard RGB values ​​of the color node to be calibrated is established, and a first lookup table LUT1 is determined based on the first mapping relationship. It should be noted that after obtaining the first mapping relationship, an interpolation operation can be performed using the first mapping relationship to obtain the interpolated first lookup table LUT1.

[0145] In one embodiment, a second mapping relationship is established between the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut, and a second lookup table LUT2 is determined based on the second mapping relationship. It should be noted that after obtaining the second mapping relationship, an interpolation operation can be performed using the second mapping relationship to obtain the interpolated second lookup table LUT2.

[0146] In one embodiment, based on the first mapping relationship and the second mapping relationship, the standard RGB value and the target RGB value are fitted using the original RGB to obtain the fitted target RGB value.

[0147] In one embodiment, a third mapping relationship can be determined based on the first mapping relationship and the second mapping relationship. The third mapping relationship includes the relationship between the original RGB, the standard RGB, and the target RGB. The standard RGB values ​​and the target RGB values ​​can be fitted based on the third mapping relationship to obtain the fitted target RGB values. Here, the third mapping relationship can correspond to a third lookup table LUT3. Before using the third lookup table LUT3, an interpolation operation can be performed to obtain the interpolated third lookup table LUT3. This LUT3 can then be used for display on the display screen.

[0148] In this way, the first lookup table and the second lookup table can be used to quickly perform fitting processing on the standard RGB value and the target RGB value to obtain the fitted target RGB value, which can greatly improve the calibration efficiency.

[0149] It should be noted that those skilled in the art will understand that the method provided in the embodiments of the present disclosure may be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0150] In order to better understand the embodiments of the present disclosure, the technical solution of the present disclosure is further described below through an exemplary embodiment:

[0151] Example 1:

[0152] See Figure 9 In this embodiment, a color calibration method is provided. The method can be applied to a calibration system. The calibration system can include a calibration device CA410, a display screen, and a terminal computer. The method further includes:

[0153] Step 91: Ensure that the calibration device CA410, the display screen, and the terminal computer are properly connected.

[0154] Step 92: Switch the calibration system to the test mode through a switching instruction.

[0155] Step 93: In actual verification, 18 images are required as input predetermined color node samples. The XYZ tristimulus values ​​corresponding to the predetermined color node samples displayed on the display screen are determined;

[0156] Step 94: Figure 10 Based on the XYZ tristimulus values, the XYZ tristimulus values ​​of all 4913 predetermined color node samples are calculated and generated. In this way, the correspondence between the standard RGB and XYZ tristimulus values ​​of the display itself is obtained, providing data for subsequent color gamut conversion.

[0157] Steps 93 and 94 are to obtain the native color node information of the screen and establish the correspondence between the RGB coordinates of the 4913 color nodes and the XYZ tristimulus values. In order to ensure the calibration efficiency, it is impossible to measure the 4913 nodes one by one. A limited number of nodes are measured to estimate the XYZ values ​​of other nodes through certain rules. Through modeling of actual data, it is found that the XYZ values ​​under the same channel show a strong linear correlation. Based on the above rules, the XYZ values ​​under the same channel can be used to predict the remaining node values ​​from a limited number of input nodes through function fitting. The prediction function can be a linear function or a power function, which can be selected according to the characteristics of the display. For example Figure 10 , to calculate and generate the XYZ values ​​of all 4913 nodes, so that the corresponding relationship between the RGB and XYZ of the display itself is obtained to provide data for subsequent color gamut conversion.

[0158] Step 95: Convert the predicted XYZ value back to the RGB node (corresponding to the original RGB value in this disclosure). There is an error between this RGB node and the ideal RGB node (corresponding to the target RGB value). This step is to find this error and use the error value to compensate.

[0159] Step 96: Determine a first lookup table LUT1 based on the original RGB values ​​and the standard RGB values ​​of the color nodes to be calibrated; determine a second lookup table LUT2 based on the standard RGB values ​​of the color nodes to be calibrated and the target RGB values ​​of the determined target color gamut; and perform fitting processing on the standard RGB values ​​and the target RGB values ​​based on the first lookup table LUT1 and the second lookup table LUT2 to obtain the fitted target RGB values.

[0160] Step 97: A third lookup table can be determined based on the first and second lookup tables. The third lookup table includes the relationship between the original RGB, standard RGB, and target RGB. The standard RGB values ​​and the target RGB values ​​can be fitted based on the third lookup table to obtain the fitted target RGB values. Before using the third lookup table LUT3, an interpolation operation can be performed to obtain the interpolated third lookup table LUT3. This LUT3 is then used for display on the display screen.

[0161] like Figure 11 As shown, this embodiment provides a color calibration device, including:

[0162] The determination module 111 is configured to determine, based on the standard RGB value of the predetermined color node sample, the XYZ tristimulus value corresponding to the predetermined color node sample displayed on the display screen;

[0163] Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated;

[0164] The calibration module 112 is configured to calibrate the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen.

[0165] In one embodiment, the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated includes at least:

[0166] A mapping relationship between XYZ tristimulus values ​​corresponding to standard RGB values ​​having single primary color differences in the color node to be calibrated;

[0167] The determining module 111 is further configured to:

[0168] Based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with single primary color difference, the XYZ tristimulus values ​​of the color node to be calibrated with single primary color difference displayed on the display screen are determined.

[0169] In one embodiment, the determining module 111 is further configured to: the mapping relationship includes at least a linear correlation relationship;

[0170] The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following:

[0171] There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated;

[0172] There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated;

[0173] There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

[0174] In one embodiment, the determining module 111 is configured to include at least one of the following:

[0175] Determining, based on the determined X coordinate value of the XYZ tristimulus value and the first linear correlation, an X coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0176] Determine, based on the determined Y coordinate value of the XYZ tristimulus value and the second linear correlation, the Y coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0177] Determining, based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation, a Z coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen;

[0178] The determining module 111 is further configured to:

[0179] Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space are determined.

[0180] In one embodiment, the calibration module 112 is configured to:

[0181] Based on a conversion matrix for converting from XYZ space to RGB space, converting the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen;

[0182] The display color gamut of the display screen is calibrated based on the original RGB value and the standard RGB value of the color node to be calibrated.

[0183] In one embodiment, the calibration module 112 is configured to:

[0184] Determining a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated;

[0185] Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

[0186] In one embodiment, the determining module 111 is configured to:

[0187] Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated;

[0188] Determining a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut;

[0189] The calibration module 112 is used to:

[0190] Based on the first lookup table LUT1 and the second lookup table LUT2, the standard RGB value and the target RGB value are fitted to obtain the fitted target RGB value.

[0191] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0192] The present disclosure also provides a communication device, including:

[0193] antenna;

[0194] Memory;

[0195] The processor is connected to the antenna and the memory respectively, and is used to control the antenna to receive and transmit wireless signals by executing an executable program stored in the memory, and can execute the steps of the wireless network access method provided in any of the above embodiments.

[0196] The communication device provided in this embodiment may be the aforementioned terminal or base station. The terminal may be various types of person-mounted terminals or vehicle-mounted terminals. The base station may be various types of base stations, such as a 4G base station or a 5G base station.

[0197] The antenna may be various types of antennas, for example, a mobile antenna such as a 3G antenna, a 4G antenna, or a 5G antenna; the antenna may also include a WiFi antenna or a wireless charging antenna, etc.

[0198] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to store information after the communication device loses power.

[0199] The processor can be connected to the antenna and the memory through a bus, etc., and is used to read the executable program stored in the memory, for example, at least one of the methods shown in any embodiment of the present disclosure.

[0200] An embodiment of the present disclosure also provides a non-temporary computer-readable storage medium, which stores an executable program, wherein when the executable program is executed by a processor, it implements the steps of the wireless network access method provided in any of the aforementioned embodiments, for example, at least one of the methods shown in any embodiment of the present disclosure.

[0201] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0202] Figure 12 1 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0203] Reference Figure 12 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .

[0204] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 602 may include one or more modules to facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.

[0205] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0206] The power supply assembly 606 provides power to the various components of the electronic device 600. The power supply assembly 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.

[0207] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0208] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.

[0209] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0210] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the electronic device 600. The sensor assembly 614 can also detect changes in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and temperature changes of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0211] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0212] In an exemplary embodiment, the electronic device 600 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, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0213] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 820 of the electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0214] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

[0215] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A color calibration method, characterized in that: include: Determining, based on the standard RGB value of the predetermined color node sample, the XYZ tristimulus value corresponding to the predetermined color node sample displayed on the display screen; Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated; Calibrate the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen; The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated includes at least: A mapping relationship between XYZ tristimulus values ​​corresponding to standard RGB values ​​having single primary color differences in the color node to be calibrated; Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen at least includes: Determining the XYZ tristimulus values ​​of the color node to be calibrated where the display screen displays a single primary color difference based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with a single primary color difference; The mapping relationship includes at least a linear correlation relationship; The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following: There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated; There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated; There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

2. The color calibration method according to claim 1, wherein: Determining the XYZ tristimulus value corresponding to the color node to be calibrated displayed on the display screen includes at least one of the following: Determining, based on the determined X coordinate value of the XYZ tristimulus value and the first linear correlation, an X coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; Determine, based on the determined Y coordinate value of the XYZ tristimulus value and the second linear correlation, the Y coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; Determining, based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation, a Z coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; The method further comprises: Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space are determined.

3. The color calibration method according to claim 1 or 2, characterized in that: The step of calibrating the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated displayed by the display screen comprises: Based on a conversion matrix for converting from XYZ space to RGB space, converting the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen; The display color gamut of the display screen is calibrated based on the original RGB value and the standard RGB value of the color node to be calibrated.

4. The color calibration method according to claim 3, wherein: The step of calibrating the display color gamut of the display screen based on the original RGB value and the standard RGB value of the color node to be calibrated includes: Determining a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated; Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

5. The color calibration method according to claim 4, wherein: The method further comprises: Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated; Determining a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut; Obtaining the fitted target RGB value includes: Based on the first lookup table LUT1 and the second lookup table LUT2, the standard RGB value and the target RGB value are fitted to obtain the fitted target RGB value.

6. A color calibration device, characterized in that: include: A determination module, configured to determine, based on a standard RGB value of a predetermined color node sample, an XYZ tristimulus value corresponding to the predetermined color node sample displayed on a display screen; Determining the XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​of the color node to be calibrated; wherein the predetermined color node samples are part of the color nodes to be calibrated; A calibration module is configured to calibrate the display color gamut of the display screen based on the standard RGB value of the color node to be calibrated and the determined XYZ tristimulus value corresponding to the color node to be calibrated when the display screen displays the color node to be calibrated; the mapping relationship between the XYZ tristimulus value corresponding to the standard RGB value of the color node to be calibrated includes at least: A mapping relationship between XYZ tristimulus values ​​corresponding to standard RGB values ​​having single primary color differences in the color node to be calibrated; The determining module is further configured to: Determining the XYZ tristimulus values ​​of the color node to be calibrated where the display screen displays a single primary color difference based on the determined XYZ tristimulus values ​​and the mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB values ​​with a single primary color difference; The determining module is further configured to: the mapping relationship includes at least a linear correlation relationship; The mapping relationship between the XYZ tristimulus values ​​corresponding to the standard RGB value of the color node to be calibrated includes at least one of the following: There is a first linear correlation between the X-coordinate values ​​corresponding to the standard RGB values ​​having a single primary color difference in the color node to be calibrated; There is a second linear correlation between the Y coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated; There is a third linear correlation between the Z coordinate values ​​corresponding to the standard RGB values ​​with single primary color differences in the color node to be calibrated.

7. The color calibration device according to claim 6, wherein: The determining module is configured to include at least one of the following: Determining, based on the determined X coordinate value of the XYZ tristimulus value and the first linear correlation, an X coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; Determine, based on the determined Y coordinate value of the XYZ tristimulus values ​​and the second linear correlation, the Y coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; Determining, based on the determined Z coordinate value of the XYZ tristimulus values ​​and the third linear correlation, a Z coordinate value of the color node to be calibrated with the single primary color difference displayed on the display screen; The determining module is further configured to: Based on the determined X coordinate value, Y coordinate value, and Z coordinate value of the color node to be calibrated displayed on the display screen, the coordinates of the color node to be calibrated displayed on the display screen in the XYZ space are determined.

8. The color calibration device according to claim 6, wherein: The calibration module is used to: Based on a conversion matrix for converting from XYZ space to RGB space, converting the determined XYZ tristimulus values ​​corresponding to the color node to be calibrated displayed on the display screen to obtain original RGB values ​​corresponding to the color node to be calibrated displayed on the display screen; The display color gamut of the display screen is calibrated based on the original RGB value and the standard RGB value of the color node to be calibrated.

9. The color calibration device according to claim 8, wherein: The calibration module is used to: Determining a target RGB value of a target color gamut based on the standard RGB value of the color node to be calibrated; Perform fitting processing on the original RGB value and the target RGB value to obtain the fitted target RGB value.

10. The color calibration device according to claim 9, wherein: The determining module is configured to: Determine a first lookup table LUT1 based on the original RGB value and the standard RGB value of the color node to be calibrated; Determining a second lookup table LUT2 based on the standard RGB value of the color node to be calibrated and the target RGB value of the determined target color gamut; The calibration module is used to: Based on the first lookup table LUT1 and the second lookup table LUT2, the standard RGB value and the target RGB value are fitted to obtain the fitted target RGB value.

11. An electronic device, characterized in that: The electronic device comprises: a processor and a memory for storing a computer service that can be run on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when running the computer service.

12. A storage medium, characterized in that: The storage medium contains computer-executable instructions, which are executed by a processor to implement the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Color gamut conversion method and device, electronic equipment and storage medium

    CN111724324A