A color gamut conversion method and device, electronic equipment and storage medium

By using a color gamut conversion matrix of order greater than 3, the problem of unsatisfactory color gamut conversion in OLED display panels was solved, achieving color accuracy and realism in effective color display under different conditions, and ensuring the accuracy of display effects.

CN111724324BActive Publication Date: 2025-11-18CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010575831.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-22
Publication Date
2025-11-18
Estimated Expiration
2040-06-22

AI Technical Summary

Technical Problem

The color gamut conversion of OLED display panels is not ideal, resulting in color distortion, which cannot be effectively solved by existing technologies.

Method used

A color gamut conversion matrix of order greater than 3 is used to perform color gamut conversion by obtaining the correspondence between the color gamut of the signal to be displayed and the color gamut of the OLED display panel, ensuring that the colors are not distorted.

Benefits of technology

It achieves the goal of meeting color gamut requirements in different situations, while ensuring the accuracy and authenticity of displayed colors and avoiding color distortion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111724324B_ABST
    Figure CN111724324B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a color gamut conversion method and device, electronic equipment and storage medium, wherein the method comprises: obtaining a to-be-displayed signal; performing color gamut conversion on the to-be-displayed signal according to a preset color gamut conversion matrix to obtain an output signal for display on a display panel; wherein the color gamut conversion matrix represents the corresponding relationship between the color gamut of the to-be-displayed signal and the color gamut of the display panel, and the order of the color gamut conversion matrix is greater than 3. In the present disclosure, the to-be-displayed signal is converted by the color gamut conversion matrix with an order greater than 3, thereby meeting the color gamut requirements of the display panel in different occasions while ensuring that the displayed colors are not distorted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and in particular to a color gamut conversion method, apparatus, electronic device, and storage medium. Background Technology

[0002] Organic light-emitting diode (OLED) display panels are widely used in electronic devices. During use, different users may desire different color gamuts for the display panel; therefore, it is necessary to convert the original color gamut of the display panel to different color gamuts.

[0003] In related technologies, the color gamut of an OLED display panel is linearly mapped to another color gamut; however, since an OLED display panel is not a linear space, the color gamut conversion is not ideal, resulting in distorted colors. Summary of the Invention

[0004] In view of this, the present disclosure provides a color gamut conversion method, apparatus, electronic device and storage medium.

[0005] According to one aspect of this disclosure, a color gamut conversion method is provided, the method comprising:

[0006] Obtain the signal to be displayed;

[0007] The color gamut of the signal to be displayed is converted according to a preset color gamut conversion matrix to obtain an output signal for display on the display panel;

[0008] The color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel, and the order of the color gamut conversion matrix is ​​greater than 3.

[0009] In one possible implementation, the color is represented by RGB three-channel color values, and the method further includes:

[0010] Based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, determine the second three-channel color values ​​of the converted colors corresponding to each reference color in the color gamut of the display panel;

[0011] The color gamut conversion matrix is ​​obtained based on the first and third channel color values ​​and the second and third channel color values.

[0012] In one possible implementation, determining the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel, based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, includes:

[0013] For any reference color, determine the corresponding converted color such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

[0014] In one possible implementation, determining the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel, based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, includes:

[0015] For any reference color, the target tristimulus value of the reference color is obtained based on the color value of the reference color and the color mixing matrix;

[0016] The target color is determined by multiplying the inverse of the original color mixing matrix of the color gamut of the display panel with the target tristimulus value.

[0017] The actual tristimulus values ​​are obtained by measuring the tristimulus values ​​on the display panel based on the target color.

[0018] If the difference between the actual tristimulus value and the target tristimulus value does not meet the preset condition, the target tristimulus value is corrected based on the difference, and the steps of determining the target color and thereafter are repeated until the preset condition is met.

[0019] Based on the target color obtained after meeting the preset conditions, determine the second and third channel color values ​​of the converted color corresponding to the reference color.

[0020] In one possible implementation, correcting the target tristimulus value with the difference includes:

[0021] The corrected target tristimulus value is obtained by subtracting the product of the difference and the preset coefficient from the target tristimulus value.

[0022] According to another aspect of this disclosure, a color gamut conversion device is provided, comprising:

