White point brightness correction method, device, electronic device and storage medium

By obtaining the reference brightness value of the monitor under each candidate grayscale, adjusting the maximum brightness value of the color channel and the target grayscale, the problem of insufficient white light correction of the monitor is solved, and white balance correction is achieved to avoid color distortion.

CN115985267BActive Publication Date: 2025-08-08BEIJING ESWIN COMPUTING TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211571098.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-08
Publication Date
2025-08-08
Estimated Expiration
2042-12-08

AI Technical Summary

Technical Problem

In the prior art, the white light brightness correction of the display under different gray levels leads to distortion of color performance.

Method used

By obtaining the reference brightness value of the monitor under each candidate grayscale, determining the target brightness value and maximum brightness value, adjusting the maximum brightness value and target grayscale of each color channel based on the target color coordinates, and achieving white balance correction.

Benefits of technology

When the white balance is met, avoid distortion of the display color performance and ensure that the brightness value conforms to the Gamma2.2 curve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115985267B_ABST
    Figure CN115985267B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a white point brightness correction method, device, electronic device and storage medium, the method comprising: obtaining a reference brightness value of the white point of a display at each candidate grayscale, and determining a target brightness value of the white point at each set grayscale based on a maximum brightness value and a minimum brightness value among the reference brightness values; determining a maximum brightness value of each color channel of the display at each set grayscale based on set target color coordinates at the maximum brightness value among the reference brightness values at each candidate grayscale; determining a target grayscale corresponding to each color channel from each candidate grayscale at any set grayscale based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; and correcting the brightness value of the white point at any set grayscale based on the target grayscale corresponding to each color channel, thereby ensuring that the brightness value of the white point at the set grayscale satisfies the white balance characteristics and avoiding distortion of the color representation of the display.
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, and in particular to a white point brightness correction method, device, electronic device, and storage medium. Background Art

[0002] With the development and progress of science and technology, displays (such as liquid crystal displays) have become mainstream products due to their advantages such as thin body, power saving and low radiation. Various types of displays are widely used in all aspects of life.

[0003] A display's white balance is a key indicator of the quality of its color. Generally speaking, achieving white balance requires calibrating the brightness of the display's white point to maintain a constant chromaticity across all grayscales. Otherwise, the display's color representation will be distorted. Therefore, calibrating the brightness of the display's white point is crucial. Summary of the Invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.

[0005] To this end, the first purpose of the present disclosure is to propose a white point brightness correction method to achieve, under any set grayscale, determining the target grayscale corresponding to each color channel from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point, so as to achieve the determination of the target grayscale of the color channel corresponding to each set grayscale of the white point under the white balance condition. Therefore, according to the target grayscale of the color channel corresponding to each set grayscale, the brightness of the white point is corrected so that the brightness value of the white point under the set grayscale satisfies the white balance characteristics, thereby avoiding the distortion of the color performance of the display.

[0006] The second objective of the present disclosure is to provide a white point brightness correction device.

[0007] A third objective of the present disclosure is to provide an electronic device.

[0008] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.

[0009] A fifth object of the present disclosure is to provide a computer program product.

[0010] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present disclosure proposes a white point brightness correction method, including: obtaining a first reference brightness value of the white point of the display at each candidate grayscale, and determining the target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale; at the maximum brightness value among the first reference brightness values at each candidate grayscale, determining the maximum brightness value of each color channel of the display at each set grayscale based on the set target color coordinates; at any set grayscale, determining the target grayscale corresponding to each color channel from each candidate grayscale based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; and correcting the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0011] The white point brightness correction method of the embodiment of the present disclosure obtains a first reference brightness value of the white point of the display at each candidate grayscale, and determines a target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale; determines the maximum brightness value of each color channel of the display at each set grayscale based on the set target color coordinates at the maximum brightness value of the first reference brightness values at each candidate grayscale; and determines the target grayscale corresponding to each color channel from each candidate grayscale at any set grayscale based on the maximum brightness value of each color channel, the set target color coordinates, and the target brightness value of the white point. According to the target grayscale corresponding to each color channel, the brightness value of the white point at any set grayscale is corrected. Thus, at any set grayscale, the target grayscale corresponding to each color channel is determined from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point. This achieves the goal of determining the target grayscale of the color channel corresponding to each set grayscale of the white point while satisfying the white balance condition. Therefore, according to the target grayscale of the color channel corresponding to each set grayscale, the brightness of the white point is corrected, so that the brightness value of the white point at the set grayscale can meet the white balance characteristics, thereby avoiding distortion of the color performance of the display.

[0012] To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a white point brightness correction device, including: a first determination module, used to obtain a first reference brightness value of the white point of the display at each candidate grayscale, and determine the target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale; a second determination module, used to determine the maximum brightness value of each color channel of the display at each set grayscale based on the set target color coordinates at the maximum brightness value of the first reference brightness values at each candidate grayscale; a third determination module, used to determine the target grayscale corresponding to each color channel from each candidate grayscale at any set grayscale based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; a correction module, used to correct the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0013] To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method described in the first aspect embodiment of the present disclosure.

[0014] In order to achieve the above-mentioned objectives, the fourth embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first embodiment of the present disclosure.

[0015] In order to achieve the above-mentioned objectives, the fifth embodiment of the present disclosure proposes a computer program product, including a computer program, which implements the method described in the first embodiment of the present disclosure when executed by a processor.

[0016] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0018] Figure 1 A schematic flow chart of a white point brightness correction method provided by an embodiment of the present disclosure;

[0019] Figure 2 A schematic flow chart of another white point brightness correction method provided by an embodiment of the present disclosure;

[0020] Figure 3A schematic flow chart of another white point brightness correction method provided by an embodiment of the present disclosure;

[0021] Figure 4 A schematic flow chart of another white point brightness correction method provided by an embodiment of the present disclosure;

[0022] Figure 5 A schematic diagram of collecting color coordinate data and brightness of each color channel and white point at each candidate grayscale provided by an embodiment of the present disclosure;

[0023] Figure 6 A schematic structural diagram of a white point brightness correction device provided in an embodiment of the present disclosure;

[0024] Figure 7 The figure is a block diagram of an electronic device for white point brightness correction according to an exemplary embodiment. DETAILED DESCRIPTION

[0025] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0026] The following describes a white point brightness correction method, device, electronic device, and storage medium according to embodiments of the present disclosure with reference to the accompanying drawings.

[0027] Figure 1 A schematic flow chart of a white point brightness correction method provided in an embodiment of the present disclosure.

[0028] like Figure 1 As shown, the white point brightness correction method may include the following steps:

[0029] Step 101 : obtaining first reference brightness values of the white point of the display at each candidate grayscale, and determining target brightness values of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale.

