Display panel white balance adjustment method, device, equipment and medium
By repeatedly performing adjustment steps for each target grayscale, calculating and adjusting the target subpixel value, the problem of time-consuming and low accuracy of white balance adjustment in the prior art is solved, fast and accurate white balance adjustment is achieved, and the color accuracy of the display panel is improved.
Patent Information
- Application Number
- CN202411910454.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-08
AI Technical Summary
In the prior art, the white balance adjustment process takes a long time and the adjustment accuracy needs to be improved, making it difficult to meet the color authenticity and brightness suitability requirements of the display panel in different light source environments.
By repeatedly performing adjustment steps for each target grayscale, the target subpixel value is calculated and adjusted based on the current target white balance parameter, the current parameter value, the target subpixel value, the adjustment relationship and the target parameter value until each white balance parameter reaches the target parameter value.
It achieves rapid and accurate and detailed adjustment of the gray-level white balance parameters of each target, shortens the white balance adjustment time, and improves the color accuracy and overall display effect of the display panel.
Smart Images

Figure CN119785736A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display panels, and in particular to a method, device, electronic device and medium for adjusting white balance of a display panel. Background Art
[0002] White balance is a key indicator to measure the accuracy of mixing the three primary colors of red, green and blue to generate pure white. Its core is to ensure that white objects can be truly and accurately restored to white under any lighting environment, thereby maintaining the natural color balance of the picture.
[0003] In order to improve the color authenticity and brightness suitability of the images presented by the display panel and make them more in line with the visual preferences of the human eye, it is particularly important to accurately adjust the white balance. However, the current white balance adjustment technology still has two major bottlenecks: one is that the adjustment process takes a long time; the other is that the adjustment accuracy needs to be improved.
[0004] Therefore, a solution is needed to improve the existing white balance adjustment technology. Summary of the invention
[0005] In view of this, the present application provides a display panel white balance adjustment method, device, electronic device and medium.
[0006] In a first aspect, a display panel white balance adjustment method is provided, which is used to adjust a target sub-pixel value so that at least two white balance parameters are adjusted to their respective corresponding target parameter values. The display panel white balance adjustment method may include: repeatedly performing the following adjustment steps for each target grayscale; for a current target white balance parameter, based on a current parameter value, a current target sub-pixel value, a current adjustment relationship and a target parameter value corresponding to the current target white balance parameter, calculating the target sub-pixel value required for this adjustment; the current adjustment relationship represents a current relationship between the target sub-pixel value and a target white balance parameter value obtained based on the current target sub-pixel value; obtaining each white balance parameter value after the display panel displays the calculated target sub-pixel value; when at least one of the white balance parameter values does not meet the target parameter value requirement, determining the first white balance parameter that does not meet the target parameter value requirement according to a preset adjustment order of each white balance parameter as the current target white balance parameter when the adjustment step is performed next time; and determining the current parameter value and the current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time, at least based on each white balance parameter value after this adjustment.
[0007] In a second aspect, a display panel white balance adjustment device is provided, the device may include: an adjustment control unit, for controlling each unit to perform an adjustment process for each target grayscale, so that each white balance parameter value after adjustment of each target grayscale meets the respective target parameter value requirements; a target sub-pixel calculation unit, for calculating the target sub-pixel value required for this adjustment based on the current parameter value, the current target sub-pixel value, the current adjustment relationship and the target parameter value corresponding to the current target white balance parameter; the current adjustment relationship represents the current relationship between the target sub-pixel value and the target white balance parameter value obtained based on the display of the target sub-pixel value; a white balance parameter value acquisition unit, for acquiring each white balance parameter value after the display panel displays according to the calculated target sub-pixel value; an adjustment unit, for determining, when at least one of the white balance parameter values does not meet the target parameter value requirements, the first white balance parameter that does not meet the target parameter value requirements according to the preset adjustment order of the white balance parameters as the current target white balance parameter when the adjustment step is performed next time; and a determination unit, for determining, at least based on the white balance parameter values after this adjustment, the current parameter values and the current adjustment relationship corresponding to the current target white balance parameters when the adjustment step is performed next time.
[0008] The third aspect provides an electronic device, which may include a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of any one of the display panel white balance adjustment methods provided in the embodiments of the present application are implemented.
[0009] A fourth aspect provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the steps of any one of the display panel white balance adjustment methods provided in the embodiments of the present application are implemented.
[0010] In summary, the display panel white balance adjustment method, device, electronic device and medium provided by the present application have the following beneficial effects:
[0011] The following adjustment steps are repeatedly performed for each target grayscale. For the current target white balance parameter, based on the current parameter value, the current target sub-pixel value, the current adjustment relationship and the target parameter value corresponding to the current target white balance parameter, the target sub-pixel value required for this adjustment is calculated, and the white balance parameter values after the display panel displays according to the calculated target sub-pixel value are obtained. When at least one of the white balance parameter values does not meet the target parameter value requirement, the first white balance parameter that does not meet the target parameter value requirement is determined according to the preset adjustment order of the white balance parameters as the current target white balance parameter when the adjustment step is performed next time. At least according to the white balance parameter values after this adjustment, the current parameter value and the current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time are determined, and the above adjustment steps are repeated until the adjusted white balance parameter values are within the white balance parameter value range corresponding to the target grayscale. In this way, the sub-pixel value required for each adjustment is determined by the continuously updated adjustment relationship, so as to achieve fine adjustment of the white balance parameters of each target grayscale, so that the color performance of each target grayscale meets the requirements, thereby shortening the white balance adjustment time and improving the display effect of the entire display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A schematic diagram showing a flow chart of a display panel white balance adjustment method provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram showing a flow chart of another display panel white balance adjustment method provided in an embodiment of the present application;
[0015] Figure 3 A display panel white balance adjustment device provided in an embodiment of the present application is shown;
[0016] Figure 4 A schematic structural diagram of an electronic device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0017] In order to make the above and other features and advantages of the present application more clear, the present application is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.
[0018] In the following description, many specific details are set forth to provide a thorough understanding of the present application. However, it is apparent to those skilled in the art that specific details need not be adopted to practice the present application. In other cases, well-known steps or operations are not described in detail to avoid blurring the present application.
[0019] On the one hand, an embodiment of the present application provides a display panel white balance adjustment method, which can be used to adjust the target sub-pixel value so that at least two white balance parameters are adjusted to their respective corresponding target parameter values, so that the display panel reaches a white balance state. That is, the display panel white balance adjustment method is used to adjust each white balance parameter corresponding to the target grayscale to the target parameter value corresponding to each target grayscale by adjusting the target sub-pixel value. Among them, the target grayscale can be any grayscale between 0 and 255. At least two white balance parameters may include a brightness parameter, a horizontal coordinate parameter in a color coordinate system, and a vertical coordinate parameter in a color coordinate system. The target parameter value corresponding to the white balance parameter may correspond to the target parameter value corresponding to the brightness parameter, and the target parameter value corresponding to the horizontal coordinate parameter in the color coordinate system.
[0020] It should be noted that, in order to make the display panel reach a white balance state, it is usually necessary to adjust the white balance parameters in sequence for multiple target grayscales.
[0021] The display panel white balance adjustment method may include obtaining a target parameter value corresponding to a white balance parameter of a target grayscale, specifically including: obtaining white balance parameter values of a minimum grayscale (e.g., grayscale 0) and a maximum grayscale (e.g., grayscale 255); determining a target parameter value corresponding to a brightness parameter in the white balance parameter corresponding to each target grayscale based on the white balance parameter values after calibration of the minimum grayscale and the maximum grayscale. In the case where the white balance parameter includes a horizontal coordinate parameter in a color coordinate system and a vertical coordinate parameter in a color coordinate system, the target parameter values of the horizontal coordinate parameter and the vertical coordinate parameter in the color coordinate system are usually artificially set values, and the target parameter values of the horizontal coordinate parameter and the vertical coordinate parameter in the color coordinate system of different target grayscales are the same.
[0022] In an embodiment of the present application, target parameter values corresponding to white balance parameters of multiple target grayscales between the lowest grayscale and the highest grayscale may be obtained using an interpolation algorithm based on the white balance parameter values after calibration of the lowest grayscale and the highest grayscale.
[0023] The display panel white balance adjustment method may include an adjustment step that is repeatedly performed for each target grayscale. Figure 1 A schematic diagram showing a flow chart of a display panel white balance adjustment method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the adjustment step may include the following steps.
[0024] S11, for the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, calculate the target sub-pixel value required for this adjustment.
[0025] The current target white balance parameter involved in the embodiment of the present application may be the white balance parameter corresponding to the current adjustment, and may be any one of a brightness parameter, a horizontal coordinate parameter in a color coordinate system, and a vertical coordinate parameter in a color coordinate system. The current target sub-pixel value may be a specific value corresponding to at least one of a red sub-pixel (R), a green sub-pixel (G), and a blue sub-pixel (B), that is, the current target sub-pixel value may be at least one of an R value, a G value, and a B sub-pixel value.
[0026] The target parameter value is a target parameter value corresponding to the current target white balance parameter, and is a known parameter value.
[0027] The current adjustment relationship may be the adjustment relationship corresponding to this adjustment, and may represent the current relationship between the target sub-pixel value and the target white balance parameter value obtained based on the target sub-pixel value. In other words, the adjustment relationship may be understood as a relationship function of the target white balance parameter value with respect to the target sub-pixel value.
[0028] In an embodiment of the present application, the current adjustment relationship may be a ratio of a difference between current parameter values of the previous two adjustments and a difference between current target sub-pixel values of the previous two adjustments.
[0029] It should be noted that the current parameter values of the first two adjustments refer to the current parameter values corresponding to the same target white balance parameter in the first two adjustments, for example, the current brightness value corresponding to the brightness parameter of the first two adjustments. Or, the current vertical coordinate value corresponding to the vertical coordinate parameter of the first two adjustments. Or, the current horizontal coordinate value corresponding to the horizontal coordinate parameter of the first two adjustments.
[0030] In an embodiment of the present application, the current adjustment relationship may be a brightness parameter slope, a vertical coordinate parameter slope, or a horizontal coordinate parameter slope.
[0031] The target sub-pixel value required for the current adjustment involved in the embodiment of the present application may refer to the specific value to which the target sub-pixel of the display panel needs to be adjusted in order to adjust the current target white balance parameter to the target parameter value during the current adjustment process.
[0032] The target sub-pixel value P required for calculating this adjustment can be expressed as the following formula.
[0033]
[0034] Among them, M T is the target parameter value, Mc is the current parameter value, K represents the current adjustment relationship, and Pc represents the current target sub-pixel value.
[0035] S12, obtaining white balance parameter values after the display panel displays the calculated target sub-pixel value.
[0036] The white balance parameter values displayed by the display panel according to the calculated target sub-pixel value in the present application may be the white balance parameter values displayed by the display panel after the target sub-pixel value of the display panel is adjusted to the target sub-pixel value required for the current adjustment calculated according to S11. Each white balance parameter value may include a brightness value, a horizontal coordinate value in a color coordinate system, and a vertical coordinate value in a color coordinate system.
[0037] It should be noted that after executing S12 once, it is also necessary to detect whether each white balance parameter value reaches the respective target parameter value requirement.
[0038] All white balance parameter values meet their respective target parameter value requirements, which may mean that the difference between each white balance parameter value and the corresponding ideal white balance parameter value is within a specified threshold range. The ideal white balance parameter value is any value within the target parameter value range corresponding to the white balance parameter. The target parameter value range may be calculated based on the target parameter value and a preset threshold value.
[0039] In an embodiment of the present application, all white balance parameter values meet their respective target parameter value requirements, and it can be determined that the adjustment step for the target grayscale is completed, and there is no need to perform the next adjustment.
[0040] S13, when at least one of the white balance parameter values does not meet the target parameter value requirement, determine the first white balance parameter that does not meet the target parameter value requirement according to the preset adjustment order of the white balance parameters as the current target white balance parameter when the adjustment step is performed next time.
[0041] The preset adjustment order involved in the embodiment of the present application may be the order of adjusting each white balance parameter. For example, the preset adjustment order is to adjust the brightness parameter first, then adjust the horizontal axis parameter, and finally adjust the vertical axis parameter. Alternatively, the horizontal axis parameter is adjusted first, then the vertical axis parameter is adjusted, and finally the brightness parameter is adjusted. Alternatively, the vertical axis parameter is adjusted first, then the horizontal axis parameter is adjusted, and finally the brightness parameter is adjusted. In the embodiment of the present application, there is no restriction on the preset adjustment order.
[0042] At least one of the white balance parameter values involved in the embodiments of the present application failing to meet the target parameter value requirement may mean that one or more of the white balance parameter values fail to meet the respective target parameter value requirements.
[0043] For example, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement, the abscissa value obtained in this adjustment does not meet the abscissa target parameter value requirement, or the ordinate value obtained in this adjustment does not meet the ordinate target parameter value requirement.
[0044] For another example, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement and the horizontal axis value obtained in this adjustment does not meet the horizontal axis target parameter value requirement. Alternatively, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement and the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement. Alternatively, the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement and the horizontal axis value obtained in this adjustment does not meet the horizontal axis target parameter value requirement. Alternatively, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement, the horizontal axis value obtained in this adjustment does not meet the horizontal axis target parameter value requirement and the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement.
[0045] In one embodiment of the present application, when one or more white balance parameter values do not meet the corresponding target parameter value requirements, the first white balance parameter that does not meet the target parameter value requirements is determined according to a preset adjustment order as the current target white balance parameter when the adjustment step is performed next time.
[0046] That is to say, if two or more white balance parameter values do not meet their respective target parameter value requirements, the corresponding first adjusted target white balance parameter among the multiple white balance parameter values is determined according to the preset adjustment order, and this first adjusted target white balance parameter is used as the current target white balance parameter when the adjustment step is executed next time.
[0047] Furthermore, if only one white balance parameter value does not meet the target parameter value requirement, the target white balance parameter corresponding to the white balance parameter value that does not meet the target parameter value requirement is used as the current target white balance parameter when the adjustment step is performed next time.
[0048] For example, the preset adjustment sequence is to adjust the brightness parameter first, then adjust the horizontal axis parameter, and finally adjust the vertical axis parameter.
[0049] When the horizontal axis parameter value obtained in this adjustment meets the horizontal axis target parameter value requirement, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement, and the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement, the brightness parameter will be used as the current target white balance parameter when the adjustment step is executed next time.
[0050] When the ordinate parameter value obtained in this adjustment meets the ordinate target parameter value requirement, the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement, and the abscissa value obtained in this adjustment does not meet the abscissa target parameter value requirement, the brightness parameter will be used as the current target white balance parameter when the adjustment step is executed next time.
[0051] When the brightness value obtained in this adjustment meets the brightness target parameter value requirement, the horizontal axis value obtained in this adjustment does not meet the horizontal axis target parameter value requirement, and the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement, the horizontal axis parameter will be used as the current target white balance parameter when the adjustment step is executed next time.
[0052] When the current target parameter is the brightness parameter, and the brightness value obtained in this adjustment does not meet the brightness target parameter value requirement, the horizontal axis value obtained in this adjustment does not meet the horizontal axis target parameter value requirement, and the vertical axis value obtained in this adjustment does not meet the vertical axis target parameter value requirement, the brightness parameter will be used as the current target white balance parameter when the adjustment step is executed next time.
[0053] When the brightness value obtained in this adjustment does not meet the target parameter value requirement, but other white balance parameter values meet their respective target parameter value requirements, the brightness parameter is used as the current target white balance parameter when the adjustment step is performed next time.
[0054] When the abscissa value obtained in this adjustment does not meet the target parameter value requirement, but other white balance parameter values meet their respective target parameter value requirements, the abscissa parameter is used as the current target white balance parameter when the adjustment step is performed next time.
[0055] When the ordinate value obtained in this adjustment does not meet the target parameter value requirement, but other white balance parameter values meet their respective target parameter value requirements, the ordinate parameter is used as the current target white balance parameter when the adjustment step is performed next time.
[0056] S14, determining the current parameter values and current adjustment relationships respectively corresponding to the current target white balance parameters when the adjustment step is performed next time, at least according to the white balance parameter values after the current adjustment.
[0057] That is, the white balance parameter value corresponding to the current target white balance parameter when the adjustment step is performed next time among the white balance parameter values adjusted this time is used as the current target white balance parameter value when the adjustment step is performed next time. The current adjustment relationship when the adjustment step is performed next time can be determined based on the relationship between the white balance parameter values adjusted at least twice and the target sub-pixel value.
[0058] In one embodiment of the present application, the current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time can be determined based on at least two sets of data newly obtained before the adjustment step is performed next time.
[0059] Each set of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value of the current target white balance parameter among the white balance parameters displayed according to the target sub-pixel value.
[0060] The current parameter value involved in the embodiment of the present application is a specific value corresponding to the current white balance parameter in each white balance parameter. The current adjustment relationship can reflect the change rate of the current target white balance parameter in the latest two adjustments.
[0061] In an embodiment of the present application, the current adjustment relationship may include the change rate of the current target white balance parameter adjusted the last two times. The current adjustment relationship K may be expressed as the following formula.
[0062]
[0063] Among them, M 2 Indicates the current parameter value of the second group, M 1 Indicates the current parameter value of the first group, P 2 is the target sub-pixel value of the second group, P 1 is the target sub-pixel value of the first group.
[0064] In the above embodiment, the sub-pixel value required for each adjustment is determined by a continuously updated adjustment relationship, so that the white balance parameters of each target grayscale can be quickly and accurately fine-tuned, making the color representation of each target grayscale more accurate, thereby shortening the white balance adjustment time and improving the color accuracy of the entire display panel.
[0065] In some embodiments, S11, for the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, calculating the target sub-pixel value required for this adjustment may include: when the current target white balance parameter is a brightness parameter, based on the current parameter value corresponding to the brightness parameter, the current R value, the current G value, the current B value, the current adjustment relationship and the target parameter value, calculating the R GB values required for this adjustment.
[0066] The current adjustment relationship corresponding to the brightness parameter involved in the embodiment of the present application can represent the relationship between the current RGB value and the brightness parameter value obtained after display based on the RGB value, wherein the RGB value is the R value, the G value and the B value.
[0067] In one embodiment of the present application, when the current adjustment relationship corresponding to the brightness parameter is represented by the slope K Y Indicates that the RGB value required for this adjustment can be calculated according to the following formula.
[0068]
[0069] Among them, Y T represents the target parameter value corresponding to the brightness parameter, Yc represents the current parameter value corresponding to the brightness parameter, RGBc represents the current RGB value, and RGBg represents the RGB value required for this adjustment.
[0070] That is to say, according to The sub-pixel adjustment amount β for this adjustment can be calculated, and the current R value plus β can obtain the R value required for this adjustment, the current B value plus β can obtain the B value required for this adjustment, and the current G value plus β can obtain the G value required for this adjustment. That is, when adjusting the brightness parameters, the current R value, the current G value, and the current B value are respectively added with the same sub-pixel adjustment amount to obtain the R value, G value, and B value required for this adjustment.
[0071] In some embodiments, S11, for the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, the target sub-pixel value required for this adjustment is calculated, which may include: when the current target white balance parameter is a horizontal coordinate parameter, based on the current parameter value corresponding to the horizontal coordinate parameter, the current R sub-pixel value, the current adjustment relationship and the target parameter value, the R sub-pixel value required for this adjustment is calculated.
[0072] The current adjustment relationship corresponding to the horizontal coordinate parameter involved in the embodiment of the present application can represent the current relationship between the R sub-pixel value and the horizontal coordinate parameter value in the color coordinate obtained after the display of the R sub-pixel.
[0073] In one embodiment of the present application, when the current adjustment relationship corresponding to the horizontal axis parameter is represented by a slope Kx, the R sub-pixel value required for this adjustment can be calculated according to the following formula.
[0074]
[0075] Among them, x T represents the target parameter value corresponding to the horizontal axis parameter, xc represents the current parameter value corresponding to the horizontal axis parameter, Rc represents the current R sub-pixel value, and Rg can represent the R sub-pixel value required for this adjustment.
[0076] In some embodiments, S11, for the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, calculating the target sub-pixel value required for this adjustment may include: when the current target white balance parameter is a vertical coordinate parameter, based on the current parameter value corresponding to the vertical coordinate parameter, the current G sub-pixel value, the current B sub-pixel value, the current adjustment relationship and the target parameter value, calculating the G sub-pixel value and the B sub-pixel value required for this adjustment.
[0077] The current adjustment relationship corresponding to the vertical coordinate involved in the embodiment of the present application can be expressed as the current relationship between the G sub-pixel value and the B sub-pixel value and the vertical coordinate parameter value in the color coordinate obtained after display based on the G sub-pixel value and the B sub-pixel value.
[0078] In one embodiment of the present application, when the current adjustment relationship corresponding to the vertical coordinate parameter includes a slope Ky, the G value required for this adjustment can be calculated according to the following formula.
[0079]
[0080] Among them, y T represents the target parameter value corresponding to the ordinate parameter, yc represents the current parameter value corresponding to the ordinate parameter, Gc represents the current G value, and Gg can represent the G value required for this adjustment.
[0081] After the brightness parameter and the horizontal axis parameter have been completed, in order to adjust the vertical axis parameter to calculate the G value required for this adjustment, it is necessary to adjust the brightness of the G value after this adjustment. Therefore, it is necessary to adjust through the B sub-pixel, that is, to determine the B value required for this adjustment. In some embodiments, the B value required for this adjustment can be the opposite of the G value required for this adjustment, that is, the G sub-pixel adjustment and the B sub-pixel adjustment are reversed, that is, the G sub-pixel increases a certain amount and the B sub-pixel decreases a corresponding amount; of course, in practical applications, the adjustment relationship between the B sub-pixel adjustment amount and the G sub-pixel adjustment amount can also be determined through experiments under the condition that R is constant and in order to keep the brightness unchanged. The adjustment relationship is determined through experiments, and the conditional relationship may be a proportional relationship of 1, or a proportional relationship less than or greater than 1.
[0082] The B value required for this adjustment can be calculated according to the following formula.
[0083]
[0084] Among them, Bc represents the current B value, and Bg represents the B value required for this adjustment. To regulate the relationship.
[0085] In some embodiments, when the adjustment step is performed for the first time, the display panel white balance adjustment method further includes: determining a first white balance parameter as a current target white balance parameter according to a preset adjustment sequence of each white balance parameter.
[0086] In an embodiment of the present application, when the adjustment steps S11 to S14 are performed for the first time, the first white balance parameter is used as the current target white balance parameter of the first adjustment step according to a preset adjustment sequence.
[0087] For example, the preset adjustment sequence is to adjust the brightness parameter first, then adjust the horizontal axis parameter, and finally adjust the vertical axis parameter. The brightness parameter can be used as the current target white balance parameter for the first execution of the adjustment step.
[0088] Alternatively, the preset adjustment sequence is to adjust the horizontal axis parameter first, then adjust the vertical axis parameter, and finally adjust the brightness parameter. The horizontal axis parameter can be used as the current target white balance parameter for the first execution of the adjustment step.
[0089] Alternatively, the preset adjustment sequence is to adjust the ordinate parameter first, then the abscissa parameter, and finally the brightness parameter, and the ordinate parameter can be used as the current target white balance parameter for the first execution of the adjustment step.
[0090] In the above embodiment, when the adjustment step is performed for the first time, the adjustment steps can be performed in order by taking the first white balance parameter in the preset adjustment sequence as the current white balance parameter.
[0091] In some embodiments, before performing the adjustment step for the first time, the display panel white balance adjustment method further includes an initialization step: obtaining a preset target sub-pixel value of the display panel and obtaining each white balance parameter value displayed by the display panel based on the preset target sub-pixel value.
[0092] The preset target sub-pixel value of the display panel involved in the embodiment of the present application may be a preset target sub-pixel value, which may be set according to user requirements or according to historical records.
[0093] In the above embodiment, the preset target sub-pixel value can provide a favorable starting point for the adjustment process and help obtain the first current adjustment relationship.
[0094] In some embodiments, the initialization step further includes determining, based on at least two sets of data, a current adjustment relationship corresponding to the current target white balance parameter targeted for the first time in the first adjustment step.
[0095] The two sets of data involved in the embodiment of the present application may include a set of data obtained according to a preset target sub-pixel value, and another set of data obtained based on the preset target sub-pixel and a preset step size. Each set of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value corresponding to the current target white balance parameter in each white balance parameter displayed according to the target sub-pixel value. The current white balance parameter here refers to the current white balance parameter in the first execution of the adjustment step.
[0096] Another set of data obtained based on the preset target sub-pixel and the preset step size involved in the embodiment of the present application can be a set of data formed by adjusting the preset target sub-pixel by the preset step size to obtain a new target sub-pixel, obtaining each white balance value displayed by the display panel based on the new target sub-pixel, and associating the target sub-pixel value with the current parameter corresponding to the current white balance parameter. The preset step size for adjusting the preset target sub-pixel can be the preset step size plus or minus the preset step size from the preset target sub-pixel. Optionally, the preset step size can be 5.
[0097] In one embodiment of the present application, a set of data is obtained based on a preset target sub-pixel value, and another set of data is obtained based on the preset target sub-pixel and the preset step size. In this way, the current adjustment relationship in the first execution of the adjustment step S11 is calculated based on the two sets of target sub-pixel values and the two sets of current parameter values.
[0098] In some embodiments, after the adjusting step, the display panel white balance adjustment method further includes a saving step.
[0099] The saving step specifically includes: when all white balance parameter values of the current target grayscale meet the respective target parameter value requirements, calculating and saving the current adjustment relationship of each white balance parameter as the historical adjustment relationship corresponding to each white balance parameter under the target grayscale.
[0100] The current adjustment relationship of each white balance parameter involved in the embodiment of the present application refers to the final adjustment relationship corresponding to each white balance parameter in the repeated adjustment process when all white balance parameter values of the current target grayscale meet the requirements of their respective target parameter values. The adjustment relationship of each white balance parameter can be calculated according to Formula 2.
[0101] For example, for the 100th grayscale, the 17th adjustment step is the last successful adjustment step for adjusting the brightness parameter, the 25th adjustment step is the last successful adjustment step for adjusting the horizontal axis parameter, and the 29th adjustment step is the last successful adjustment step for adjusting the vertical axis parameter. Then, the current adjustment relationship corresponding to the brightness parameter in the 17th adjustment step can be saved as the historical adjustment relationship corresponding to the brightness parameter at the 100th grayscale, the current adjustment relationship corresponding to the horizontal axis parameter in the 25th adjustment step can be saved as the historical adjustment relationship corresponding to the horizontal axis parameter at the 100th grayscale, and the current adjustment relationship corresponding to the vertical axis parameter in the 29th adjustment step can be saved as the historical adjustment relationship corresponding to the horizontal axis parameter at the 100th grayscale.
[0102] The historical adjustment relationship can be used as the current adjustment relationship when performing the first adjustment of each white balance parameter of the same target grayscale on the next display panel.
[0103] In the above embodiment, the adjustment relationship in the adjustment process is saved and used as historical data, so that data can be reused, the amount of calculation can be reduced, and the adjustment efficiency can be improved.
[0104] In some embodiments, before performing the first adjustment step on another display panel, the display panel white balance adjustment method also includes: determining, based on the target grayscale and the current target white balance parameters in the first adjustment step, the historical adjustment relationship corresponding to the current target white balance parameters under the target grayscale in the saved historical adjustment relationship, as the current adjustment relationship of the current target white balance parameters in the first adjustment step.
[0105] In one embodiment of the present application, when the current target white balance parameter in the first adjustment step is a brightness parameter, the historical adjustment relationship corresponding to the brightness parameter under the target grayscale is determined in the saved historical adjustment relationship as the current adjustment relationship of the brightness parameter in the first adjustment step.
[0106] When the current target white balance parameter in the first adjustment step is the horizontal axis parameter, the historical adjustment relationship corresponding to the horizontal axis parameter under the target grayscale is determined in the saved historical adjustment relationship as the current adjustment relationship of the horizontal axis parameter in the first adjustment step.
[0107] When the current target white balance parameter in the first adjustment step is the ordinate parameter, the historical adjustment relationship corresponding to the ordinate parameter under the target grayscale is determined in the saved historical adjustment relationship as the current adjustment relationship of the ordinate parameter in the first adjustment step.
[0108] In some embodiments, before executing the first adjustment step, another display panel detects whether the white balance parameter values obtained in the initialization step meet the target parameter value requirements. When the white balance parameter value corresponding to the second white balance parameter in the preset adjustment sequence does not meet the corresponding target parameter value requirements, the second white balance parameter is determined as the current target white balance parameter of the first adjustment step, and the historical adjustment relationship corresponding to the second white balance parameter is used as the current adjustment relationship.
[0109] For example, the preset adjustment sequence of another display panel is brightness adjustment, horizontal axis adjustment and vertical axis adjustment. When the horizontal axis value corresponding to the horizontal axis does not meet the target parameter value requirement, the saved historical adjustment relationship corresponding to the horizontal axis is used as the current adjustment relationship in the first adjustment step.
[0110] In another embodiment, when the white balance parameter value corresponding to the third white balance parameter in the preset adjustment sequence does not meet the corresponding target parameter value requirement, the third white balance parameter is determined as the current target white balance parameter of the first adjustment step, and the historical adjustment relationship corresponding to the third white balance parameter is used as the current adjustment relationship.
[0111] For example, the preset adjustment sequence of another display panel is brightness adjustment, horizontal axis adjustment and vertical axis adjustment. When the vertical axis value corresponding to the horizontal axis does not meet the target parameter value requirement, the saved historical adjustment relationship corresponding to the vertical axis is used as the current adjustment relationship in the first adjustment step.
[0112] In this way, by saving the historical adjustment relationships corresponding to each white balance parameter, when the white balance parameter value corresponding to the first white balance parameter in the initialization step meets the target parameter requirements, the current adjustment relationship corresponding to the second or third white balance parameter in the preset adjustment sequence when executing the first adjustment step can be quickly determined based on the historical adjustment relationship, thereby reducing the initialization steps and quickly entering the repeated adjustment steps.
[0113] In other embodiments, the preset adjustment order of another display panel may be different from the preset adjustment order of the previous display panel, and when the white balance parameter values obtained in the initialization adjustment step do not meet the target parameter value requirements, the historical adjustment relationship of the first target white balance parameter corresponding to the other display panel can be determined from the saved historical adjustment relationship of the previous display panel, thereby completing the adjustment of the first adjustment step.
[0114] For example, when adjusting one display panel, the current adjustment relationship of the brightness parameter corresponding to the grayscale of 120 is K1, and K1 is saved as the historical adjustment relationship of the brightness parameter corresponding to the grayscale of 120. When adjusting another display panel, it is determined that the current target white balance parameter in the first adjustment step is the brightness parameter, and K1 can be used as the current adjustment relationship corresponding to the brightness parameter in the first adjustment step for the grayscale of 120.
[0115] When adjusting one display panel, the current adjustment relationship of the horizontal axis parameter corresponding to the grayscale of 120 is K2, and K2 is saved as the historical adjustment relationship of the horizontal axis parameter corresponding to the grayscale of 120. When adjusting another display panel, the current target white balance parameter in the first adjustment step is determined as the horizontal axis parameter, and K2 can be used as the current adjustment relationship corresponding to the horizontal axis parameter in the first adjustment step for the grayscale of 120.
[0116] When adjusting one display panel, the current adjustment relationship of the vertical coordinate parameter corresponding to the grayscale of 120 is K3, and K3 is saved as the historical adjustment relationship of the vertical coordinate parameter corresponding to the grayscale of 120. When adjusting another display panel, the current target white balance parameter in the first adjustment step is determined as the vertical coordinate parameter, and K3 can be used as the current adjustment relationship corresponding to the vertical coordinate parameter in the first adjustment step for the grayscale of 120.
[0117] In the above embodiment, by saving the historical adjustment relationship, when adjusting the white balance of the next display panel, there is no need to obtain two sets of data through the initialization step. The first current adjustment relationship can be obtained, which simplifies the initialization step and allows quick entry into the repeated adjustment step, which helps to quickly adjust the white balance state.
[0118] In some embodiments, the initialization step performed on another display panel may include obtaining white balance parameter values after the display panel displays according to preset target sub-pixel values or historical sub-pixel values.
[0119] The historical sub-pixel value may be a target sub-pixel value corresponding to a historical adjustment relationship. In one embodiment of the present application, the white balance parameter values after the display panel displays the preset target sub-pixel value or the historical sub-pixel value are obtained, and it is detected whether the white balance parameter values meet the requirements of the target parameter values. If at least one of the white balance parameter values does not meet the requirements of the target parameter value, the current target white balance parameter in the first adjustment step is determined according to the preset adjustment sequence, and the historical adjustment relationship corresponding to the current target white balance parameter is determined by searching the saved historical adjustment relationship, so as to serve as the current adjustment relationship of the horizontal axis parameter in the first adjustment step, and the first adjustment step is executed.
[0120] It should be noted that if at least one of the white balance parameter values does not meet the target parameter value requirement, determining the current target white balance parameter in the first adjustment step according to the preset adjustment sequence is similar to the aforementioned S13, which will not be described in detail here.
[0121] In some embodiments, before performing the adjustment step for the target grayscale, the display panel white balance adjustment method further includes: obtaining a plurality of target parameter values corresponding to multiple levels of a brightness parameter in the white balance parameter of the target grayscale.
[0122] The gears involved in the embodiments of the present application may refer to brightness gears. The brightness values of each brightness gear are different, for example, each brightness gear differs by 20. One gear corresponds to a target parameter value corresponding to a brightness parameter.
[0123] In the embodiment of the present application, the target parameter value corresponding to each gear of the brightness parameter of the target grayscale can be obtained according to the multiple brightness gear parameters set by the user for the target grayscale on the interface. Alternatively, according to the multiple brightness gear parameters set by the user for the 255 grayscale on the interface, the target parameter value corresponding to each gear of the 255 grayscale is obtained, and then the target parameter values corresponding to multiple gears of the target grayscale are obtained according to the target parameter value corresponding to each gear of the 255 grayscale.
[0124] Repeat the following adjustment steps for the target grayscale, specifically including: for the target grayscale, automatically determine the target parameter value corresponding to the brightness parameter according to the target parameter values of multiple gears of the brightness parameter in descending order, so as to repeat the adjustment steps according to the target parameter value to adjust the white balance.
[0125] When the preset stop condition is met but the white balance parameter values after the target grayscale adjustment cannot reach the target parameter value requirements, the target parameter values of multiple gears of the brightness parameter are automatically switched to the target parameter value corresponding to the next gear in descending order, and the adjustment steps are repeated again according to the target parameter value of the next gear to perform white balance adjustment.
[0126] The preset stop condition involved in the embodiment of the present application may be that the number of adjustments reaches a preset number. The preset number can be set according to demand. For example, the preset number can be 200.
[0127] In one embodiment of the present application, the target parameter values corresponding to the multiple gears are arranged in order from large to small, and one gear is selected in turn as the current gear, and the adjustment steps are repeated to perform white balance adjustment according to the target parameter value corresponding to the brightness parameter of the current gear. During the adjustment process for the target parameter value corresponding to the current gear, if the number of adjustments reaches a preset number, and at least one of the white balance parameter values obtained in this adjustment does not meet the target parameter value requirement, the target parameter value of the brightness parameter of the next gear is switched to, and the white balance adjustment is performed according to the target parameter value of the brightness parameter of the next gear.
[0128] In order to further understand the display panel white balance adjustment method provided in the embodiment of the present application, a preset adjustment order of brightness parameter, horizontal coordinate parameter in the color coordinate system and vertical coordinate parameter in the color coordinate system is taken as an example. Figure 2 A schematic diagram showing a flow chart of a display panel white balance adjustment method provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the display panel white balance adjustment method includes the following steps.
[0129] S21, obtaining target parameter values corresponding to various white balance parameters of the current target grayscale.
[0130] The white balance parameters include a brightness parameter, a horizontal coordinate parameter in a color coordinate system, and a vertical coordinate parameter in a color coordinate system.
[0131] S22, obtaining each white balance parameter value displayed according to the preset RGB value, and executing S23.
[0132] S23, detect whether the brightness value reaches the target parameter value requirement corresponding to the brightness parameter. If it reaches, execute S24. If it does not reach for the first time, execute S27. If it does not reach for the Nth time, execute S29.
[0133] Among them, N is greater than 1.
[0134] S24, check whether the horizontal coordinate value reaches the target parameter value requirement corresponding to the horizontal coordinate parameter. If it reaches, execute S25. If it does not reach for the first time, execute S27. If it does not reach for the Lth time, execute S210.
[0135] Among them, L is greater than 1.
[0136] S25, check whether the ordinate value reaches the target parameter value requirement corresponding to the ordinate parameter, if it reaches, jump to S26, if it does not reach for the first time, execute S27. If it does not reach for the Mth time, execute S211.
[0137] Among them, M is greater than 1.
[0138] S26, confirming that the white balance parameter adjustment of the current target grayscale is completed, switching to the next target grayscale, and re-executing S21.
[0139] It should be noted that, until the white balance parameters of all target grayscales are adjusted, it can be determined that the white balance adjustment of the entire display panel is completed and the adjustment process is stopped.
[0140] S27, adjusting the preset RGB value by a preset step size to obtain the required adjusted RGB value, and executing S28.
[0141] S28, obtaining the white balance parameter values displayed according to the adjusted RGB values, and jumping to S23.
[0142] S29, calculate the current brightness slope according to the brightness values and corresponding RGB values obtained for the last two times, and obtain the RGB value to be adjusted according to the target brightness value, the current brightness slope and the brightness value obtained for the last time, and jump to S28.
[0143] S210, calculate the current abscissa slope according to the two most recently acquired abscissa values and the corresponding R values, and obtain the R value to be adjusted according to the target abscissa value, the current abscissa slope and the most recently acquired abscissa value, and jump to S28.
[0144] Among them, the G value and B value do not change.
[0145] S211, calculate the current vertical coordinate slope according to the two most recently obtained vertical coordinate values and the corresponding G values, and obtain the required adjusted G value according to the target horizontal coordinate value, the current vertical coordinate slope and the most recently obtained vertical coordinate value, and obtain the required adjusted B value according to the target brightness value, R value and the current G value, and jump to S28.
[0146] Among them, the R value remains unchanged.
[0147] In the above embodiment, the white balance parameters of each target grayscale are adjusted according to a preset adjustment order, and the sub-pixel value required for adjustment is determined by the updated white balance parameter slope, so that the white balance parameters of each target grayscale can be quickly and accurately fine-tuned, making the color expression of each target grayscale more accurate, thereby shortening the white balance adjustment time and improving the color accuracy of the entire display panel.
[0148] Another aspect of the embodiments of the present application provides a display panel white balance adjustment device. Figure 3 A display panel white balance adjustment device provided by an embodiment of the present application is shown. Figure 3 As shown, the display panel white balance adjustment device 30 may include the following units.
[0149] The adjustment control unit 31 is used to control each unit to perform an adjustment process for each target grayscale, so that each white balance parameter value after adjustment for each target grayscale meets the respective target parameter value requirements.
[0150] The target sub-pixel calculation unit 32 is used to calculate the target sub-pixel value required for this adjustment based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value; the current adjustment relationship represents the current relationship between the target sub-pixel value and the target white balance parameter value obtained based on the display of the target sub-pixel value.
[0151] The white balance parameter value acquisition unit 33 is used to acquire each white balance parameter value after the display panel displays the calculated target sub-pixel value.
[0152] The adjustment unit 34 is used to determine the first white balance parameter that does not meet the target parameter value requirement as the current target white balance parameter when the adjustment step is performed next time according to the preset adjustment sequence of the white balance parameters when at least one of the white balance parameter values does not meet the target parameter value requirement.
[0153] The determination unit 35 is used to determine the current parameter values and the current adjustment relationship respectively corresponding to the current target white balance parameters when the adjustment step is performed next time, at least according to the white balance parameter values after the current adjustment.
[0154] In the above embodiment, the sub-pixel value required for each adjustment is determined by a continuously updated adjustment relationship, so that the white balance parameters of each target grayscale can be quickly and accurately fine-tuned, making the color representation of each target grayscale more accurate, thereby shortening the white balance adjustment time and improving the color accuracy of the entire display panel.
[0155] In some embodiments, the display panel white balance adjustment device 30 may further include a white balance parameter determination unit for determining the first white balance parameter as the current target white balance parameter according to a preset adjustment sequence of the white balance parameters when the adjustment step is performed for the first time.
[0156] In some embodiments, the determination unit 35 is specifically used to determine the current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time based on at least two sets of data most recently obtained before the adjustment step is performed next time, wherein each set of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value of the current target white balance parameter among the white balance parameters displayed according to the target sub-pixel value.
[0157] In some embodiments, the display panel white balance adjustment device 30 may further include an initialization unit for obtaining a preset target sub-pixel value of the display panel and obtaining each white balance parameter value displayed by the display panel based on the preset target sub-pixel value before executing the adjustment step for the first time.
[0158] In some embodiments, the initialization unit is also used to determine the current adjustment relationship corresponding to the current target white balance parameter for the first time in the first adjustment step based on at least two sets of data; each set of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value corresponding to the current target white balance parameter in each white balance parameter displayed according to the target sub-pixel value.
[0159] In some embodiments, the display panel white balance adjustment device 30 may further include a saving unit for calculating and saving the current adjustment relationship between each white balance parameter when all white balance parameter values of the current target grayscale meet the respective target parameter value requirements, as the historical adjustment relationship corresponding to each white balance parameter under the target grayscale.
[0160] In some embodiments, the display panel white balance adjustment device 30 may further include a relationship determination unit, which is used to determine, before executing the first adjustment step on another display panel, the historical adjustment relationship corresponding to the current target white balance parameters under the target grayscale in the saved historical adjustment relationship, based on the target grayscale and the current target white balance parameters in the first adjustment step, as the current adjustment relationship of the current target white balance parameters in the first adjustment step.
[0161] In some embodiments, the at least two white balance parameters include: a brightness parameter, a horizontal coordinate parameter in a color coordinate system, and a vertical coordinate parameter in a color coordinate system; and the target sub-pixel value includes at least one of an R value, a G value, and a B value.
[0162] The target sub-pixel calculation unit 32 is specifically used to calculate the RGB values required for this adjustment based on the current parameter value, current R value, current G value, current B value, current adjustment relationship and target parameter value corresponding to the brightness parameter when the current target white balance parameter is a brightness parameter; the current adjustment relationship represents the current relationship between the RGB value and the brightness parameter value obtained after displaying the RGB value; or, when the current target white balance parameter is a horizontal coordinate parameter, calculate the R value required for this adjustment based on the current parameter value, current R value, current adjustment relationship and target parameter value corresponding to the horizontal coordinate parameter; the current adjustment relationship represents the current relationship between the R value and the horizontal coordinate parameter value in the color coordinate obtained after displaying the R value; or, when the current target white balance parameter is a vertical coordinate parameter, calculate the G value and B value required for this adjustment based on the current parameter value, current G value, current B value, current adjustment relationship and target parameter value corresponding to the vertical coordinate parameter; the current adjustment relationship represents the current relationship between the G value and the B value and the vertical coordinate parameter value in the color coordinate obtained after displaying the G value and the B value.
[0163] In some embodiments, the preset adjustment order is the brightness parameter, the horizontal coordinate parameter in the color coordinate system, and the vertical coordinate parameter in the color coordinate system.
[0164] In some embodiments, the display panel white balance adjustment device 30 may further include a gear acquisition unit for acquiring a plurality of target parameter values corresponding to multiple gears of the target grayscale and belonging to the brightness parameter in the white balance parameter before performing the adjustment step for the target grayscale.
[0165] In some embodiments, the display panel white balance adjustment device 30 may further include a target parameter value determination unit, which is used to automatically determine the target parameter value corresponding to the brightness parameter in order from large to small according to the target parameter values of the multiple gears of the brightness parameter for the target grayscale, so as to repeat the adjustment steps according to the target parameter value to perform white balance adjustment.
[0166] A switching unit is used to automatically switch to the target parameter value corresponding to the next gear according to the target parameter values of multiple gears of the brightness parameter in descending order when the preset stop condition is met but the white balance parameter values after the target grayscale adjustment cannot all reach the target parameter value requirements, and repeat the adjustment steps according to the target parameter value of the next gear to perform white balance adjustment.
[0167] It should be understood that the specific features, operations and details described hereinabove with respect to the method of the present application may also be similarly applied to the device and system of the present application, or vice versa. In addition, each step of the method of the present application described above may be performed by a corresponding component or unit of the device or system of the present application.
[0168] It should be understood that each module / unit of the device of the present application can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each module / unit can be embedded in the processor of the electronic device or independent of the processor in the form of hardware or firmware, or can be stored in the memory of the electronic device in the form of software for the processor to call to perform the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0169] Those skilled in the art will appreciate that the method steps of the present application can be completed by instructing related hardware such as electronic devices or processors through a computer program, and the computer program can be stored in a non-temporary computer-readable storage medium, and the computer program causes the steps of the present application to be executed when it is executed. Depending on the circumstances, any reference to memory, storage or other media herein may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0170] In yet another aspect of the present application, an electronic device is provided. Figure 4 A schematic diagram of the structure of an electronic device provided according to an embodiment of the present application is shown. Figure 4 As shown, the electronic device 40 includes a processor 41, a memory 42, and a program stored in the memory and executable on the processor. When the program is executed by the processor 41, the steps of the display panel white balance adjustment method provided in any of the above embodiments are implemented.
[0171] The electronic device 40 can be broadly a server, a terminal, or any other electronic device with necessary computing and / or processing capabilities.
[0172] In one embodiment, the electronic device 40 may include a processor, a memory, a network interface, a communication interface, etc. connected through a system bus. The processor of the electronic device 40 may be used to provide necessary computing, processing and / or control capabilities. The memory of the electronic device 40 may include a non-volatile storage medium and an internal memory. The non-volatile storage medium may store an operating system, a computer program, etc. The internal memory may provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the electronic device 40 may be used to connect and communicate with external devices through a network.
[0173] On the other hand, the present application provides a computer-readable storage medium, on which instructions are stored, wherein when the instructions are executed by a processor, the display panel white balance adjustment method provided in any of the above embodiments is implemented.
[0174] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.
[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adjusting white balance of a display panel, characterized in that: Used to adjust the target sub-pixel value so that at least two white balance parameters are adjusted to their corresponding target parameter values respectively; The method comprises: repeatedly performing the following adjustment steps for each target grayscale; For the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, the target sub-pixel value required for this adjustment is calculated; the current adjustment relationship represents the current relationship between the target sub-pixel value and the target white balance parameter value obtained based on the display of the target sub-pixel value; Obtaining white balance parameter values after the display panel displays the calculated target sub-pixel value; When at least one of the white balance parameter values does not meet the target parameter value requirement, determining the first white balance parameter that does not meet the target parameter value requirement according to the preset adjustment order of the white balance parameters as the current target white balance parameter when the adjustment step is performed next time; At least according to the white balance parameter values after the current adjustment, the current parameter values and the current adjustment relationship respectively corresponding to the current target white balance parameters when the adjustment step is performed next time are determined.
2. The method according to claim 1, characterized in that When performing the adjusting step for the first time, the method further comprises: According to the preset adjustment order of each white balance parameter, the first white balance parameter is determined as the current target white balance parameter.
3. The method according to claim 1, characterized in that The step of determining, at least based on the white balance parameter values adjusted this time, a current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time specifically includes: Based on at least two sets of data most recently obtained before the adjustment step is performed next time, a current adjustment relationship corresponding to the current target white balance parameter when the adjustment step is performed next time is determined, wherein each set of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value of the current target white balance parameter among the white balance parameters displayed according to the target sub-pixel value.
4. The method according to claim 1 or 3, characterized in that: Before performing the adjusting step for the first time, the method further comprises an initialization step: A preset target sub-pixel value of the display panel is obtained, and each white balance parameter value displayed by the display panel based on the preset target sub-pixel value is obtained.
5. The method according to claim 4, characterized in that The initialization step also includes: A current adjustment relationship corresponding to the current target white balance parameter targeted for the first time in the first execution of the adjustment step is determined based on at least two groups of data; each group of data includes a target sub-pixel value corresponding to the current target white balance parameter and a current parameter value corresponding to the current target white balance parameter among the white balance parameters displayed according to the target sub-pixel value.
6. The method according to claim 4, characterized in that After the adjusting step, the method further comprises a saving step: When all white balance parameter values of the current target grayscale meet the requirements of their respective target parameter values, the current adjustment relationship of each white balance parameter is calculated and saved as the historical adjustment relationship corresponding to each white balance parameter at the target grayscale; Before performing the first adjustment step on another display panel, the method further includes: According to the target grayscale and the current target white balance parameters in the first adjustment step, the historical adjustment relationship corresponding to the current target white balance parameters under the target grayscale is determined in the saved historical adjustment relationship as the current adjustment relationship of the current target white balance parameters in the first adjustment step.
7. The method according to claim 1, characterized in that The at least two white balance parameters include: a brightness parameter, a horizontal coordinate parameter in a color coordinate system, and a vertical coordinate parameter in a color coordinate system; the target sub-pixel value includes at least one of a red sub-pixel R value, a green sub-pixel G value, and a blue sub-pixel B value; For the current target white balance parameter, based on the current parameter value corresponding to the current target white balance parameter, the current target sub-pixel value, the current adjustment relationship and the target parameter value, the target sub-pixel value required for this adjustment is calculated, including: When the current target white balance parameter is a brightness parameter, the RGB value required for this adjustment is calculated based on the current parameter value, the current R value, the current G value, the current B value, the current adjustment relationship and the target parameter value corresponding to the brightness parameter; the current adjustment relationship represents the current relationship between the RGB value and the brightness parameter value obtained after display based on the RGB value; Alternatively, when the current target white balance parameter is a horizontal coordinate parameter, the R value required for this adjustment is calculated based on the current parameter value, the current R value, the current adjustment relationship and the target parameter value corresponding to the horizontal coordinate parameter; the current adjustment relationship represents the current relationship between the R value and the horizontal coordinate parameter value in the color coordinate obtained after display based on the R value; Alternatively, when the current target white balance parameter is a vertical coordinate parameter, the G value and B value required for this adjustment are calculated based on the current parameter value, current G value, current B value, current adjustment relationship and target parameter value corresponding to the vertical coordinate parameter; the current adjustment relationship represents the current relationship between the G value, B value and the vertical coordinate parameter value in the color coordinate obtained after display based on the G value and B value.
8. The method according to claim 7, characterized in that The preset adjustment sequence is the brightness parameter, the horizontal coordinate parameter in the color coordinate system, and the vertical coordinate parameter in the color coordinate system.
9. The method according to claim 7, characterized in that: Before performing the adjustment step for the target grayscale, the method further includes: Acquire a plurality of target parameter values corresponding to a plurality of levels of a brightness parameter in a white balance parameter of the target grayscale; The step of repeatedly performing the following adjustment steps for the target grayscale specifically includes: For the target grayscale, automatically determining the target parameter value corresponding to the brightness parameter according to the target parameter values of the plurality of gears of the brightness parameter in descending order, so as to repeatedly perform the adjustment step according to the target parameter value to perform the white balance adjustment; When the preset stop condition is met but the white balance parameter values after the target grayscale adjustment cannot reach the target parameter value requirements, the target parameter values of the multiple gears of the brightness parameter are automatically switched to the target parameter value corresponding to the next gear in descending order, and the adjustment steps are repeated again according to the target parameter value of the next gear to perform the white balance adjustment.
10. A display panel white balance adjustment device, characterized in that: The device comprises: An adjustment control unit, for controlling each unit to perform an adjustment process for each target grayscale, so that each white balance parameter value after adjustment of each target grayscale meets the respective target parameter value requirements; a target sub-pixel calculation unit, configured to calculate, for a current target white balance parameter, a target sub-pixel value required for this adjustment based on a current parameter value corresponding to the current target white balance parameter, a current target sub-pixel value, a current adjustment relationship, and a target parameter value; the current adjustment relationship represents a current relationship between the target sub-pixel value and a target white balance parameter value obtained based on the display of the target sub-pixel value; A white balance parameter value acquisition unit, used to acquire each white balance parameter value after the display panel displays the calculated target sub-pixel value; an adjusting unit, configured to, when at least one of the white balance parameter values does not meet the target parameter value requirement, determine, according to a preset adjustment sequence of the white balance parameters, the first white balance parameter that does not meet the target parameter value requirement as the current target white balance parameter for the next execution of the adjusting step; The determination unit is used to determine the current parameter values and the current adjustment relationship respectively corresponding to the current target white balance parameters when the adjustment step is performed next time, at least according to the white balance parameter values after the current adjustment.
11. An electronic device, characterized in that: The invention comprises a processor, a memory and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the display panel white balance adjustment method as described in any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed by the processor, the steps of the display panel white balance adjustment method according to any one of claims 1 to 9 are implemented.