[0023] The first module is used to acquire the signal to be displayed.

[0024] The second module is used to perform color gamut conversion on the signal to be displayed according to a preset color gamut conversion matrix to obtain an output signal for display on the display panel;

[0025] The color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel, and the order of the color gamut conversion matrix is ​​greater than 3.

[0026] In one possible implementation, the color is represented by RGB three-channel color values, and the device further includes:

[0027] The third module is used to determine the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel based on the first three channel color values ​​of each reference color in the color gamut of the signal to be displayed.

[0028] The fourth module is used to obtain the color gamut conversion matrix based on the first three-channel color values ​​and the second three-channel color values.

[0029] In one possible implementation, the third module is specifically used for:

[0030] For any reference color, determine the corresponding converted color such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

[0031] In one possible implementation, the third module is specifically used for:

[0032] For any reference color, the target tristimulus value of the reference color is obtained based on the color value of the reference color and the color mixing matrix;

[0033] The target color is determined by multiplying the inverse of the original color mixing matrix of the color gamut of the display panel with the target tristimulus value.

[0034] The actual tristimulus values ​​are obtained by measuring the tristimulus values ​​on the display panel based on the target color.

[0035] If the difference between the actual tristimulus value and the target tristimulus value does not meet the preset condition, the target tristimulus value is corrected based on the difference, and the steps of determining the target color and thereafter are repeated until the preset condition is met.

[0036] Based on the target color obtained after meeting the preset conditions, determine the second and third channel color values ​​of the converted color corresponding to the reference color.

[0037] In one possible implementation, the third module is specifically used for:

[0038] The corrected target tristimulus value is obtained by subtracting the product of the difference and the preset coefficient from the target tristimulus value.

[0039] According to another aspect of this disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above-described method.

[0040] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.

[0041] In this embodiment of the disclosure, the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel. By using a color gamut conversion matrix of order greater than 3 to perform color gamut conversion on the signal to be displayed, the color gamut requirements of the display panel in different situations are met, while ensuring that the displayed colors are not distorted.

[0042] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0043] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.

[0044] Figure 1 A flowchart illustrating a color gamut conversion method according to an embodiment of the present disclosure is shown;

[0045] Figure 2 A flowchart illustrating a color gamut conversion method according to an embodiment of the present disclosure is shown;

[0046] Figure 3 A structural diagram of a color gamut conversion device according to an embodiment of the present disclosure is shown;

[0047] Figure 4 A structural diagram of a color gamut conversion device according to an embodiment of the present disclosure is shown.

[0048] Figure 5 A block diagram of an electronic device for color gamut conversion according to an embodiment of the present disclosure is shown; Detailed Implementation

[0049] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0050] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0051] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0052] Figure 1 A flowchart illustrating a color gamut conversion method according to an embodiment of this disclosure is shown. This method can be applied to the driver chip of a display panel, such as... Figure 1 As shown, the method may include:

[0053] Step 101: Obtain the signal to be displayed;

[0054] Step 102: Perform color gamut conversion on the signal to be displayed according to the preset color gamut conversion matrix to obtain the output signal for display on the display panel;

[0055] The color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel. The order of the color gamut conversion matrix is ​​greater than 3 (e.g., 4th order, 5th order, etc.). The display panel can be an OLED display panel, and the color gamut of the display panel represents the range of colors that the OLED display panel can display. The color gamut of the signal to be displayed represents the range of colors that the color mode of the signal to be displayed can express. The color mode can be an RGB color mode, and the colors are represented by RGB three-channel color values. The color gamut of the signal to be displayed can be any existing type of color gamut.