[0030] It should be noted that for a white image, each color channel (red (R), green (G), and blue (B)) is driven by the same voltage. In the disclosed embodiment, at each candidate grayscale, each color channel can be controlled to drive at the same voltage to collect the brightness value of the white point. That is, the brightness value of the white point is collected for each color channel at the same candidate grayscale, and the actual brightness value of the white point is used as the first reference brightness value.

[0031] Furthermore, in order to make the brightness value of the white point satisfy the Gamma2.2 curve, as an example, based on the Gamma2.2 curve, and according to the maximum brightness value and the minimum brightness value among the first reference brightness values at each candidate grayscale, the target brightness value of the white point at each set grayscale is determined. The number of candidate grayscales may be 1024, i.e., 0 to 1023, and the number of set grayscales may be 256, i.e., 0 to 255. The maximum brightness value among the first reference brightness values may be the brightness value corresponding to each color channel at candidate grayscale 1023, and the minimum brightness value may be the brightness value corresponding to each color channel at candidate grayscale 0.

[0032] Step 102 : determining the maximum brightness value of each color channel in the display based on the set target color coordinates at the maximum brightness value among the first reference brightness values at each candidate grayscale.

[0033] In the embodiment of the present disclosure, at the maximum brightness value among the first reference brightness values under each candidate grayscale, that is, at the highest brightness of the white point, the maximum grayscale corresponding to each color channel is determined, the maximum grayscale of each color channel is adjusted, and the color coordinates of the white point are calculated based on the adjusted maximum grayscale of each color channel, so that at the highest brightness of the white point, the color coordinates of the white point match the set target color coordinates, and further, the brightness value corresponding to the adjusted maximum grayscale of each color channel is the maximum brightness value of each color channel.

[0034] For example, the color channels corresponding to the maximum brightness W1023 of the white point are R1023, B1023, and G1023 respectively, and the maximum grayscale corresponding to each color channel is 1023. The maximum grayscale 1023 of each color channel can be adjusted separately, and the color coordinates of the white point can be calculated based on the adjusted maximum grayscale so that the color coordinates of the white point match the set target color coordinates.

[0035] Step 103 : Under any set grayscale, a target grayscale corresponding to each color channel is determined from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point.

[0036] In order to improve the accuracy of white point brightness correction and reduce the amount of data calculation, since the brightness value of each color channel conforms to the Gamma2.2 curve, the brightness value of each color channel at each set grayscale can be determined based on the Gamma2.2 curve according to the maximum brightness value and the minimum brightness value of each color channel. Then, for any set grayscale, the first intermediate grayscale corresponding to each color channel is determined from each candidate grayscale, wherein the brightness value of the first intermediate grayscale matches the brightness value of the corresponding color channel; further, according to the target brightness value of the white point and the target color coordinates, the first intermediate grayscale is adjusted to obtain the target grayscale of the color channel.

[0037] It should be noted that the minimum brightness value of each color channel can be the brightness value of the corresponding color channel at the candidate grayscale 0. The minimum brightness value of each color channel can be collected in advance, and the target color coordinates are xtarget=0.313 and ytarget=0.329 corresponding to standard white light.

[0038] Step 104 , correcting the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0039] In the embodiment of the present disclosure, for any set grayscale, the brightness value of the white point can be determined using each color channel at the corresponding target grayscale, so that the brightness value of the white point in the white picture conforms to the Gamma2.2 curve, and the color coordinates of the white point match the target color coordinates.

[0040] In summary, by obtaining the first reference brightness value of the white point of the display at each candidate grayscale, and determining the target brightness value of the white point at each set grayscale according to the maximum brightness value and the minimum brightness value of the first reference brightness value at each candidate grayscale; at the maximum brightness value of the reference brightness values at each candidate grayscale, based on the set target color coordinates, determining the maximum brightness value of each color channel of the display at each set grayscale; at any set grayscale, according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point, determining the target grayscale corresponding to each color channel from each candidate grayscale; according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; The target grayscale corresponding to the channel is used to correct the brightness value of the white point under any set grayscale. Therefore, under any set grayscale, the target grayscale corresponding to each color channel is determined from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point. This realizes the determination of the target grayscale of the color channel corresponding to each set grayscale of the white point under the white balance condition. Therefore, according to the target grayscale of the color channel corresponding to each set grayscale, the brightness of the white point is corrected, so that the brightness value of the white point under the set grayscale can meet the white balance characteristics, thereby avoiding the distortion of the color performance of the display.

[0041] In order to clearly illustrate how the above embodiment determines the target grayscale corresponding to each color channel from each candidate grayscale at any set grayscale based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point, the present disclosure proposes another white point brightness correction method.

[0042] Figure 2 A flowchart of another white point brightness correction method provided by an embodiment of the present disclosure.

[0043] like Figure 2 As shown, the white point brightness correction method may include the following steps:

[0044] Step 201 : obtaining first reference brightness values of the white point of the display at each candidate grayscale, and determining target brightness values of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale.

[0045] Step 202 : determining the maximum brightness value of each color channel in the display based on the set target color coordinates at the maximum brightness value among the first reference brightness values at each candidate grayscale.

[0046] Step 203 : Under any set grayscale, according to the maximum brightness value of each color channel and the set target color coordinates, determine the first intermediate grayscale corresponding to each color channel from each candidate grayscale.

[0047] In the embodiment of the present disclosure, the first brightness value of each color channel at each candidate grayscale is collected and acquired, and the minimum brightness value of each color channel at each candidate grayscale is determined. Based on the Gamma2.2 curve, the second brightness value of each color channel at each set grayscale can be determined through the maximum brightness value and the minimum brightness value of each color channel. Then, for any set grayscale, the first intermediate grayscale corresponding to each color channel is determined from each candidate grayscale, wherein the brightness value of the first intermediate grayscale of each color channel matches the second brightness value of the corresponding color channel.

[0048] For example, at the maximum brightness value of the white point, the maximum brightness values of each color channel can be determined as Rmax, Gmax, and Bmax respectively. According to the Gamma2.2 curve formula: Lvn-L0=(n / 255) 2.2 *(Lvmax-L0) calculates the brightness values of the R, G, and B channels at each set grayscale between 0 and 255. By comparing R (0:1023), G (0:1023), and B (0:1023), we can find the grayscale value of RGB that best matches the Gamma2.2 curve, which is the first intermediate grayscale corresponding to each color channel. Where Lvn is the brightness value of each color channel at each set grayscale, Lvmax is the maximum brightness value of each color channel, L0 is the minimum brightness value of the corresponding color channel, and n is the set grayscale, where n = 0 to 255.

[0049] Step 204 : Under any set grayscale, based on the target brightness value of the white point and the target color coordinates, adjust the first intermediate grayscale corresponding to each color channel to obtain the target grayscale corresponding to each color channel.

