Display screen brightness control method and device, equipment, storage medium and program product
By determining the target value of the gamma binding point in the display screen according to the refresh frequency, searching and adjusting the gamma binding point, the problem of complex and time-consuming gamma binding point correction operation in the prior art is solved, and a fast and accurate correction effect is achieved.
Patent Information
- Application Number
- CN202411608729.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-11-11
AI Technical Summary
In the prior art, the correction operation of gamma binding points is complicated and time-consuming, making it difficult to achieve rapid correction of batch display modules.
By determining the maximum brightness value, gamma coefficient and the color coordinates of each gamma binding point based on the refresh frequency of the display screen, calculate the target brightness value and the target three stimulus value, obtain the preset value of the gamma binding point, search the adjacent gamma binding point, adjust the stride of the color channel until the error between the measured three stimulus value and the target three stimulus value meets the preset threshold, and determine the corrected gamma binding point.
It realizes rapid and accurate correction of gamma binding points of the display module, improves the efficiency of batch correction, and simplifies the operation process.
Smart Images

Figure CN119559901A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a display screen brightness control method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] Gamma is a parameter used to characterize the brightness response characteristics of active-matrix organic light emitting diode (AMOLED) display devices. It evaluates the display effect of the display module by measuring whether the relationship between the display brightness and the input level is close to an exponential curve. This curve is an important indicator of the color brightness of the AMOLED display screen and is also the basis for debugging the performance of other algorithms in the AMOLED driver integrated circuit (IC).
[0003] In traditional technology, the main method of gamma debugging is to use trial and error, that is, by writing data values in specific registers of the display driver chip to adjust the voltage settings to change the brightness of the R, G, and B sub-pixels respectively, and through the feedback of the color analyzer, the Data value changes in a certain step size, so that the gamma and color coordinates gradually approach the specification values.
[0004] However, this method is complicated to operate, time-consuming, and is not conducive to rapid correction of gamma binding points for batches of display modules. Summary of the invention
[0005] Based on this, it is necessary to provide a display screen brightness control method, device, computer equipment, computer-readable storage medium and computer program product that can quickly correct the gamma binding point of the display module in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a display screen brightness control method, comprising:
[0007] According to the refresh frequency of the display screen, the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point are determined respectively;
[0008] According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, respectively determine the target brightness value and the target tristimulus value corresponding to each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value, and a blue primary color stimulation value;
[0009] Get the preset value of each gamma binding point;
[0010] Selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points;
[0011] Determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value;
[0012] The adjacent gamma binding points are re-searched by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point.
[0013] In one embodiment, determining the target brightness value and the target tristimulus value corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point respectively includes:
[0014] Set the grayscale value corresponding to each gamma binding point, wherein the brightness corresponding to the maximum grayscale value is the maximum brightness value;
[0015] Determine the target brightness value corresponding to each gamma binding point according to the grayscale value corresponding to each gamma binding point, the maximum brightness and the gamma coefficient;
[0016] The target tristimulus values corresponding to each gamma binding point are determined according to the color coordinates corresponding to each gamma binding point and the target brightness values corresponding to each gamma binding point.
[0017] In one embodiment, obtaining the preset value of each gamma binding point includes:
[0018] The R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point are calibrated by a color analyzer;
[0019] Taking the R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point as prior conditions, the R channel value, G channel value and B channel value corresponding to the remaining gamma binding points are derived in sequence; wherein the R channel value, G channel value and B channel value corresponding to the gamma binding point constitute the preset value of the gamma binding point.
[0020] In one embodiment, determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value includes:
[0021] If the gamma binding points to be corrected are the largest gamma binding point and the second largest gamma binding point, the adjustment steps of each color channel are set to a uniform adjustment step according to empirical parameters;
[0022] If the gamma binding point to be corrected is not the largest gamma binding point and the second largest gamma binding point, normalizing the target three stimulus values and the measured three stimulus values respectively to obtain a first vector corresponding to the target three stimulus values and a second vector corresponding to the measured three stimulus values;
[0023] Determine the similarity between the first vector and the second vector by using a cosine function;
[0024] The adjustment step of each color channel is determined respectively according to the similarity, the target tristimulus values, the measured tristimulus values, and a preset weight adjustment parameter.
[0025] In one embodiment, the re-searching for adjacent gamma binding points by adjusting the step sizes of the respective color channels comprises:
[0026] If the gamma binding point to be corrected is the largest gamma binding point and the second largest gamma binding point, the value of the G channel is reduced by one adjustment step; if the measured red primary color stimulation value is greater than the target red primary color stimulation value, the value of the R channel is reduced by one adjustment step; if the measured blue primary color stimulation value is greater than the target blue primary color stimulation value, the value of the B channel is reduced by one adjustment step;
[0027] If the gamma binding point to be corrected is not the largest gamma binding point or the second largest gamma binding point, the values of the R channel, the G channel, and the B channel are increased by the adjustment steps of the corresponding color channels respectively.
[0028] In one embodiment, after determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value, the method further includes:
[0029] Determine whether the number of times the current search for the adjacent gamma binding point reaches the number of iterations of the binding point interval where the gamma binding point to be corrected is located;
[0030] If the number of iterations is reached, the search is stopped;
[0031] A gamma binding point corresponding to the optimal search value is selected from the searched gamma binding points as the corrected gamma binding point.
[0032] In one of the embodiments, after determining that the currently searched gamma binding point is a corrected gamma binding point, the method further includes:
[0033] Determine whether the calibration of all gamma binding points is completed;
[0034] If the calibration of all gamma binding points is completed, the process ends;
[0035] If the calibration of all gamma binding points is not completed, the next uncalibrated gamma binding point is selected as the gamma binding point to be calibrated;
[0036] The gamma binding points to be corrected are corrected until the correction of all gamma binding points is completed.
[0037] In a second aspect, the present application further provides a display screen brightness control device, the device comprising:
[0038] A first determination module, used to determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point according to the refresh frequency of the display screen;
[0039] A second determination module is used to determine the target brightness value and target tristimulus value corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value and a blue primary color stimulation value;
[0040] An acquisition module is used to obtain the preset values of each gamma binding point;
[0041] A search module, used for selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points;
[0042] An adjustment step determination module, used to determine the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value;
[0043] The search module is further used to re-search the adjacent gamma binding points through the adjustment steps of the respective color channels until the error between the measured three stimulus values corresponding to the searched gamma binding points and the target three stimulus values meets a preset error function threshold, and then determine that the currently searched gamma binding point is a corrected gamma binding point.
[0044] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0045] According to the refresh frequency of the display screen, the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point are determined respectively;
[0046] According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, respectively determine the target brightness value and the target tristimulus value corresponding to each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value, and a blue primary color stimulation value;
[0047] Get the preset value of each gamma binding point;
[0048] Selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points;
[0049] Determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value;
[0050] The adjacent gamma binding points are re-searched by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point.
[0051] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0052] According to the refresh frequency of the display screen, the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point are determined respectively;
[0053] According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, respectively determine the target brightness value and the target tristimulus value corresponding to each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value, and a blue primary color stimulation value;
[0054] Get the preset value of each gamma binding point;
[0055] Selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points;
[0056] Determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value;
[0057] The adjacent gamma binding points are re-searched by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point.
[0058] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0059] According to the refresh frequency of the display screen, the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point are determined respectively;
[0060] According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, respectively determine the target brightness value and the target tristimulus value corresponding to each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value, and a blue primary color stimulation value;
[0061] Get the preset value of each gamma binding point;
[0062] Selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points;
[0063] Determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value;
[0064] The adjacent gamma binding points are re-searched by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point.
[0065] The above-mentioned display screen brightness control method, device, computer equipment, computer-readable storage medium and computer program product respectively determine the maximum brightness value, gamma coefficient and color coordinates of each gamma binding point according to the refresh frequency of the display screen; thereby, targeted gamma correction can be performed for different refresh frequencies. According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, the target brightness value and target tristimulus value corresponding to each gamma binding point are respectively determined; wherein the target tristimulus value includes: red primary color stimulation value, green primary color stimulation value, blue primary color stimulation value; thereby, the target tristimulus value can be used as a reference object for gamma correction, and the accuracy of the correction can be judged by the error between the target tristimulus value and the measured tristimulus value. The preset value of each gamma binding point is obtained; thereby, the starting position of the gamma binding point can be accurately obtained. The more accurate the starting position, the lower the corresponding number of correction iterations will be, thereby improving the speed of the entire gamma correction. A gamma binding point to be corrected is selected, and the adjacent gamma binding points are searched according to the preset value of the gamma binding point to be corrected, and the measured tristimulus values corresponding to the adjacent gamma binding points are obtained; thus, the measured tristimulus values corresponding to the adjacent gamma binding points can be obtained. According to the error between the measured tristimulus values and the target tristimulus values, the adjustment step of each color channel is determined respectively; thus, the direction of the next search for the gamma binding point can be determined in a targeted manner, and the convergence speed of the gamma correction can be improved. The adjacent gamma binding points are searched again by the adjustment step of each color channel until the error between the measured tristimulus values corresponding to the searched gamma binding point and the target tristimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point. Thus, the error of the searched gamma binding point can be evaluated by the tristimulus values, and the correction speed of the gamma binding point can be effectively improved, so that the searched gamma binding point meets the preset error function threshold, and the brightness and color coordinates of the gamma binding point meet the requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0067] Figure 1 A schematic diagram of a flow chart of a display screen brightness control method in one embodiment;
[0068] Figure 2 is a flow chart of a method for controlling display screen brightness in another embodiment;
[0069] Figure 3is a flow chart of a method for controlling display screen brightness in yet another embodiment;
[0070] Figure 4 is a flow chart of a display screen brightness control method in a fourth embodiment;
[0071] Figure 5 is a structural block diagram of a display screen brightness control device in one embodiment;
[0072] Figure 6 is a structural block diagram of a display screen brightness control device in another embodiment;
[0073] Figure 7 is a structural block diagram of a display screen brightness control device in yet another embodiment;
[0074] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0076] When the brightness of the display changes from black to bright, people intuitively think that the brightness should be equally spaced. In fact, the human eye is much more sensitive to brightness in a darker environment than in a brighter environment. Therefore, in order to make the display effect of the AMOLED module conform to the visual curve of the human eye, it is necessary to perform gamma correction on the AMOLED module. Gamma is a parameter used to characterize the brightness response characteristics of AMOLED display devices.
[0077] In an exemplary embodiment, Figure 1 As shown, a display screen brightness control method is provided, and the method is applied to an AMOLED module for gamma correction, which may include the following steps 101 to 105. Among them:
[0078] Step 101, according to the refresh frequency of the display screen, respectively determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point.
[0079] In this embodiment, when the AMOLED screen is initially lit by the driver chip, different refresh rates can be selected, from the initial 60Hz to 90Hz, gradually evolving to 120Hz, or even 144Hz. High refresh rate technology is crucial to the display effect of the AMOLED screen, and gamma correction at different refresh rates needs to be recalibrated.
[0080] Exemplarily, after setting the refresh rate, the white point coordinates x=0.305, y=0.321 are selected; the maximum brightness is 868.11nit. For example, the gamma coefficient is generally set to 2.2, which can fluctuate up and down according to the requirements of the display specifications. Furthermore, in some embodiments, the gamma grayscale binding points can be set in sequence as follows: [0,1,4,8,12,28,36,44,52,68,84,100,116,132,148,164,180,188,196,204,212,220,228,236,244,248,252,254,255], and then a gamma binding point value is calibrated. Finally, different frequency modes can be switched to modify the gamma binding point value again to complete the calibration process at all refresh frequencies.
[0081] Table 1
[0082] Gamma Name Maximum brightness Color coordinate setting Normal-1Gamma 868.11nit x=0.305,y=0.321 Normal-2Gamma 546.32nit x=0.305,y=0.321 Normal-3Gamma 310.7nit x=0.305,y=0.321 Normal-4Gamma 97.53nit x=0.305,y=0.321 Normal-5Gamma 97.32nit x=0.305,y=0.321 Normal-6Gamma 33.57nit x=0.305,y=0.321 Normal-7Gamma 11.07nit x=0.305,y=0.321 Normal-8Gamma 5.56nit x=0.305,y=0.321 Normal-9Gamma 2.25nit x=0.305,y=0.321 HBM Gamma 1082.64nit x=0.305,y=0.321
[0083] Table 1 above is the gamma calibration and debugging solution. As shown in Table 1, calibration is performed at 60Hz / 90Hz / 120Hz, and debugging is performed as follows: 120Hz HBM--->60Hz HBM--->120Hz Normal1 / 60Hz Normal1--->……--->120HzNormal9 / 60Hz Normal9, 90Hz gamma is only burned without debugging, and the following results are finally obtained by calculation:
[0084] 90hz gamma band=(60Hz gamma band+120Hz gamma band) / 2
[0085] Among them, gamma band represents the gamma band.
[0086] Step 102 : determining target brightness values and target tristimulus values corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient, and the color coordinates of each gamma binding point.
[0087] The target three stimulus values include: a red primary color stimulus value, a green primary color stimulus value, and a blue primary color stimulus value.
[0088] In this embodiment, the target brightness value corresponding to each gamma binding point can be determined according to the relationship between grayscale and brightness, the maximum brightness value, the gamma coefficient, and the color coordinates of each gamma binding point.
[0089] Exemplarily, the grayscale values corresponding to each gamma binding point are first set, wherein the brightness corresponding to the maximum grayscale value is the maximum brightness value; then, based on the grayscale values corresponding to each gamma binding point, the maximum brightness and the gamma coefficient, the target brightness values corresponding to each gamma binding point are respectively determined.
[0090] Among them, the relationship between grayscale and brightness is as follows:
[0091]
[0092] Where Lumi represents brightness, Lv represents maximum brightness value, and gray_value represents grayscale value.
[0093] Exemplarily, the target tristimulus values corresponding to each gamma binding point may be determined according to the color coordinates corresponding to each gamma binding point and the target brightness values corresponding to each gamma binding point.
[0094] Among them, the calculation formula of the target three stimulus values is as follows:
[0095]
[0096] Y=Lumi
[0097]
[0098] Among them, X represents the red primary color stimulation value, Y represents the green primary color stimulation value, Z represents the blue primary color stimulation value, x represents the value of the color coordinate on the x-axis, and y represents the value of the color coordinate on the y-axis.
[0099] Exemplarily, assuming that the maximum brightness value is 430nit, according to the relationship between grayscale and brightness, and the calculation formula of the target three stimulus values, the corresponding relationship of the gamma binding point grayscale value and the brightness value and the target three stimulus values as shown in Table 2 can be obtained.
[0100] Table 2
[0101]
[0102]
[0103] Step 103, obtaining preset values of various gamma binding points.
[0104] In this embodiment, the initial value of each gamma binding point, that is, the preset value, must be determined first.
[0105] In an optional implementation, the R channel value, G channel value, and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point can be calibrated by a color analyzer; the R channel value, G channel value, and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point are used as prior conditions to derive the R channel value, G channel value, and B channel value corresponding to the remaining gamma binding points in sequence; wherein the R channel value, G channel value, and B channel value corresponding to the gamma binding points constitute preset values of the gamma binding points.
[0106] In this embodiment, the R, G, and B voltage values of the 255 grayscale binding point and the 254 grayscale binding point can be calibrated by a color analyzer (CA410), and based on this as a priori conditions, the preliminary preset values of the remaining binding points are calculated. For example, for the voltage value of the R channel binding point, the actual brightness of the current binding point is measured as lv_Current, the current binding point register value value_current, the actual brightness value of the last binding point lv_last, the last binding point register value value_last, and the target brightness value of the next binding point lv_next; then, based on the above known data, the next binding point register value value_next is solved. The specific calculation formula is as follows:
[0107]
[0108] It should be noted that the voltage values of the G channel and the R channel can also be derived using the above formula, which will not be repeated here.
[0109] Step 104 , selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points.
[0110] In this embodiment, it can be seen from Table 2 that different grayscale values correspond to different gamma binding points, and therefore, the gamma binding points corresponding to all grayscale values need to be calibrated.
[0111] Exemplarily, assuming that the preset values of the gamma grayscale binding points are R_Value, G_Value, and B_Value, the measured three stimulus values obtained are X_value, Y_value, and Z_value, and the target three stimulus values are X0, Y0, and Z0, then the calculation formula of the error function can be obtained as follows:
[0112]
[0113] Step 105 : determining the adjustment step of each color channel according to the error between the measured tristimulus values and the target tristimulus values.
[0114] In this embodiment, the adjustment step of each channel of the currently searched gamma binding point can be adjusted according to the error between the actually measured tristimulus values and the target tristimulus values.
[0115] It should be noted that there is no one-to-one correspondence between the voltage values corresponding to the R, G, and B channels of the gamma binding point and the target brightness value and color coordinates. Any change in the R, G, and B channels will cause the three target brightness values to change together. After being converted into three stimulus values, there is still no one-to-one correspondence. But relatively speaking, there is a one-to-one strong correlation, that is, the value of the gamma binding point R channel is strongly correlated with the red primary color stimulus value X, the value of the gamma binding point G channel is strongly correlated with the green primary color stimulus value Y, and the value of the gamma binding point B channel is strongly correlated with the blue primary color stimulus value Z.
[0116] Exemplarily, if the gamma binding points to be corrected are the largest gamma binding point and the second largest gamma binding point, the adjustment steps of the various color channels are set to be a uniform adjustment step according to empirical parameters.
[0117] Exemplarily, if the gamma binding point to be corrected is not the largest gamma binding point and the second largest gamma binding point, the target tristimulus values and the measured tristimulus values are normalized respectively to obtain a first vector corresponding to the target tristimulus values and a second vector corresponding to the measured tristimulus values; the similarity between the first vector and the second vector is determined by a cosine function; and the adjustment step of each color channel is determined respectively according to the similarity, the target tristimulus values, the measured tristimulus values, and a preset weight adjustment parameter.
[0118] In this embodiment, it is assumed that the target three stimulus values (X0_target, Y0_target, Z0_target) corresponding to the maximum brightness and chromaticity to be calibrated by the gamma binding point value of Gray0 grayscale are defined, and CA410 collects the measured three stimulus values x0_measure, y0_measure, z0_measure corresponding to the preset binding point value (R0_value, G0_value, B0_value) of the initial grayscale Gray0.
[0119] Normalize the target tristimulus values and measured tristimulus values according to the target brightness. Among them:
[0120] Normalized target tristimulus values:
[0121] Normalized measured tristimulus values:
[0122] The cosine function is used to calculate the similarity between vector B and target vector A:
[0123] Right now:
[0124]
[0125] The iterative update method is to set a variable step size. Among them:
[0126] ΔR=α*(1-cosθ)*(X0_target–x0_measure);
[0127] ΔG=β*(1-cosθ)*(Y0_target–y0_measure);
[0128] ΔB=Υ*(1-cosθ)*(Z0_target–z0_measure);
[0129] α, β, and Υ are a set of weight adjustment parameters, ΔR represents the adjustment step of the R channel, ΔG represents the adjustment step of the G channel, and ΔB represents the adjustment step of the B channel.
[0130] Step 106, re-searching the adjacent gamma binding points by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then determining that the currently searched gamma binding point is the corrected gamma binding point.
[0131] Exemplarily, if the gamma binding points to be corrected are the largest gamma binding point and the second largest gamma binding point, the value of the G channel is reduced by one adjustment step; if the measured red primary color stimulation value is greater than the target red primary color stimulation value, the value of the R channel is reduced by one adjustment step; if the measured blue primary color stimulation value is greater than the target blue primary color stimulation value, the value of the B channel is reduced by one adjustment step.
[0132] In this embodiment, the gamma binding point voltage values of grayscale 255 and 254 are solved by fixed compensation iteration using empirical values. For example, according to empirical parameters, the initialization 255 gamma binding point value is set as: R255 = 0x38C8, G255 = 0x3849, B255 = 0x3D6; the 254 gamma binding point parameter value is set as: R254 = 0x3869, G254 = 0x37ED, B254 = 0x3BF7; first debug the gamma binding point value of the G channel, and set the adjustment step step = 5, then G' = G255-step, G' represents the G channel value of the next adjacent gamma binding point found, so that the brightness meets the target brightness value. Then adjust the values of R and B channels. For example, when step = 5, if the measured stimulus value X is too large, set R' = R-step; if the measured stimulus value Z is too large, set B' = B-step until the color coordinates x and y meet the target color coordinate error. Among them, R' represents the R channel value of the next adjacent gamma binding point searched, and B' represents the B channel value of the next adjacent gamma binding point searched.
[0133] Exemplarily, if the gamma binding point to be corrected is not the largest gamma binding point or the second largest gamma binding point, the values of the R channel, the G channel, and the B channel are increased by the adjustment steps of the corresponding color channels respectively.
[0134] In this embodiment, referring to the embodiment shown in step 105, a new binding point value is calculated according to the target brightness and the measured value:
[0135] R'=R+ΔR
[0136] G'=G+ΔG
[0137] B'=B+ΔB
[0138] The above display brightness control method determines the maximum brightness value, gamma coefficient and color coordinates of each gamma binding point according to the refresh frequency of the display screen; thus, targeted gamma correction can be performed for different refresh frequencies. According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, the target brightness value and target tristimulus value corresponding to each gamma binding point are determined respectively; wherein the target tristimulus value includes: red primary color stimulation value, green primary color stimulation value, and blue primary color stimulation value; thus, the target tristimulus value can be used as a reference object for gamma correction, and the correction accuracy can be judged by the error between the target tristimulus value and the measured tristimulus value. The preset value of each gamma binding point is obtained; thus, the starting position of the gamma binding point can be accurately obtained. The more accurate the starting position is, the lower the corresponding correction iteration number will be, thereby improving the speed of the entire gamma correction. A gamma binding point to be corrected is selected, and the adjacent gamma binding points are searched according to the preset value of the gamma binding point to be corrected, and the measured tristimulus values corresponding to the adjacent gamma binding points are obtained; thus, the measured tristimulus values corresponding to the adjacent gamma binding points can be obtained. According to the errors between the measured three stimulus values and the target three stimulus values, the adjustment steps of each color channel are determined respectively; thus, the direction of the next gamma binding point search can be determined in a targeted manner, thereby improving the convergence speed of the gamma correction. The adjacent gamma binding points are re-searched by adjusting the steps of each color channel until the errors between the measured three stimulus values corresponding to the searched gamma binding points and the target three stimulus values meet the preset error function threshold, then the currently searched gamma binding points are determined to be the corrected gamma binding points. Thus, the errors of the searched gamma binding points can be evaluated by the three stimulus values, effectively improving the correction speed of the gamma binding points, so that the searched gamma binding points meet the preset error function threshold, and ensuring that the brightness and color coordinates of the gamma binding points meet the requirements.
[0139] In another exemplary embodiment, Figure 2As shown, a display screen brightness control method is provided, and the method is applied to an AMOLED module for gamma correction, which may include the following steps 201 to 208. Among them:
[0140] Step 201, according to the refresh frequency of the display screen, respectively determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point.
[0141] Step 202 : determining target brightness values and target tristimulus values corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient, and the color coordinates of each gamma binding point.
[0142] The target three stimulus values include: a red primary color stimulus value, a green primary color stimulus value, and a blue primary color stimulus value.
[0143] Step 203, obtaining the preset value of each gamma binding point.
[0144] Step 204 , selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points.
[0145] Step 205 : determining the adjustment step of each color channel according to the error between the measured tristimulus values and the target tristimulus values.
[0146] In this embodiment, the specific implementation process and technical effects of steps 201 to 205 are shown in Figure 1 The related descriptions in steps 101 to 105 are not repeated here.
[0147] Step 206 , determining whether the number of times the current search for the adjacent gamma binding points reaches the number of iterations of the binding point interval where the gamma binding point to be corrected is located, if not, executing step 207 , if yes, executing step 208 .
[0148] Exemplarily, as shown in Table 3, the error function thresholds and the number of iterations corresponding to different binding point intervals are given.
[0149] Table 3
[0150] Binding point interval (0,16) (20,68) (84,148) (164,204) (212,255) Error error_β 0.001 0.002 0.004 0.01 0.05 Iterations 10 8 6 6 5
[0151] The values of each item in Table 3 above can be set according to the change intensity of the grayscale-brightness curve in the high-brightness area and the low-brightness area.
[0152] Step 207, re-searching the adjacent gamma binding points by adjusting the steps of each color channel until the error between the measured tristimulus values corresponding to the searched gamma binding points and the target tristimulus values meets the preset error function threshold, then determining that the currently searched gamma binding point is the corrected gamma binding point.
[0153] In this embodiment, the specific implementation process and technical effects of step 207 are shown in Figure 1 The relevant description in step 106 is not repeated here.
[0154] Step 208: Select a gamma binding point corresponding to the optimal search value from the searched gamma binding points as the corrected gamma binding point.
[0155] In this embodiment, the optimal search value may be: the gamma binding point corresponding to the searched gamma binding point when the error between the measured tristimulus values corresponding to the target tristimulus values is closest to a preset error function threshold.
[0156] In this embodiment, different search iteration times may be set for different binding point intervals, thereby avoiding falling into a high-frequency cyclic search and making the gamma correction faster.
[0157] In yet another exemplary embodiment, Figure 3 As shown, a display brightness control method is provided, and the method is applied to an AMOLED module for gamma correction, which may include the following steps 301 to 308. Among them:
[0158] Step 301, according to the refresh frequency of the display screen, respectively determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point.
[0159] Step 302 : Determine the target brightness value and target tristimulus values corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point.
[0160] The target three stimulus values include: a red primary color stimulus value, a green primary color stimulus value, and a blue primary color stimulus value.
[0161] Step 303: Obtain preset values of various gamma binding points.
[0162] Step 304 , selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points.
[0163] Step 305 : determining the adjustment step of each color channel according to the error between the measured tristimulus values and the target tristimulus values.
[0164] Step 306, re-searching the adjacent gamma binding points by adjusting the steps of each color channel until the error between the measured tristimulus values corresponding to the searched gamma binding points and the target tristimulus values meets the preset error function threshold, then determining that the currently searched gamma binding point is the corrected gamma binding point.
[0165] In this embodiment, the specific implementation process and technical effects of steps 301 to 306 are shown in Figure 1 The related descriptions in steps 101 to 106 are not repeated here.
[0166] Step 307 , determining whether the calibration of all gamma binding points is completed, if so, the process ends; if not, executing step 308 .
[0167] Step 308 , selecting the next uncorrected gamma binding point as the gamma binding point to be corrected, and returning to step 304 .
[0168] In this embodiment, the gamma binding points corresponding to each grayscale value can be corrected, that is, if the correction of all gamma binding points is not completed, the next uncorrected gamma binding point is selected as the gamma binding point to be corrected; the gamma binding point to be corrected is corrected until the correction of all gamma binding points is completed. Thus, the gamma binding points corresponding to all grayscale values meet the brightness and chromaticity requirements.
[0169] In a fourth exemplary embodiment, as Figure 4 As shown, a display screen brightness control method is provided, and the method is applied to an AMOLED module for gamma correction, which may include the following steps 401 to 406. Among them:
[0170] Step 401, select the initial screen display frequency and gamma coefficient, and set the maximum brightness, color coordinate x and color coordinate y of the gamma target value according to the gamma debugging scheme.
[0171] Step 402 , starting from the maximum grayscale, the target values of the remaining brightnesses except the maximum brightness are calculated according to the maximum brightness.
[0172] Step 403, searching for the initial preset values of the maximum grayscale gamma R, G, B binding point values in sequence according to the brightness and color coordinate values.
[0173] Step 404 , obtaining the color coordinate x and color coordinate y of the gamma binding point, and the brightness Lv, and determining whether they are within a specified error range, if so, executing step 406 , if not, executing step 405 .
[0174] Step 405 , converting the measured brightness and chromaticity relationship into measured tristimulus values, calculating ΔR, ΔG, ΔB according to the measured tristimulus values and the target tristimulus values, re-modifying the R, G, B binding point values, and then returning to step 403 .
[0175] Step 406, continue adjusting the next grayscale until all grayscales meet the brightness and chromaticity requirements.
[0176] It should be noted that the gamma binding point correction method of steps 401 to 406 in this embodiment can be applied to Figure 1 to Figure 3 The method embodiment shown is used to perform gamma correction.
[0177] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0178] Based on the same inventive concept, the embodiment of the present application also provides a display screen brightness control device for implementing the display screen brightness control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more display screen brightness control device embodiments provided below can refer to the limitations of the display screen brightness control method above, and will not be repeated here.
[0179] In an exemplary embodiment, Figure 5 As shown, a display screen brightness control device is provided, comprising: a first determination module 501, a second determination module 502, an acquisition module 503, a search module 504 and an adjustment step determination module 505, wherein:
[0180] A first determination module 501 is used to determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point according to the refresh frequency of the display screen;
[0181] The second determination module 502 is used to determine the target brightness value and the target tristimulus value corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value and a blue primary color stimulation value;
[0182] An acquisition module 503 is used to acquire preset values of various gamma binding points;
[0183] A search module 504 is used to select a gamma binding point to be corrected, search for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtain measured tristimulus values corresponding to the adjacent gamma binding points;
[0184] An adjustment step determination module 505, configured to determine the adjustment step of each color channel according to the error between the measured tristimulus values and the target tristimulus values;
[0185] The search module 504 is further used to re-search the adjacent gamma binding points through the adjustment steps of the respective color channels until the errors between the measured three stimulus values corresponding to the searched gamma binding points and the target three stimulus values meet the preset error function threshold, and then determine that the currently searched gamma binding point is the corrected gamma binding point.
[0186] Exemplarily, the second determination module 502 is specifically configured to: set the grayscale value corresponding to each gamma binding point, wherein the brightness corresponding to the maximum grayscale value is the maximum brightness value;
[0187] Determine the target brightness value corresponding to each gamma binding point according to the grayscale value corresponding to each gamma binding point, the maximum brightness and the gamma coefficient;
[0188] The target tristimulus values corresponding to each gamma binding point are determined according to the color coordinates corresponding to each gamma binding point and the target brightness values corresponding to each gamma binding point.
[0189] Exemplarily, the acquisition module 503 is specifically used to: calibrate the R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point through a color analyzer; using the R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point as prior conditions, derive the R channel value, G channel value and B channel value corresponding to the remaining gamma binding points in sequence; wherein the R channel value, G channel value and B channel value corresponding to the gamma binding point constitute the preset value of the gamma binding point.
[0190] Exemplarily, the adjustment step determination module 505 is specifically used to: if the gamma binding point to be corrected is the largest gamma binding point and the second largest gamma binding point, set the adjustment step of each color channel to a uniform adjustment step according to empirical parameters;
[0191] If the gamma binding point to be corrected is not the largest gamma binding point and the second largest gamma binding point, normalizing the target three stimulus values and the measured three stimulus values respectively to obtain a first vector corresponding to the target three stimulus values and a second vector corresponding to the measured three stimulus values;
[0192] Determine the similarity between the first vector and the second vector by using a cosine function;
[0193] The adjustment step of each color channel is determined respectively according to the similarity, the target tristimulus values, the measured tristimulus values, and a preset weight adjustment parameter.
[0194] Exemplarily, the search module 504 is further configured to: if the gamma binding point to be corrected is the largest gamma binding point and the second largest gamma binding point, reduce the value of the G channel by one adjustment step; if the measured red primary color stimulation value is greater than the target red primary color stimulation value, reduce the value of the R channel by one adjustment step; if the measured blue primary color stimulation value is greater than the target blue primary color stimulation value, reduce the value of the B channel by one adjustment step;
[0195] If the gamma binding point to be corrected is not the largest gamma binding point or the second largest gamma binding point, the values of the R channel, the G channel, and the B channel are increased by the adjustment steps of the corresponding color channels respectively.
[0196] The various modules of the device in this embodiment can be used to implement Figure 1 , Figure 4 The various steps in the method embodiment are shown.
[0197] In another exemplary embodiment, Figure 6 As shown, a display screen brightness control device is provided. Figure 5 On the basis of the device shown, it can also include: a first judgment module 506, which is used to: judge whether the number of times the current search for adjacent gamma binding points reaches the number of iterations of the binding point interval where the gamma binding point to be corrected is located; if the number of iterations is reached, stop the search; and select the gamma binding point corresponding to the optimal search value from the gamma binding points that have been searched as the corrected gamma binding point.
[0198] The various modules of the device in this embodiment can be used to implement Figure 2 , Figure 4 The various steps in the method embodiment are shown.
[0199] In yet another exemplary embodiment, Figure 7 As shown, a display screen brightness control device is provided. Figure 5 Based on the device shown, it can also include:
[0200] The second judgment module 507 is used to judge whether the correction of all gamma binding points is completed; if the correction of all gamma binding points is completed, the process ends;
[0201] If the correction of all gamma binding points is not completed, the next uncorrected gamma binding point is selected as the gamma binding point to be corrected by the search module 504; the gamma binding point to be corrected is corrected until the correction of all gamma binding points is completed.
[0202] The various modules of the device in this embodiment can be used to implement Figure 3 , Figure 4 The various steps in the method embodiment are shown.
[0203] It should be noted that if Figure 5 to Figure 7 The various modules in the device shown in the figure are integrated, and can be used to achieve Figure 1 to Figure 4 The various steps in the method embodiment are shown.
[0204] Each module in the above display brightness control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0205] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a method for controlling the brightness of a display screen is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0206] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0207] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0208] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0209] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0210] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0211] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0212] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0213] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A display screen brightness control method, characterized in that: The method comprises: According to the refresh frequency of the display screen, the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point are determined respectively; According to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point, respectively determine the target brightness value and the target tristimulus value corresponding to each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value, and a blue primary color stimulation value; Get the preset value of each gamma binding point; Selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points; Determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value; The adjacent gamma binding points are re-searched by adjusting the step size of each color channel until the error between the measured three stimulus values corresponding to the searched gamma binding point and the target three stimulus values meets the preset error function threshold, then the currently searched gamma binding point is determined to be the corrected gamma binding point.
2. The method according to claim 1, characterized in that Determining the target brightness value and the target tristimulus value corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point respectively includes: Set the grayscale value corresponding to each gamma binding point, wherein the brightness corresponding to the maximum grayscale value is the maximum brightness value; Determine the target brightness value corresponding to each gamma binding point according to the grayscale value corresponding to each gamma binding point, the maximum brightness and the gamma coefficient; The target tristimulus values corresponding to each gamma binding point are determined according to the color coordinates corresponding to each gamma binding point and the target brightness values corresponding to each gamma binding point.
3. The method according to claim 1, characterized in that The obtaining of preset values of each gamma binding point includes: The R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point are calibrated by a color analyzer; Taking the R channel value, G channel value and B channel value corresponding to the largest gamma binding point and the second largest gamma binding point as prior conditions, the R channel value, G channel value and B channel value corresponding to the remaining gamma binding points are derived in sequence; wherein the R channel value, G channel value and B channel value corresponding to the gamma binding point constitute the preset value of the gamma binding point.
4. The method according to claim 1, characterized in that: The step of determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value comprises: If the gamma binding points to be corrected are the largest gamma binding point and the second largest gamma binding point, the adjustment steps of each color channel are set to a uniform adjustment step according to empirical parameters; If the gamma binding point to be corrected is not the largest gamma binding point and the second largest gamma binding point, normalizing the target three stimulus values and the measured three stimulus values respectively to obtain a first vector corresponding to the target three stimulus values and a second vector corresponding to the measured three stimulus values; Determine the similarity between the first vector and the second vector by using a cosine function; The adjustment step of each color channel is determined respectively according to the similarity, the target tristimulus values, the measured tristimulus values, and a preset weight adjustment parameter.
5. The method according to claim 1, characterized in that: The re-searching the adjacent gamma binding points by adjusting the steps of each color channel includes: If the gamma binding point to be corrected is the largest gamma binding point and the second largest gamma binding point, the value of the G channel is reduced by one adjustment step; if the measured red primary color stimulation value is greater than the target red primary color stimulation value, the value of the R channel is reduced by one adjustment step; if the measured blue primary color stimulation value is greater than the target blue primary color stimulation value, the value of the B channel is reduced by one adjustment step; If the gamma binding point to be corrected is not the largest gamma binding point or the second largest gamma binding point, the values of the R channel, the G channel, and the B channel are increased by the adjustment steps of the corresponding color channels respectively.
6. The method according to any one of claims 1 to 5, characterized in that: After determining the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value, the method further includes: Determine whether the number of times the current search for the adjacent gamma binding point reaches the number of iterations of the binding point interval where the gamma binding point to be corrected is located; If the number of iterations is reached, the search is stopped; A gamma binding point corresponding to the optimal search value is selected from the searched gamma binding points as the corrected gamma binding point.
7. The method according to any one of claims 1 to 5, characterized in that: After determining that the currently searched gamma binding point is a corrected gamma binding point, the method further includes: Determine whether the calibration of all gamma binding points is completed; If the calibration of all gamma binding points is completed, the process ends; If the calibration of all gamma binding points is not completed, the next uncalibrated gamma binding point is selected as the gamma binding point to be calibrated; The gamma binding points to be corrected are corrected until the correction of all gamma binding points is completed.
8. A display screen brightness control device, characterized in that: The device comprises: A first determination module, used to determine the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point according to the refresh frequency of the display screen; A second determination module is used to determine the target brightness value and target tristimulus value corresponding to each gamma binding point according to the maximum brightness value, the gamma coefficient and the color coordinates of each gamma binding point; wherein the target tristimulus value includes: a red primary color stimulation value, a green primary color stimulation value and a blue primary color stimulation value; An acquisition module is used to obtain the preset values of each gamma binding point; A search module, used for selecting a gamma binding point to be corrected, searching for adjacent gamma binding points according to a preset value of the gamma binding point to be corrected, and obtaining measured tristimulus values corresponding to the adjacent gamma binding points; An adjustment step determination module, used to determine the adjustment step of each color channel according to the error between the measured tristimulus value and the target tristimulus value; The search module is further used to re-search the adjacent gamma binding points through the adjustment steps of the respective color channels until the error between the measured three stimulus values corresponding to the searched gamma binding points and the target three stimulus values meets a preset error function threshold, and then determine that the currently searched gamma binding point is a corrected gamma binding point.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method of setting gamma of display device
CN102568366A
Color-sensitive OLED module gamma tuning method
CN106297664A
3Gamma correction method and system for OLED display module group
CN107610642A
Adjustment system and adjustment method of gray scale brightness, and memory
CN109119046A
Rapid convergence Gamma Tuning method and rapid convergence Gamma Tuning system
CN110534058A