[0056] Considering that related technologies generally use the integrated circuit (IC) driver chip of a Liquid Crystal Display (LCD) panel for color gamut conversion, that is, based on a third-order transformation matrix, the original color gamut of the OLED display panel is converted to different color gamuts. Since the current LCD process is minimally affected by voltage drop, it can basically satisfy LvR + LvG + LvB = LvW, where LvR represents the actual display brightness of the pure red image in a monochrome display, LvG represents the actual display brightness of the pure green image in a monochrome display, LvB represents the actual display brightness of the pure blue image in a monochrome display, and LvW represents the actual display brightness of the pure white image; therefore... An LCD display panel can be considered as a linear space. By using a third-order transformation matrix, the color gamut of the LCD display panel can be linearly mapped to another color gamut space, which can meet the color gamut transformation requirements. However, on an OLED display panel, the voltage drop has a significant impact, with LvR + LvG + LvB > LvW. The OLED panel is not a linear space, and the color gamut change is not linear, resulting in an unsatisfactory color gamut conversion and distorted colors. Therefore, in the embodiments of this disclosure, when performing color gamut transformation on an OLED display panel, the compression, rotation, and shearing changes of the OLED display panel's color space are fully considered. A color gamut transformation matrix of order greater than 3 is used to perform color gamut transformation on the signal to be displayed, thereby meeting the color gamut requirements of the display panel in different situations, while ensuring that the displayed colors are not distorted.

[0057] In one possible implementation, the color gamut conversion matrix may include multiple color gamut conversion sub-matrices. Each sub-matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the same chromaticity region of the OLED display panel. The order of each sub-matrix is ​​greater than 3. This divides the OLED display panel into multiple different chromaticity regions and obtains a color gamut conversion sub-matrix corresponding to each region, thereby achieving more accurate color gamut changes. For example, the OLED display panel can be divided into multiple chromaticity regions based on different chromaticity values ​​(HUE), with each region corresponding to a fourth-order color gamut conversion sub-matrix.

[0058] In this step, after receiving the signal to be displayed, the driver chip obtains the preset color gamut conversion matrix or multiple color gamut conversion sub-matrices corresponding to the color gamut of the signal to be displayed, thereby completing the color gamut conversion of the OLED display panel and obtaining the output signal for display on the OLED display panel. The color of the output signal displayed on the OLED can better reproduce the color of the original signal to be displayed, ensuring that the displayed color is not distorted.

[0059] Figure 2 A flowchart illustrating a color gamut conversion method according to an embodiment of the present disclosure is shown. Figure 2As shown, the method may include:

[0060] Step 201: Determine the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel based on the first and third channel color values ​​of each reference color in the color gamut of the signal to be displayed.

[0061] In this step, several reference colors (i.e., color swatches) can be selected in the color gamut of the signal to be displayed, and the first three-channel color values ​​(i.e., the RGB values ​​of the reference colors) of each reference color can be obtained. The number of reference colors can be selected according to the requirements and is not limited here. Then, based on the first three-channel color values ​​of each reference color, an initial color gamut conversion process is performed. For example, the initial color gamut conversion can be performed through a third-order conversion matrix between the color gamut of the signal to be displayed and the color gamut of the OLED display panel. The colors corresponding to each reference color (i.e., the converted colors) are determined in the color gamut of the OLED display panel, thereby obtaining the second three-channel color values ​​(i.e., the RGB values ​​of the converted colors). After performing the above processing on all selected reference colors, several corresponding groups of first three-channel color values ​​and second three-channel color values ​​are obtained, that is, corresponding groups of RGB values ​​of reference colors and RGB values ​​of converted colors.

[0062] In one possible implementation, determining the second three-channel color value of the converted color corresponding to each reference color in the color gamut of the display panel based on the first three-channel color value of each reference color in the color gamut of the signal to be displayed includes: for any reference color, determining the converted color corresponding to that reference color, such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

[0063] In this embodiment of the disclosure, by setting preset conditions, exemplarily, the preset conditions can be no greater than T Just Noticeable Color Difference (JNCD), for example, T can be 3, so that the converted color corresponding to any determined reference color meets the preset conditions, can more realistically reflect the color of the reference color, and avoid color distortion. Specifically, candidate colors can be determined through the above-mentioned initial color gamut conversion, and the tristimulus values ​​of the candidate colors measured on the OLED display panel are measured by a measuring instrument. At the same time, the tristimulus values ​​of the reference colors after conversion by the color mixing matrix of the color gamut of the signal to be displayed are obtained. The difference between the above two pairs of tristimulus values ​​is calculated. If the difference meets the preset conditions, the candidate color is used as the final converted color, and the RGB value of the converted color is obtained. If the difference does not meet the preset conditions, the candidate color is not used as the final converted color. The color mixing matrix can represent the conversion relationship between the color values ​​of the color gamut of the signal to be displayed and the XYZ tristimulus values ​​of the XYZ standard color space. The color mixing matrix of the color gamut of the signal to be displayed can be determined according to the specific color gamut of the signal to be displayed.