[0050] In order to make the white point brightness value obtained based on the brightness value of each color channel at the corresponding first intermediate grayscale at any set grayscale more consistent with the Gamma2.2 curve, and to match the color coordinates of the white point based on the corresponding first intermediate grayscale of each color channel with the target color coordinates, the first intermediate grayscale corresponding to each color channel can be adjusted based on the target brightness value and target color coordinates of the white point at any set grayscale to obtain the target grayscale corresponding to each color channel.

[0051] Step 205 , correcting the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0052] In summary, by determining the first intermediate grayscale corresponding to each color channel from each candidate grayscale according to the maximum brightness value of each color channel and the set target color coordinates at any set grayscale; at any set grayscale, based on the target brightness value and target color coordinates of the white point, adjusting the first intermediate grayscale corresponding to each color channel to obtain the target grayscale corresponding to each color channel, thereby obtaining the target grayscale corresponding to each color channel by adjusting the first intermediate grayscale corresponding to each color channel at any set grayscale, and thus, according to the target grayscale of each color channel, correcting the brightness of the white point, the brightness value of the white point at the set grayscale can satisfy the white balance characteristics, thereby avoiding the occurrence of distortion in the color performance of the display.

[0053] In order to clearly illustrate how the above embodiment adjusts the intermediate grayscale corresponding to each color channel based on the target brightness value and target color coordinates of the white point at any set grayscale to obtain the target grayscale corresponding to each color channel, the present disclosure proposes another white point brightness correction method.

[0054] Figure 3 A flowchart of another white point brightness correction method provided by an embodiment of the present disclosure.

[0055] like Figure 3 As shown, the white point brightness correction method may include the following steps:

[0056] Step 301 : obtaining first reference brightness values of the white point of the display at each candidate grayscale, and determining target brightness values of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale.

[0057] Step 302 : determining the maximum brightness value of each color channel of the display based on the set target color coordinates at the maximum brightness value among the first reference brightness values at each candidate grayscale.

[0058] Step 303 : Under any set grayscale, according to the maximum brightness value of each color channel and the set target color coordinates, determine the first intermediate grayscale corresponding to each color channel from each candidate grayscale.

[0059] Step 304 : Under any set grayscale, determine a second reference brightness value corresponding to each color channel under a first intermediate grayscale.

[0060] Since there is a difference between the brightness value of the actual white point and the sum of the brightness values of each color channel, in order to obtain a white point brightness value that is more in line with the Gamma2.2 curve, the first intermediate grayscale of each color channel can be adjusted. As an example, at any set grayscale, the second reference brightness value of the white point can be determined based on the brightness value corresponding to the first intermediate grayscale of each color channel.

[0061] For example, at any set grayscale, the second reference brightness value of the white point is WYn, WYn=RYi+GYj+BYk+RYi pro *ΔYi+GYi pro ΔYj+BYi pro ΔYk, where i, j and k are the first intermediate grayscales corresponding to each color channel, RYi is the brightness value of the R channel corresponding to the first intermediate grayscale i, GYj is the brightness value of the R channel corresponding to the first intermediate grayscale i, RYi pro GYi is the weight of the coordinate value of the R channel in the coordinate value of the white point under the coordinate axis Y. pro Under the coordinate axis Y, the weight of the coordinate value of the G channel in the coordinate value of the white point, BYi pro is the weight of the coordinate value of the B channel in the coordinate value of the white point under the coordinate axis Y. ΔYi can represent the difference between the coordinate value of the white point and the sum of the coordinate values of each color channel under the coordinate axis Y under the same candidate grayscale. ΔYi=WYi-RYi-GYi-BYi. Similarly, ΔYj=WYj-RYj-GYj-BYj, ΔYk=WYk-RYk-GYk-BYk.

[0062] Step 305 : adjusting the brightness value of each color channel at the first intermediate grayscale according to the target brightness value and the second reference brightness value to obtain an adjusted brightness value of each color channel.

[0063] Furthermore, for any set grayscale, the difference between the target brightness value of the white point and the second reference brightness value can be determined, and the brightness value difference of each color channel can be determined based on the difference. According to the brightness value difference of each color channel, the brightness value at the first intermediate grayscale of the corresponding color channel is adjusted to obtain the adjusted brightness value of each color channel.

[0064] For example, the target brightness value of the white point is WYntarget, the second reference brightness value of the white point is WYn, ΔWYn=WYntarget-WYn, and the brightness value difference of the R channel ΔRYn=ΔWYn*RYi pro Similarly, the brightness difference of the G channel ΔGYn=ΔWYn*GYi pro , the brightness value difference of the B channel ΔBYn=ΔWYn*BYi pro , the adjusted brightness values of each color channel are RYn=ΔRYn+RYi, GYn=ΔGYn+GYi, and BYn=ΔBYn+BYi.

[0065] In addition, it should be noted that since the G channel has the greatest impact on the brightness value of the white point, followed by the R channel, and the B channel has the least, when the deviation between the set grayscale of the white point and the Gamma2.2 curve is not large, you can first adjust the G channel to make the second reference brightness value WYn of the white point close to WYntarget, then adjust the R channel to improve the accuracy of WYn, and finally adjust the B channel to make WYn closer to WYntarget.

[0066] Step 306 : Determine a second intermediate grayscale corresponding to each color channel from each candidate grayscale according to the adjusted brightness value of each color channel.

[0067] The brightness value of the second intermediate grayscale matches the adjusted brightness value of the corresponding color channel.

[0068] Furthermore, according to the adjusted brightness value of each color channel, a second intermediate gray scale of each color channel is screened out from each candidate gray scale, wherein the brightness value of the second intermediate gray scale matches the adjusted brightness value of the corresponding color channel.

[0069] Step 307 : adjusting the second intermediate grayscale of each color channel according to the target brightness value and target color coordinates of the white point to obtain the target grayscale of each color channel.

[0070] In order to match the color coordinates of the white point with the target color coordinates when the brightness value of the white point conforms to the Gamma2.2 curve, as an example, the second intermediate grayscale of each color channel can be adjusted according to the target brightness value and target color coordinates of the white point to obtain the target grayscale of each color channel.

[0071] Optionally, at any set grayscale, the third coordinate value of the white point on the Z coordinate axis in each coordinate axis is determined based on the target brightness value and target color coordinates of the white point; based on the third coordinate value, the second intermediate grayscale of the blue channel in each color channel is adjusted to obtain the target grayscale of the blue channel; based on the target grayscale of the blue channel, the second intermediate grayscales of the red channel and the green channel in each color channel are adjusted according to the target color coordinates of any set grayscale to obtain the target grayscales of the R channel and the G channel.

[0072] That is to say, since the B channel has the smallest effect on the brightness value of the white point, but the largest effect on the Z-axis value of the white point, after obtaining the target brightness value and target color coordinates of the white point, the Z-axis coordinate value WZntarget of the white point under each set grayscale can be calculated according to Z=(1-xtarget-ytarget) / ytarget*Lvtarget. By adjusting the second middle grayscale of the B channel (e.g., floating up and down by 16), the second middle grayscales of the R channel and the G channel remain unchanged, and the Z-axis coordinate value WZn=RZi+GZj+BZk′+RZi of the white point under each set grayscale can be obtained. pro *ΔZi+GZj pro *ΔZj+BZk p ' ro *ΔZk′ (k' ranges from k-16 to k+16), thereby determining the k' value when WZn-WZntarget is the minimum, and obtaining the target grayscale of the B channel. Furthermore, based on the target grayscale of the B channel, the second intermediate grayscales of the R channel and the G channel in each color channel are adjusted to obtain the target grayscales of the R channel and the G channel.

[0073] For example, the second middle grayscale of the R channel and the G channel fluctuates by 16, and the brightness value of the 33*33 group of white points can be obtained WYn=RYi+GYj+BYk′+RYi pro *ΔYi+GYj pro *ΔYj+BYk p ' ro *ΔYk′, find the target grayscale i′ for R and j′ for G when Wyn − ytarget + Wxn − xtarget are minimum, while satisfying the condition 2.2 − log (n / 255) [(WYn − WY0) / (WY255 − WY0)] ≤ 0.02, where Wxn and Wyn are the color coordinates of the white point at each set grayscale.

[0074] Step 308 , correcting the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0075] In summary, by determining the second reference brightness value corresponding to each color channel at the first intermediate grayscale at any set grayscale; adjusting the brightness value of each color channel at the first intermediate grayscale according to the target brightness value and the second reference brightness value to obtain the adjusted brightness value of each color channel; determining the second intermediate grayscale corresponding to each color channel from each candidate grayscale according to the adjusted brightness value of each color channel; wherein the brightness value of the second intermediate grayscale matches the adjusted brightness value of the corresponding color channel; adjusting the second intermediate grayscale of each color channel according to the target brightness value and target color coordinates of the white point to obtain the target grayscale of each color channel, thereby adjusting the grayscale value of each color channel according to the target brightness value and target color coordinates of the white point, and thus, according to the target grayscale of the color channel corresponding to each set grayscale, correcting the brightness of the white point can make the brightness value of the white point at the set grayscale conform to the Gamma2.2 curve and the color coordinates of the white point match the target color coordinates.

[0076] In order to clearly illustrate how the above embodiment determines the maximum brightness value of each color channel at each set grayscale based on the set target color coordinates at the maximum brightness value among the reference brightness values at each candidate grayscale, the present disclosure proposes another white point brightness correction method. Figure 4 A flowchart of another white point brightness correction method provided by an embodiment of the present disclosure.

[0077] like Figure 4 As shown, the white point brightness correction method may include the following steps:

[0078] Step 401 : obtaining first reference brightness values of the white point of the display at each candidate grayscale, and determining target brightness values of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale.

[0079] Step 402 : determining the maximum grayscale corresponding to each color channel at the maximum brightness value among the first reference brightness values at each candidate grayscale.

[0080] In the embodiment of the present disclosure, at the highest brightness of the white point, the maximum grayscale corresponding to each color channel is determined. For example, the color channels corresponding to the maximum brightness of the white point W1023 are R1023, B1023 and G1023 respectively, that is, the maximum grayscale corresponding to each color channel is 1023.

[0081] Step 403 : adjusting the maximum grayscale corresponding to each color channel, and determining the target coordinate value of each coordinate axis of the white point in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel.

[0082] Optionally, obtain the first coordinate value of each color channel on each coordinate axis in the set coordinate system and the second coordinate value of the white point on each coordinate axis in the set coordinate system under each candidate grayscale; for any candidate grayscale among the candidate grayscales, determine the coordinate difference between the second coordinate value and the first coordinate value of each color channel on the same coordinate axis of any candidate grayscale and the weight of the first coordinate value of each color channel in the second coordinate value; adjust the maximum grayscale corresponding to each color channel, and determine the third coordinate value of each coordinate axis of each color channel in the set coordinate system based on the adjusted maximum grayscale corresponding to each color channel; determine the target coordinate value of the white point on each coordinate axis in the set coordinate system based on the third coordinate value, coordinate difference and weight corresponding to each color channel.

[0083] For example, the driving voltages of the G and B channels are controlled to be 0, the driving voltage of the R channel is controlled, and the first coordinate values of each coordinate axis (X, Y, Z) in the set coordinate system of 1024 candidate grayscales of the R channel (R[0-1023,0,0]) are collected. The driving voltages of the R and B channels are controlled to be 0, the driving voltage of the G channel is controlled, and the first coordinate values of each coordinate axis in the set coordinate system of 1024 candidate grayscales of the G channel (G[0-1023,0,0]) are collected. Similarly, the first coordinate values of each coordinate axis in the set coordinate system of 1024 candidate grayscales of the B channel (B[0-1023,0,0]) can be collected. The red, green, and blue channels are controlled to be driven by the same voltage, and the second coordinate values of each coordinate axis in the set coordinate system of 1024 candidate grayscales of the white point (W[0,0,0-1023,1023,1023]) are collected. Since the white point is composed of RGB, the white point can be expressed as Wn(Ri GjBk), i=0~1023, j=0~1023, k=0~1023.

[0084] In addition, since the coordinate value WX of the white point on the X-axis under the same candidate grayscale is approximately equal to the sum of the coordinate values of each color channel on the X-axis RX+GX+BX, similarly, WY is approximately equal to RY+GY+BY, and WZ is approximately equal to RZ+GZ+BZ. However, under the same coordinate axis of any candidate grayscale, there is a coordinate difference between the second coordinate value of the actual white point and the first coordinate value of each color channel, that is, ΔXi=WXi-RXi-GXi-BXi, ΔYi=WYi-RYi-GYi-BYi, and ΔZi=WZi-RZi-GZi-BZi.

[0085] The weight of the first coordinate value of each color channel in the second coordinate value under the same coordinate axis of any candidate grayscale, such as the weight of the first coordinate value of the R channel in the second coordinate value under the X coordinate axis RXi pro=RXi / WXi, under the Y coordinate axis, the weight RYi of the first coordinate value of the R channel in the second coordinate value pro =RYi / WYi, under the Z coordinate axis, the weight RZi of the first coordinate value of the R channel in the second coordinate value pro =RZi / WZi; Under the X coordinate axis, the weight of the first coordinate value of the G channel in the second coordinate value GXj pro =GXj / WXj, under the Y coordinate axis, the weight of the first coordinate value of the G channel in the second coordinate value GYj pro =GYj / WYj, under the Z coordinate axis, the weight of the first coordinate value of the G channel in the second coordinate value GZj pro =GZj / WZj, under the X coordinate axis, the weight of the first coordinate value of channel B in the second coordinate value BXk pro =BXk / WXk, under the Y coordinate axis, the weight of the first coordinate value of the B channel in the second coordinate value BYk pro =BYk / WYk, under the Z coordinate axis, the weight of the first coordinate value of the B channel in the second coordinate value BZk pro =BZk / WZk. The target coordinate value of the white point on each coordinate axis in the set coordinate system is WXn=RXi+GXj+BXk+RXi pro *ΔXi+GXi pro ΔXj+BXi pro ΔXk, similarly, WYn=RYi+GYj+BYk+RYi pro *ΔYi+GYi pro ΔYj+BYi pro ΔYk, WZn=RZi+GZj+BZk+RZi pro *ΔZi+GZi pro ΔZj+BZi pro ΔZk.