[0064] In one possible implementation, determining the second three-channel color value of the converted color corresponding to each reference color in the color gamut of the display panel, based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, includes: for any reference color, obtaining a target tristimulus value of the reference color based on the color value of the reference color and the color mixing matrix; multiplying the target tristimulus value by the inverse matrix of the original color mixing matrix of the color gamut of the display panel; measuring the tristimulus value on the display panel based on the target color to obtain the actual tristimulus value; if the difference between the actual tristimulus value and the target tristimulus value does not meet a preset condition, correcting the target tristimulus value with the difference, and repeating the steps of determining the target color and subsequent steps until the preset condition is met; and determining the second three-channel color value of the converted color corresponding to the reference color based on the target color obtained after meeting the preset condition.

[0065] The original color mixing matrix of the display panel represents the conversion relationship between the color values ​​in the color gamut of the display panel and the XYZ tristimulus values ​​of the XYZ standard color space. For example, the XYZ tristimulus values ​​of the basic colors (three primary colors) of the OLED display panel can be obtained using a measuring instrument, thereby obtaining the original color mixing matrix of the OLED display panel.

[0066] In this embodiment of the disclosure, during the process of determining the second and third channel color values ​​of the converted color corresponding to any reference color, the RGB value of any reference color can be multiplied by the color mixing matrix of the color gamut of the signal to be displayed, thereby converting the RGB value of the reference color to the XYZ standard color space and obtaining the corresponding XYZ tristimulus value (i.e., the target tristimulus value); the inverse matrix of the original color mixing matrix of the OLED display panel is multiplied by the target tristimulus value to obtain the target color; the target color is then illuminated on the OLED display panel, and the XYZ tristimulus value corresponding to the target color is measured by a measuring instrument, which is the actual tristimulus value. The difference between the actual tristimulus value and the target tristimulus value is obtained. If the difference meets a preset condition, the target color is used as the converted color corresponding to the reference color, and the RGB value of the target color is the second and third channel color value of the converted color. If the difference does not meet the preset condition, the target tristimulus value is corrected with the difference, and the above steps of determining the target color and subsequent steps are repeated until the preset condition is met, and the final target color is used as the converted color. Specifically, the corrected target tristimulus value is multiplied by the inverse matrix of the original color mixing matrix of the OLED display panel to obtain a new target color. The new target color is then illuminated on the OLED display panel, and the XYZ tristimulus values ​​corresponding to the new target color are measured by a measuring instrument, which are the new actual tristimulus values. The difference between the new actual tristimulus value and the new target tristimulus value is obtained to obtain a new difference value, and it is further determined whether the new difference value meets the preset condition until the RGB value of the converted color corresponding to the reference color is obtained.

[0067] In one possible implementation, correcting the target tristimulus value based on the difference includes: subtracting the product of the difference and a preset coefficient from the target tristimulus value to obtain the corrected target tristimulus value. For example, the preset coefficient can be 1 / M (where M is a positive integer, such as 3).