[0086] Step 404 : Determine the reference color coordinates according to the target coordinate values of the white point on each coordinate axis under the set coordinates.

[0087] Furthermore, based on the color coordinate formulas x = X / (X+Y+Z) and y = Y / (X+Y+Z), the reference color coordinates of the white point can be calculated based on the target coordinate values of each coordinate axis at the set coordinates, where X of the white point at each set grayscale is WXn, Y is WYn, and Z is WZn.

[0088] Step 405 : When the difference between the reference color coordinates and the set target color coordinates is less than or equal to the set threshold, the maximum brightness value of each color channel is determined according to the adjusted maximum grayscale corresponding to each color channel.

[0089] In order to reduce the amount of calculation, as an example, at the highest brightness of the white point W1023 (R1023, G1023, B1023), R is adjusted to make the reference color coordinate x close to the target color coordinate xtarget (xtarget=0.313), G is adjusted to make the reference color coordinate y close to ytarget (ytarget=0.329), and B is adjusted to fine-tune the reference color coordinates x and y.

[0090] Among them, when the difference between the reference color coordinates and the target color coordinates is greater than the set threshold, the maximum grayscale corresponding to each color channel can be repeatedly adjusted, and the target coordinate value of each coordinate axis of each color channel in the set coordinate system is determined according to the adjusted maximum grayscale corresponding to each color channel. According to the target coordinate value of each coordinate axis of each color channel under the set coordinate system, the reference color coordinate is determined until the difference between the reference color coordinates and the target color coordinates is less than the set threshold. For example, until |x-xtarget|<0.001, |y-ytarget|<0.001. It should be noted that in order to make the white point the highest brightness, when adjusting the maximum grayscale of the G channel, the difference between the adjusted maximum grayscale and the maximum grayscale can be minimized.

[0091] Step 406 , at any set grayscale, determine the target grayscale corresponding to each color channel from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point.

[0092] Step 407 , correcting the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0093] In summary, the maximum grayscale corresponding to each color channel is determined at the maximum brightness value among the first reference brightness values under each candidate grayscale; the maximum grayscale corresponding to each color channel is adjusted, and the target coordinate value of each coordinate axis of the white point in the set coordinate system is determined according to the adjusted maximum grayscale corresponding to each color channel. When the difference between the reference color coordinates and the set target color coordinates is less than or equal to the set threshold, the maximum brightness value of each color channel is determined according to the adjusted maximum grayscale corresponding to each color channel. Therefore, under the maximum brightness value of the white point, the maximum grayscale of each color channel is adjusted, and the maximum brightness value of each color channel can be determined while satisfying the target color coordinates of the white point.

[0094] In any embodiment of the present disclosure, the white point brightness correction method can also be implemented based on the following steps:

[0095] 1. If Figure 5As shown, the terminal device is connected to the microcontroller unit (MCU) through a serial interface, and then connected to the color analyzer CA410 through a serial port protocol. The microcontroller unit is connected to the color analyzer CA410 through a serial port bus (I 2 C) Connect to a display. The microcontroller controls the display to generate 10-bit data using a time-space (dither) method: R[0-1023,0,0], G[0,0-1023,0], B[0,0,0-1023], and W[0,0,0-1023,1023,1023]. Simultaneously, the MCU controls the color analyzer CA410 to collect color coordinate data and brightness at the corresponding grayscale: X, Y, Z, x, y, Lv. It is known that the white point is composed of RGB and can be expressed as Wn(Ri Gj Bk), where i, j, and k are RGB index values (grayscale values), i = 0-1023, j = 0-1023, and k = 0-1023.

[0096] 2. Since the value of the white point on X under the same grayscale is approximately equal to the sum of the three monochromes (R, G, B) on X, that is, WX = RX + GX + BX; similarly, WY = RY + GY + BY; WZ = RZ + GZ + BZ. However, there is a difference between the actual white point XYZ and the sum of (R, G, B), calculate ΔXi = WXi - RXi - GXi - BXi; ΔYi = WYi - RYi - GYi - BYi; ΔZi = WZi - RZi - GZi - BZi. The difference needs to be calculated in subsequent calculations to improve accuracy. In addition, calculate the weight RXi of XYZ in the white point in the RGB components pro =RXi / WXi,RYi pro =RYi / WYi, RZi pro =RZi / WZi, GXj pro =GXj / WXj, GYj pro =GYj / WYj, GZj pro =GZj / WZj, BXk pro =BXk / WXk, BYk pro =BYk / WYk, BZk pro =BZk / WZk;

[0097] 3. Calculate the maximum brightness based on the white point color coordinates xtarget and ytarget, where the white point color coordinates xtarget = 0.313 and ytarget = 0.329.

[0098] For example, first adjust R at the highest white point brightness W1023 (R1023, G1023, B1023) to make the color coordinate x close to xtarget, adjust G to make y close to ytarget, and adjust B to fine-tune x and y until |x-xtarget| < 0.001 and |y-ytarget| < 0.001.

[0099] It should be noted that, in order to make the brightness value of the white point the maximum brightness value, when adjusting the maximum grayscale of the G channel, the difference between the maximum grayscale after adjustment and the maximum grayscale before adjustment can be minimized.

[0100] Among them, the color coordinate calculation formula is x=X / (X+Y+Z); y=Y(X+Y+Z);

[0101] WXn=RXi+GXj+BXk+RXi pro *ΔXi+GXi pro ΔXj+BXi pro ΔXk; similarly calculate WYn and WZn; where n = 0 to 255; to reduce the amount of calculation, the maximum brightness value of each color channel can be determined at the highest brightness of the white point (n = 255).

[0102] 4. After determining the maximum brightness Wmax (Rmax Gmax Bmax) and color coordinates and W0 brightness, according to the Gamma2.2 formula: Lvn-L0=(n / 255) 2.2 *(Lvmax-L0), calculate the brightness value of each set grayscale of RGB from 0 to 255 respectively, and compare R(0:1023), G(0:1023), and B(0:1023) to find the index value (grayscale value) of the three RGB channels that best conforms to Gamma2.2. The first set of index values (the first middle grayscale) is obtained: Table: Rid(0:255), Gid(0:255), Bid(0:255);

[0103] 5. Because the actual white point brightness WY differs from the sum of the (R, G, B) brightness values RY+GY+BY, the first set of index values Table must be compensated to obtain a white point brightness value that better conforms to Gamma 2.2. The target brightness value WYntarget for the white point in grayscales 0 to 255 is calculated based on the maximum white point brightness Lvwmax, Lvw0, and the Gamma 2.2 formula. Furthermore, the white point brightness value (second reference brightness value) WYn (n = 0 to 255) is calculated based on the first set of index values Table.

[0104] That is, WYn=RYi+GYj+BYk+RYi pro *ΔYi+GYi pro ΔYj+BYipro ΔYk; ΔWYn=WYntarget-WYn, thus, ΔRYn=ΔWYn*RYi can be obtained pro ; ΔGYn=ΔWYn*GYi pro ; ΔBYn=ΔWYn*BYi pro ;

[0105] At this time, the adjusted brightness values of each color channel are RYn=ΔRYn+RYi, GYn=ΔGYn+GYi, and BYn=ΔBYn+BYi. Compare R(0:1023), G(0:1023), and B(0:1023) to find the index value of the RGB channels that best matches Gamma2.2 (the second middle grayscale). The second set of index values is obtained: Rid(0:255), Gid(0:255), and Bid(0:255).

[0106] 6. Adjust color coordinates: Since B has the smallest effect on brightness, but the largest effect on the Z value at the white point, given the target brightness and color coordinate values for each grayscale at the white point, the formula Z = (1-xtarget-ytarget) / ytarget*Lvtarget can be used to calculate WZntarget at each grayscale. Based on the second index value Table, change the B index value at each grayscale, with a fluctuation of 16, while keeping the R and G index values unchanged. Calculate the Z value at the white point at this time: WZn = RZi + GZj + BZk′ + RZi pro *ΔZi+GZj pro *ΔZj+BZk′ pro *ΔZk′ (k' ranges from k-16 to k+16), find the k' value (target grayscale) when |WZn-WZntarget| is minimum, and update it to the new index value Table.

[0107] Then, in the latest index value table, change R and G, keep the value of B unchanged, and float R and G up and down by 16, and calculate the brightness value of the 33*33 group of white points WYn=RYi+GYj+BYk′+RYi pro *ΔYi+GYj pro *ΔYj+BYk′ pro *ΔYk′; Under the condition |2.2-log(n / 255)[(WYn-WY0) / (WY255-WY0)]|≤0.02, find the R and G index values i' and j' that minimize |Wyn-ytarget|+|Wxn-xtarget|. Wxn and Wyn are the color coordinates of the white point at grayscale n. Based on i', j', and k', we obtain the final index values (target grayscale) in the table: Rid(0:255), Gid(0:255), and Bid(0:255).

[0108] It should be noted that if the color coordinates generated by the final index value Table differ significantly from the target value, step 6 can be repeated for compensation.

[0109] In addition, it should be noted that because G has the greatest impact on the brightness value of the white point, followed by R, and B has the least impact, if the deviation of Gamma2.2 is not large, you can first adjust G to make the brightness WYn close to WYntarget, then adjust R to improve the accuracy of WYn, and finally use B to fine-tune WYn to make it closer to WYntarget.

[0110] The white point brightness correction method of the embodiment of the present disclosure obtains the first reference brightness value of the white point of the display at each candidate grayscale, and determines the target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness value at each candidate grayscale; at the maximum brightness value of the reference brightness values at each candidate grayscale, based on the set target color coordinates, determines the maximum brightness value of each color channel of the display at each set grayscale; at any set grayscale, based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point, determines the target grayscale corresponding to each color channel from each candidate grayscale; based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; According to the target grayscale corresponding to each color channel, the brightness value of the white point at any set grayscale is corrected. Therefore, at any set grayscale, the target grayscale corresponding to each color channel is determined from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point. This achieves the goal of determining the target grayscale of the color channel corresponding to each set grayscale of the white point while satisfying the white balance condition. Therefore, according to the target grayscale of the color channel corresponding to each set grayscale, the brightness of the white point is corrected, so that the brightness value of the white point at the set grayscale can meet the white balance characteristics, thereby avoiding the occurrence of distortion in the color performance of the display.

[0111] In order to implement the above embodiments, the present disclosure further proposes a white point brightness correction device.

[0112] Figure 6 A schematic structural diagram of a white point brightness correction device provided in an embodiment of the present disclosure.

[0113] like Figure 6 As shown, the white point brightness correction device 600 includes: a first determination module 610 , a second determination module 620 , a third determination module 630 and a correction module 640 .

[0114] Among them, the first determination module 610 is used to obtain the first reference brightness value of the white point of the display at each candidate grayscale, and determine the target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness values at each candidate grayscale; the second determination module 620 is used to determine the maximum brightness value of each color channel of the display at each set grayscale based on the set target color coordinates at the maximum brightness value of the first reference brightness values at each candidate grayscale; the third determination module 630 is used to determine the target grayscale corresponding to each color channel from each candidate grayscale at any set grayscale based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; the correction module 640 is used to correct the brightness value of the white point at any set grayscale according to the target grayscale corresponding to each color channel.

[0115] As a possible implementation method of the embodiment of the present disclosure, the third determination module 630 is used to: at any set grayscale, determine the first intermediate grayscale corresponding to each color channel from each candidate grayscale according to the maximum brightness value of each color channel and the set target color coordinates; at any set grayscale, adjust the first intermediate grayscale corresponding to each color channel based on the target brightness value and target color coordinates of the white point to obtain the target grayscale corresponding to each color channel.

[0116] As a possible implementation method of the embodiment of the present disclosure, the third determination module 630 is further used to: determine the second reference brightness value corresponding to each color channel at the first intermediate gray scale under any set gray scale; adjust the brightness value of each color channel at the first intermediate gray scale according to the target brightness value and the second reference brightness value to obtain the adjusted brightness value of each color channel; determine the second intermediate gray scale corresponding to each color channel from each candidate gray scale according to the adjusted brightness value of each color channel; wherein the brightness value of the second intermediate gray scale matches the adjusted brightness value of the corresponding color channel; and adjust the second intermediate gray scale of each color channel according to the target brightness value and target color coordinates of the white point to obtain the target gray scale of each color channel.

[0117] As a possible implementation method of the embodiment of the present disclosure, the third determination module 630 is further used to: determine the third coordinate value of the white point on the Z coordinate axis in each coordinate axis according to the target brightness value and target color coordinates of the white point under any set grayscale; adjust the second intermediate grayscale of the blue channel in each color channel according to the third coordinate value to obtain the target grayscale of the blue channel; based on the target grayscale of the blue channel, adjust the second intermediate grayscale of the red channel and the green channel in each color channel according to the target color coordinates of any set grayscale to obtain the target grayscale of the red channel and the green channel.

[0118] As a possible implementation method of the embodiment of the present disclosure, the second determination module 620 is used to: determine the maximum grayscale corresponding to each color channel at the maximum brightness value among the reference brightness values under each candidate grayscale; adjust the maximum grayscale corresponding to each color channel, and determine the target coordinate value of the white point on each coordinate axis in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel; determine the reference color coordinates according to the target coordinate value of the white point on each coordinate axis under the set coordinates; when the difference between the reference color coordinates and the set target color coordinates is less than or equal to the set threshold, determine the maximum brightness value of each color channel according to the adjusted maximum grayscale corresponding to each color channel.

[0119] As a possible implementation of the embodiment of the present disclosure, the white point brightness correction device 600 further includes: a fourth determination module.

[0120] The fourth determination module is used to repeatedly adjust the maximum grayscale corresponding to each color channel when the difference between the reference color coordinates and the target color coordinates is greater than the set threshold, and determine the target coordinate value of each coordinate axis of each color channel in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel, and determine the reference color coordinate according to the target coordinate value of each coordinate axis of each color channel in the set coordinate system, until the difference between the reference color coordinates and the target color coordinates is less than the set threshold.

[0121] As a possible implementation method of the embodiment of the present disclosure, the second determination module 620 is also used to: obtain the first coordinate value of each color channel on each coordinate axis in the set coordinate system under each candidate grayscale, and the second coordinate value of the white point on each coordinate axis in the set coordinate system; for any candidate grayscale among the candidate grayscales, determine the coordinate difference between the second coordinate value and the first coordinate value of each color channel on the same coordinate axis of any candidate grayscale and the weight of the first coordinate value of each color channel in the second coordinate value; adjust the maximum grayscale corresponding to each color channel, and determine the third coordinate value of each coordinate axis of each color channel in the set coordinate system based on the adjusted maximum grayscale corresponding to each color channel; determine the target coordinate value of each coordinate axis of the white point in the set coordinate system based on the third coordinate value, coordinate difference and weight corresponding to each color channel.

[0122] The white point brightness correction device of the embodiment of the present disclosure obtains the first reference brightness value of the white point of the display at each candidate grayscale, and determines the target brightness value of the white point at each set grayscale based on the maximum brightness value and the minimum brightness value of the first reference brightness value at each candidate grayscale; at the maximum brightness value of the reference brightness values at each candidate grayscale, based on the set target color coordinates, determines the maximum brightness value of each color channel of the display at each set grayscale; at any set grayscale, based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point, determines the target grayscale corresponding to each color channel from each candidate grayscale; based on the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point; According to the target grayscale corresponding to each color channel, the brightness value of the white point at any set grayscale is corrected. Therefore, at any set grayscale, the target grayscale corresponding to each color channel is determined from each candidate grayscale according to the maximum brightness value of each color channel, the set target color coordinates and the target brightness value of the white point. This achieves the goal of determining the target grayscale of the color channel corresponding to each set grayscale of the white point while satisfying the white balance condition. Therefore, according to the target grayscale of the color channel corresponding to each set grayscale, the brightness of the white point is corrected, so that the brightness value of the white point at the set grayscale can meet the white balance characteristics, thereby avoiding the occurrence of distortion in the color performance of the display.

[0123] It should be noted that the above explanations of the embodiment of the white point brightness correction method are also applicable to the white point brightness correction device of this embodiment, and will not be repeated here.

[0124] In order to implement the above embodiment, the present disclosure also proposes an electronic device, such as Figure 7 As shown, Figure 7 FIG. 1 is a block diagram of an electronic device for white point brightness correction according to an exemplary embodiment. Figure 7 As shown, the electronic device 700 may include:

[0125] The memory 710 and the processor 720, and the bus 730 connecting different components (including the memory 710 and the processor 720), the memory 710 stores a computer program, and when the processor 720 executes the program, the white point brightness correction method described in the embodiment of the present disclosure is implemented.

[0126] Bus 730 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0127] The electronic device 700 typically includes a variety of computer-readable media. These media can be any available media that can be accessed by the electronic device 700, including volatile and non-volatile media, removable and non-removable media.