[0068] For example, the XYZ tristimulus values ​​of the three primary color points (1, 0, 0), (0, 1, 0), and (0, 0, 1) on an OLED display panel can be measured and denoted as [Xr Yr Zr], [Xg Yg Zg], and [Xb Yb Zb], respectively; thus, the original color mixing matrix of the OLED display panel can be obtained. The color mixing matrix of the color gamut of the signal to be displayed can be denoted as: [Xtr Ytr Ztr], [Xtg Ytg Ztg], and [Xb Ytb Ztb] are the XYZ tristimulus values ​​of the three primary color points in the color gamut of the signal to be displayed; the reference color is denoted as... Ri, Gi, and Bi are the RGB values ​​of the reference color; then the target tristimulus matrix of this reference color is: Xt, Yt, and Zt are the target tristimulus values; therefore, the target color can be determined using the aforementioned M, Mt, and reference color. The OLED display panel was illuminated using the target color Result, and the actual tristimulus value matrix of the target color Result was measured using a CA410. Xm, Ym, and Zm are the actual tristimulus values; calculate the difference between these actual tristimulus values ​​and the target tristimulus values. If the difference Diff is no more than 3 JNCDs, then the target color Result is used as the converted color corresponding to the reference color; if the difference Diff is greater than 3 JNCDs, then the target tristimulus value is adjusted. Using this new target tristimulus value new Repeat the steps to determine the target color Result and subsequent steps to obtain the new target color Result. new =M -1 *t arg et new Use the new target color Result new The OLED display panel was lit up, and the new target color was measured using a CA410. new The new actual tristimulus value matrix is Xm new Ym new Zm new The actual tristimulus values ​​are used to calculate the new difference. The new difference Diff new The process involves checking if the difference is no greater than 3 JNCDs, repeating the iteration until the latest difference is greater than 3 JNCDs. The RGB value of the target color at this point is the final RGB value of the converted color corresponding to the reference color. The difference "diff" reflects the tristimulus values ​​of the converted color measured on the display panel. The tristimulus values ​​of the reference color after being transformed by the color mixing matrix of the color gamut of the signal to be displayed. The difference between the reference color and the converted color can be determined when the difference meets the preset conditions (such as the preset conditions mentioned above).

[0069] Based on the above steps, by selecting multiple reference colors, multiple sets of corresponding groups of reference color RGB values ​​and converted color RGB values ​​can be obtained, as shown in Table 1 below. For example, if the reference color RGB value is (255, 188, 0), through the above steps, the corresponding converted color RGB value is finally obtained as (255, 128, 0). In Table 1, R, G, and B are the red, green, and blue light channel color values ​​of the converted color, respectively, and Rt, Gt, and Bt are the red, green, and blue light channel color values ​​of the reference color, respectively.

[0070] Table 1: Reference Color RGB - RGB Value Correspondence Table for Converted Color

[0071]

[0072] Step 202: Obtain the color gamut conversion matrix based on the first three-channel color values ​​and the second three-channel color values;

[0073] In this step, the first and third channel color values ​​of each reference color in step 001, and the second and third channel color values ​​of the converted colors corresponding to each reference color, can be used to fit the gamut conversion matrix to obtain the gamut conversion matrix. For example, the gamut conversion matrix is ​​a 4th order matrix. The values ​​of multiple sets of R, G, B and Rt, Gt, Bt in Table 1 can be substituted into the following formula to determine the specific values ​​of each parameter in the gamut conversion matrix, thus obtaining the final gamut conversion matrix:

[0074]

[0075] Where a, b, c, d, e, f, g, h, i, j, k, l are the coefficients of the color gamut conversion matrix, R, G, B are the red, green, and blue channel color values ​​of the converted color, respectively, and Rt, Gt, Bt are the red, green, and blue channel color values ​​of the reference color, respectively.

[0076] For example, to find the coefficients of a, b, c, d: R = a*Rt + b*Gt + cBt + d, we can substitute four of the corresponding groups of R, G, B and Rt, Gt, Bt from all N groups in Table 1 into the equation to obtain a set of coefficient values ​​for a, b, c, d. Alternatively, we can substitute the corresponding values ​​of R, G, B and Rt, Gt, Bt from more than four or all N groups in Table 1 into the equation to obtain multiple sets of equations for a, b, c, d. Then, using the least squares estimation method, we can find an optimal set of coefficients for a, b, c, d that minimizes the error of these multiple sets of equations. This optimal set of coefficients for a, b, c, d is the value of the coefficients a, b, c, d in the color gamut conversion matrix. Similarly, we can obtain the values ​​of the coefficients e, f, g, h, i, j, k, l in the color gamut conversion matrix.

[0077] When determining the values ​​of each coefficient in each color gamut conversion submatrix, the process of obtaining the coefficient values ​​in the color gamut conversion matrix described above can be referred to, and will not be repeated here.

[0078] It should be noted that steps 201 and 202 above can be executed after steps 101 and 102 or before steps 101 and 102. There is no limitation here. That is, the driver chip can determine the color gamut conversion matrix after receiving the signal to be displayed and then perform color gamut conversion, or it can first determine the corresponding matrix for the signal to be displayed with different color gamuts, and then select the corresponding color gamut conversion matrix to perform color gamut conversion according to the color gamut of the received signal to be displayed.

[0079] It should be noted that although the above embodiments have been used as examples to illustrate the color gamut conversion method, those skilled in the art will understand that this disclosure is not limited thereto. In fact, users can flexibly set various implementation methods according to their personal preferences and / or actual application scenarios, as long as they conform to the technical solutions of this disclosure.

[0080] Thus, in this embodiment of the disclosure, the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel. By using a color gamut conversion matrix of order greater than 3 to perform color gamut conversion on the signal to be displayed, the color gamut requirements of the display panel in different situations are met, while ensuring that the displayed colors are not distorted.

[0081] Figure 3 A structural diagram of a color gamut conversion device according to an embodiment of the present disclosure is shown. Figure 3 As shown, the device may include: a first module 41 for acquiring a signal to be displayed; and a second module 42 for performing color gamut conversion on the signal to be displayed according to a preset color gamut conversion matrix to obtain an output signal for display on a display panel; wherein the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel, and the order of the color gamut conversion matrix is ​​greater than 3.

[0082] Figure 4 This diagram illustrates a structural diagram of a color gamut conversion device according to an embodiment of the present disclosure. The colors are represented by RGB three-channel color values, such as... Figure 4 As shown, the device may include: a first module 41 for acquiring a signal to be displayed; a second module 42 for performing color gamut conversion on the signal to be displayed according to a preset color gamut conversion matrix to obtain an output signal for display on a display panel; a third module 43 for determining the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel according to the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed; and a fourth module 44 for obtaining the color gamut conversion matrix according to the first three-channel color values ​​and the second three-channel color values.

[0083] In one possible implementation, the third module is specifically used to: for any reference color, determine the converted color corresponding to the reference color, such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

[0084] In one possible implementation, the third module is specifically configured to: for any reference color, obtain a target tristimulus value for the reference color based on the color value of the reference color and the color mixing matrix; multiply the target tristimulus value by the inverse of the original color mixing matrix of the color gamut of the display panel; measure the tristimulus value on the display panel based on the target color to obtain an actual tristimulus value; if the difference between the actual tristimulus value and the target tristimulus value does not meet a preset condition, correct the target tristimulus value based on the difference, and repeat the steps of determining the target color and subsequent steps until the preset condition is met; and determine the second three-channel color value of the converted color corresponding to the reference color based on the target color obtained after meeting the preset condition.

[0085] In one possible implementation, the third module is specifically used to: subtract the product of the difference and a preset coefficient from the target tristimulus value to obtain the corrected target tristimulus value.

[0086] It should be noted that although the color gamut conversion device has been described above as an example, those skilled in the art will understand that this disclosure is not limited thereto. In fact, users can flexibly set various implementation methods according to their personal preferences and / or actual application scenarios, as long as they conform to the technical solutions of this disclosure.

[0087] Thus, in this embodiment of the disclosure, the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel. By using a color gamut conversion matrix of order greater than 3 to perform color gamut conversion on the signal to be displayed, the color gamut requirements of the display panel in different situations are met, while ensuring that the displayed colors are not distorted.

[0088] This disclosure also provides an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to perform the above-described method.

[0089] This disclosure also provides a non-volatile computer-readable storage medium storing computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.

[0090] Figure 5A block diagram of an electronic device 800 for color gamut conversion according to an embodiment of the present disclosure is shown. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0091] Reference Figure 5 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0092] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 (e.g., a display panel driver chip) to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0093] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 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 storage, flash memory, magnetic disk, or optical disk.

[0094] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.

[0095] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include an OLED display panel and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0096] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0097] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

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

[0099] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0100] In an exemplary embodiment, the electronic device 800 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 methods described above.

[0101] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions that can be executed by a processor 820 of an electronic device 800 to perform the above-described method.

[0102] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.