[0128] The memory 710 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 740 and / or cache memory 750. The electronic device 700 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 760 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 Not shown, often called a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1130 via one or more data medium interfaces. The memory 710 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0129] A program / utility 780 having a set (at least one) of program modules 770 may be stored, for example, in memory 710. Such program modules 770 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 770 generally implement the functions and / or methods of the embodiments described herein.

[0130] The electronic device 700 may also communicate with one or more external devices 790 (e.g., a keyboard, a pointing device, a display 791, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 792. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 793. Figure 7 As shown, the network adapter 793 communicates with other modules of the electronic device 700 via the bus 730. Figure 7Not shown, other hardware and / or software modules may be used in conjunction with electronic device 700, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0131] The processor 720 executes various functional applications and data processing by running programs stored in the memory 710 .

[0132] In order to implement the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, the computer instructions being used to enable a computer to execute the present disclosure. Figures 1 to 5 The method described in the embodiment.

[0133] In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program, which implements the present disclosure when executed by a processor. Figures 1 to 5 The method described in the embodiment.

[0134] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.

[0135] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0136] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0137] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0138] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0139] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0140] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

[0141] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. A person of ordinary skill in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A white point brightness correction method, characterized in that: include: Obtaining a first reference brightness value of a white point of the display at each candidate grayscale, and determining a target brightness value of the white point at each set grayscale based on a maximum brightness value and a minimum brightness value among the first reference brightness values at each candidate grayscale; determining, at a maximum brightness value among the first reference brightness values at each candidate grayscale, a maximum brightness value of each color channel of the display based on a set target color coordinate; Under any of the set grayscales, determining a first intermediate grayscale corresponding to each of the color channels from each of the candidate grayscales according to the maximum brightness value of each of the color channels and the set target color coordinates; Under any of the set grayscales, determining a second reference brightness value corresponding to each color channel under the first intermediate grayscale; Adjusting the brightness value of each color channel at the first intermediate grayscale according to the target brightness value and the second reference brightness value to obtain an adjusted brightness value of each color channel; Determining, based on the adjusted brightness values of the respective color channels, a second intermediate grayscale corresponding to each of the color channels from each of the candidate grayscales; wherein the brightness value of the second intermediate grayscale of each of the color channels matches the adjusted brightness value of the corresponding color channel; Adjusting the second intermediate grayscale of each color channel according to the target brightness value and target color coordinates of the white point to obtain the target grayscale of each color channel; According to the target grayscale corresponding to each of the color channels, the brightness value of the white point at any set grayscale is corrected.