[0103] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0104] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0105] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0106] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0107] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0108] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0109] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0110] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A color gamut conversion method, characterized in that, The method includes: Obtain the signal to be displayed; The color gamut of the signal to be displayed is converted according to a preset color gamut conversion matrix to obtain an output signal for display on the display panel; Wherein, the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel, and the order of the color gamut conversion matrix is ​​greater than 3; The color is represented by RGB three-channel color values, and the method further includes: Based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, determine the second three-channel color values ​​of the converted colors corresponding to each reference color in the color gamut of the display panel; The color gamut conversion matrix is ​​obtained based on the first and third channel color values ​​and the second and third channel color values; Based on the first three-channel color values ​​of each reference color in the color gamut of the signal to be displayed, determine the second and third-channel color values ​​of the converted colors corresponding to each reference color in the color gamut of the display panel, including: For any reference color, the target tristimulus value of the reference color is obtained based on the color value of the reference color and the color mixing matrix. The target color is determined by multiplying the inverse of the original color mixing matrix of the color gamut of the display panel with the target tristimulus value. The actual tristimulus values ​​are obtained by measuring the tristimulus values ​​on the display panel based on the target color. If the difference between the actual tristimulus value and the target tristimulus value does not meet the preset condition, the target tristimulus value is corrected based on the difference, and the steps of determining the target color and thereafter are repeated until the preset condition is met. Based on the target color obtained after meeting the preset conditions, determine the second and third channel color values ​​of the converted color corresponding to the reference color.

2. The method according to claim 1, characterized in that, The step of determining the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel based on the first and third channel color values ​​of each reference color in the color gamut of the signal to be displayed includes: For any reference color, determine the corresponding converted color such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

3. The method according to claim 1, characterized in that, The step of correcting the target tristimulus value based on the difference includes: The corrected target tristimulus value is obtained by subtracting the product of the difference and the preset coefficient from the target tristimulus value.

4. A color gamut conversion device, characterized in that, include: The first module is used to acquire the signal to be displayed. The second module is used to perform color gamut conversion on the signal to be displayed according to a preset color gamut conversion matrix to obtain an output signal for display on the display panel; Wherein, the color gamut conversion matrix represents the correspondence between the color gamut of the signal to be displayed and the colors in the color gamut of the display panel, and the order of the color gamut conversion matrix is ​​greater than 3; The color is represented by RGB three-channel color values, and the device further includes: The third module is used to determine the second and third channel color values ​​of the converted colors corresponding to the reference colors in the color gamut of the display panel based on the first three channel color values ​​of each reference color in the color gamut of the signal to be displayed. The fourth module is used to obtain the color gamut conversion matrix based on the first three-channel color values ​​and the second three-channel color values; The third module is specifically used for: For any reference color, the target tristimulus value of the reference color is obtained based on the color value of the reference color and the color mixing matrix. The target color is determined by multiplying the inverse of the original color mixing matrix of the color gamut of the display panel with the target tristimulus value. The actual tristimulus values ​​are obtained by measuring the tristimulus values ​​on the display panel based on the target color. If the difference between the actual tristimulus value and the target tristimulus value does not meet the preset condition, the target tristimulus value is corrected based on the difference, and the steps of determining the target color and thereafter are repeated until the preset condition is met. Based on the target color obtained after meeting the preset conditions, determine the second and third channel color values ​​of the converted color corresponding to the reference color.

5. The apparatus according to claim 4, characterized in that, The third module is specifically used for: For any reference color, determine the corresponding converted color such that the difference between the tristimulus value measured on the display panel based on the converted color and the tristimulus value of the reference color after conversion by the color mixing matrix of the color gamut of the signal to be displayed satisfies a preset condition.

6. The apparatus according to claim 4, characterized in that, The third module is specifically used for: The corrected target tristimulus value is obtained by subtracting the product of the difference and the preset coefficient from the target tristimulus value.

7. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 3 when executing executable instructions stored in the memory.

8. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Color gamut transition method and device

    CN108806621A

  • Color gamut adjusting system and color gamut adjusting method

    CN110662022A

  • Color conversion matrix forming method, color conversion table forming method, and program

    US20050073707A1