2. The method according to claim 1, characterized in that The step of adjusting the second intermediate grayscale of each color channel according to the target brightness value and target color coordinates of the white point at any of the set grayscales to obtain the target grayscale of each color channel comprises: Under any of the set grayscales, determining the third coordinate value of the white point on the Z coordinate axis in each coordinate axis according to the target brightness value and the target color coordinate of the white point; adjusting the second intermediate grayscale of the blue channel among the color channels according to the third coordinate value to obtain a target grayscale of the blue channel; Based on the target grayscale of the blue channel, the second intermediate grayscales of the red channel and the green channel in each of the color channels are adjusted according to the target color coordinates of any of the set grayscales to obtain the target grayscales of the red channel and the green channel.

3. The method according to claim 1 , wherein determining the maximum brightness value of each color channel of the display based on a set target color coordinate at the maximum brightness value among the first reference brightness values at each candidate grayscale comprises: Determining the maximum grayscale corresponding to each of the color channels at the maximum brightness value among the reference brightness values at each of the candidate grayscales; Adjusting the maximum grayscale corresponding to each color channel, and determining the target coordinate value of each coordinate axis of the white point in a set coordinate system according to the adjusted maximum grayscale corresponding to each color channel; Determining reference color coordinates according to target coordinate values of each coordinate axis of the white point under set coordinates; When the difference between the reference color coordinates and the set target color coordinates is less than or equal to a set threshold, the maximum brightness value of each color channel is determined according to the adjusted maximum grayscale corresponding to each color channel.

4. The method according to claim 3, characterized in that The method further comprises: When the difference between the reference color coordinates and the target color coordinates is greater than a set threshold, repeatedly adjusting the maximum grayscale corresponding to each color channel, and determining the target coordinate value of each coordinate axis of each color channel in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel, and determining the reference color coordinate according to the target coordinate value of each coordinate axis of each color channel in the set coordinate system, until the difference between the reference color coordinates and the target color coordinates is less than the set threshold.

5. The method according to claim 3, characterized in that The maximum grayscale corresponding to each of the color channels is adjusted, and the target coordinate value of each coordinate axis of the white point in the set coordinate system is determined according to the adjusted maximum grayscale corresponding to each of the color channels, including: Obtaining the first coordinate value of each color channel on each coordinate axis in a set coordinate system at each candidate grayscale, and the second coordinate value of each coordinate axis of the white point in the set coordinate system; For any candidate grayscale among the candidate grayscales, determining, on the same coordinate axis of the candidate grayscale, a coordinate difference between a second coordinate value and a first coordinate value of each color channel and a weight of the first coordinate value of each color channel in the second coordinate value; Adjusting the maximum grayscale corresponding to each color channel, and determining the third coordinate value of each coordinate axis of each color channel in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel; The target coordinate values of each coordinate axis of the white point in the set coordinate system are determined according to the third coordinate values corresponding to each color channel, the coordinate difference, and the weight.

6. A white point brightness correction device, characterized in that: include: a first determination module, configured to obtain a first reference luminance value of a white point of the display at each candidate grayscale, and determine a target luminance value of the white point at each set grayscale based on a maximum luminance value and a minimum luminance value among the first reference luminance values at each candidate grayscale; a second determining module, configured to determine, based on a set target color coordinate and at a maximum brightness value among the first reference brightness values at each candidate grayscale, a maximum brightness value of each color channel of the display at each set grayscale; a third determining module configured to, at any of the set grayscales, determine a first intermediate grayscale corresponding to each of the color channels from each of the candidate grayscales based on the maximum brightness value of each of the color channels and the set target color coordinates; and determine a second reference brightness value corresponding to each of the color channels at the first intermediate grayscale at any of the set grayscales; adjusting the brightness value of each color channel at the first intermediate grayscale based on the target brightness value and the second reference brightness value to obtain an adjusted brightness value for each color channel; determining a second intermediate grayscale corresponding to each color channel from each candidate grayscale based on the adjusted brightness value of each color channel; wherein the brightness value of the second intermediate grayscale of each color channel matches the adjusted brightness value of the corresponding color channel; and adjusting the second intermediate grayscale of each color channel based on the target brightness value and target color coordinates of the white point to obtain a target grayscale for each color channel; The correction module is used to correct the brightness value of the white point at any set gray scale according to the target gray scale corresponding to each color channel.

7. The device according to claim 6, characterized in that The third determining module is further configured to: Under any of the set grayscales, determining the third coordinate value of the white point on the Z coordinate axis in each coordinate axis according to the target brightness value and the target color coordinate of the white point; adjusting the second intermediate grayscale of the blue channel among the color channels according to the third coordinate value to obtain a target grayscale of the blue channel; Based on the target grayscale of the blue channel, the second intermediate grayscales of the red channel and the green channel in each of the color channels are adjusted according to the target color coordinates of any of the set grayscales to obtain the target grayscales of the red channel and the green channel.

8. The device according to claim 6, characterized in that The second determining module is configured to: Determining the maximum grayscale corresponding to each of the color channels at the maximum brightness value among the reference brightness values at each of the candidate grayscales; Adjusting the maximum grayscale corresponding to each color channel, and determining the target coordinate value of each coordinate axis of the white point in a set coordinate system according to the adjusted maximum grayscale corresponding to each color channel; Determining reference color coordinates according to target coordinate values of each coordinate axis of the white point under set coordinates; When the difference between the reference color coordinates and the set target color coordinates is less than or equal to a set threshold, the maximum brightness value of each color channel is determined according to the adjusted maximum grayscale corresponding to each color channel.

9. The device according to claim 8, characterized in that The device further comprises: The fourth determination module is used to repeatedly adjust the maximum grayscale corresponding to each color channel when the difference between the reference color coordinates and the target color coordinates is greater than a set threshold, and determine the target coordinate value of each coordinate axis of each color channel in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel, and determine the reference color coordinate according to the target coordinate value of each coordinate axis of each color channel in the set coordinate system, until the difference between the reference color coordinates and the target color coordinates is less than the set threshold.

10. The device according to claim 8, characterized in that The second determining module is further configured to: Obtaining the first coordinate value of each color channel on each coordinate axis in a set coordinate system at each candidate grayscale, and the second coordinate value of each coordinate axis of the white point in the set coordinate system; For any candidate grayscale among the candidate grayscales, determining, on the same coordinate axis of the candidate grayscale, a coordinate difference between a second coordinate value and a first coordinate value of each color channel and a weight of the first coordinate value of each color channel in the second coordinate value; Adjusting the maximum grayscale corresponding to each color channel, and determining the third coordinate value of each coordinate axis of each color channel in the set coordinate system according to the adjusted maximum grayscale corresponding to each color channel; The target coordinate values of each coordinate axis of the white point in the set coordinate system are determined according to the third coordinate values corresponding to each color channel, the coordinate difference, and the weight.

11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • OLED module Gamma adjustment and calibration method and device

    CN106328070A