Display panel brightness compensation method, device and computer-readable storage medium
By performing brightness compensation on the subpixels of the display panel and calculating the grayscale compensation value and coefficient based on the fitting line, the problem of uneven brightness of the display panel is solved and the display effect is improved.
Patent Information
- Application Number
- CN202211436555.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-16
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-11-16
AI Technical Summary
The fluctuations in the process of the display panel lead to uneven brightness, forming mura phenomenon, and the existing mura compensation effect is poor.
By performing brightness compensation on the subpixels of the display panel, the grayscale compensation value and coefficient are determined based on multiple compensated grayscale values and ideal grayscale values fitting lines, and the calculation and assignment of the target grayscale compensation value are achieved.
Improve the display effect of the display panel, eliminate uneven brightness and display traces, and improve the improvement effect of mura.
Smart Images

Figure CN115731903B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a display panel brightness compensation method, device, and computer-readable storage medium. Background Art
[0002] Due to fluctuations in the display panel manufacturing process, the brightness of the produced display panels is often uneven, resulting in various mura (uneven display brightness) phenomena. Display panel manufacturers are actively working to improve the mura phenomenon, but the existing mura compensation effect is poor. Summary of the Invention
[0003] The present application provides a display panel brightness compensation method, device, and computer-readable storage medium, which improve the display effect of the display panel by compensating the brightness of the display panel, thereby improving the mura improvement effect.
[0004] To solve the above technical problems, a technical solution adopted in this application is to provide a brightness compensation method for a display panel, comprising:
[0005] For at least some sub-pixels in the display panel, obtaining at least two fitting lines based on a plurality of compensated grayscale values of the current sub-pixel and a corresponding ideal grayscale value;
[0006] Obtaining grayscale compensation values corresponding to the current grayscale value to be compensated from at least two fitting lines of the current sub-pixel;
[0007] determining a grayscale compensation coefficient based on grayscale compensation values of at least some of the sub-pixels;
[0008] A target grayscale compensation value of the current subpixel at the current grayscale value to be compensated is determined based on the grayscale compensation coefficient and the grayscale compensation value of the current subpixel.
[0009] The step of determining the grayscale compensation coefficient based on the grayscale compensation values of at least some sub-pixels includes:
[0010] determining a grayscale compensation background value based on the current grayscale compensation value;
[0011] For at least some of the sub-pixels, obtaining a corresponding grayscale compensation characteristic value from each grayscale compensation value of the current sub-pixel based on the grayscale compensation background value;
[0012] determining a grayscale compensation coefficient based on grayscale compensation characteristic values of at least some sub-pixels;
[0013] Preferably, the grayscale compensation characteristic value is the difference between the grayscale compensation value and the grayscale compensation background value.
[0014] The step of determining the grayscale compensation coefficient based on the grayscale compensation characteristic values of at least some sub-pixels includes:
[0015] For at least some of the sub-pixels, in response to the multiple grayscale compensation characteristic values corresponding to the current sub-pixel being both positive or both negative, determining a grayscale compensation ratio based on the multiple grayscale compensation characteristic values of the current sub-pixel;
[0016] A grayscale compensation coefficient is determined based on a plurality of grayscale compensation ratios.
[0017] The step of determining the grayscale compensation coefficient based on the multiple grayscale compensation ratios includes:
[0018] Screening multiple grayscale compensation ratios based on preset screening conditions;
[0019] determining a grayscale compensation coefficient based on the screened plurality of grayscale compensation ratios;
[0020] Preferably, the step of determining the grayscale compensation coefficient based on the screened plurality of grayscale compensation ratios includes: taking the average of the screened plurality of grayscale compensation ratios as the grayscale compensation coefficient;
[0021] Preferably, the preset screening condition includes a preset range, and the step of screening the plurality of grayscale compensation ratios based on the preset screening condition includes: obtaining a plurality of grayscale compensation ratios within the preset range.
[0022] The step of determining the grayscale compensation background value based on the current grayscale compensation value includes:
[0023] Obtaining ideal brightness values corresponding to the plurality of sub-pixels at the current grayscale value to be compensated based on a standard gamma curve;
[0024] Based on the average of the ideal brightness values, the grayscale compensation background value is determined.
[0025] The step of obtaining at least two fitting lines based on the multiple compensated grayscale values of the current sub-pixel and the corresponding ideal grayscale values includes:
[0026] Performing curve fitting on a plurality of compensated grayscale values of the current sub-pixel and the corresponding ideal grayscale values to obtain a first fitting line; and
[0027] A second fitting line is obtained by performing linear fitting based on the origin, the compensated grayscale value closest to the current grayscale value to be compensated, and the corresponding ideal grayscale value; wherein the compensated grayscale value and the ideal grayscale value of the origin are both 0.
[0028] The step of determining the grayscale compensation ratio based on the multiple grayscale compensation characteristic values of the current sub-pixel includes:
[0029] The grayscale compensation characteristic values of the current sub-pixel and the second fitting line and the first fitting line are obtained, and a ratio is obtained, and the ratio is used as a grayscale compensation ratio.
[0030] The step of determining the target grayscale compensation value of the current sub-pixel at the current compensated grayscale value based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel includes:
[0031] Obtaining a product of a grayscale compensation characteristic value associated with the second fitting line and a grayscale compensation coefficient;
[0032] Obtaining a sum of the grayscale compensation background value and the product associated with the second fitting line, and using the sum as a target grayscale compensation value;
[0033] Preferably, the target grayscale compensation value is within the range of ±15 grayscales.
[0034] To solve the above-mentioned technical problems, another technical solution adopted in the present application is: providing a brightness compensation device for a display panel, which includes: an acquisition module, used to obtain at least two fitting lines based on multiple compensated grayscale values of a current sub-pixel and the corresponding ideal grayscale values; a processing module, used to obtain grayscale compensation values corresponding to the current ideal grayscale value from the at least two fitting lines of the current sub-pixel; and determine a grayscale compensation coefficient based on the grayscale compensation values of at least part of the sub-pixels, and determine a target grayscale compensation value of the current sub-pixel at the current compensated grayscale value based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel; and a compensation module, used to transmit the target grayscale compensation value to the sub-pixel for brightness compensation.
[0035] To solve the above technical problems, another technical solution adopted in this application is: providing a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the brightness compensation method of the display panel in the above embodiment is implemented.
[0036] The beneficial effects of the present application are as follows: based on multiple compensated grayscale values of the current sub-pixel and the corresponding ideal grayscale values, at least two fitting lines are obtained. The ideal grayscale value corresponding to each sub-pixel at the grayscale to be compensated can be determined using the at least two fitting lines, thereby reducing the number of experiments and making the target grayscale compensation value ultimately obtained more accurate and achieving better compensation results. The target grayscale compensation value for the current sub-pixel at the current compensated grayscale value is then determined based on the calculated grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel. This target grayscale compensation value is assigned to the corresponding display pixel, improving the display quality of the display panel and eliminating the problems of uneven brightness and display artifacts at low grayscales. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive effort, among which:
[0038] Figure 1 This is a flow chart of an embodiment of a display panel brightness compensation method of the present application;
[0039] Figure 2 for Figure 1 Schematic diagram of the process of step S1 in an embodiment;
[0040] Figure 3 for Figure 2 A schematic diagram of an implementation of the first fitting line in step S11;
[0041] Figure 4 for Figure 2 A schematic diagram of an implementation of the second fitting line in step S12;
[0042] Figure 5 for Figure 1 A schematic flow chart of an implementation method of step S3;
[0043] Figure 6 for Figure 5 A schematic flow chart of an embodiment of step S31;
[0044] Figure 7 for Figure 5 A schematic flow chart of an embodiment of step S33;
[0045] Figure 8 for Figure 7 A flow chart of an embodiment of step S332;
[0046] Figure 9 for Figure 1 A schematic flow chart of an implementation method of step S4 in FIG.
[0047] Figure 10 A schematic structural diagram of an embodiment of a display panel brightness compensation device of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0049] See also Figure 1 , Figure 1 This is a flow chart of an embodiment of a display panel brightness compensation method of the present application; the brightness compensation method includes the following steps:
[0050] S1: For at least part of the sub-pixels in the display panel, obtain at least two fitting lines based on a plurality of compensated grayscale values of the current sub-pixel and corresponding ideal grayscale values.
[0051] Specifically, a display panel typically has 256 grayscale values, including 0, 1, 2, ..., 255. The compensated grayscale value can be any of these 256 grayscale values. The ideal grayscale value can be understood as the grayscale value of a compensated grayscale value after brightness compensation. For example, if the compensated grayscale value is 120, then after brightness compensation, to achieve a predetermined brightness, the corresponding ideal grayscale value is 122.
[0052] In addition, the brightness compensation method in this application can be applied only to sub-pixels in the mura area or sub-pixels in a selected area, or it can be applied to the entire area of the display panel. For example, when brightness compensation is applied to the entire area of the display panel, the ideal grayscale values corresponding to all sub-pixels in the display panel can be obtained at a compensated grayscale value. It should be noted that at the same compensated grayscale value, the ideal grayscale values corresponding to different sub-pixels can be the same or different, so we need to perform fitting on different sub-pixels separately to obtain the corresponding fitting lines.
[0053] For more details, see Figure 2 , Figure 2 for Figure 1 The specific implementation process of step S1 includes:
[0054] S11: performing curve fitting on a plurality of compensated grayscale values of the current sub-pixel and corresponding ideal grayscale values to obtain a first fitting line.
[0055] See also Figure 3 , Figure 3 for Figure 2 A schematic diagram of an implementation of the first fitting line in step S11; wherein, Figure 3The solid black dots represent compensated grayscale values, and the hollow black dots represent the current grayscale value to be compensated. The current grayscale value to be compensated can be less than the minimum of all compensated grayscale values forming the first fitting line; alternatively, the current grayscale value to be compensated can be between the multiple compensated grayscale values forming the first fitting line. A compensated grayscale is a grayscale that has been compensated experimentally and for which the corresponding ideal grayscale value is known. A grayscale to be compensated is one that has not been compensated experimentally, and for which the corresponding ideal grayscale value can be obtained from the first fitting line.
[0056] For the same sub-pixel, multiple (eg, three or six) compensated grayscale values and corresponding ideal grayscale values related to the sub-pixel can be selected to obtain a first fitting line. Figure 3 As shown, Figure 3 Six sets of compensated grayscale values are used for fitting, and generally speaking, 0-63 is low grayscale, 64-128 is medium grayscale, and 129-255 is high grayscale. In this embodiment, two compensated grayscales can be selected from each of the low grayscale, medium grayscale, and high grayscale for fitting to obtain a first fitting line, so that the obtained first fitting line is more accurate. For example, the selected grayscale values are 16, 32, 64, 128, 192, and 224, respectively. Of course, in other embodiments, three sets of compensated grayscale values can also be used for fitting, and one compensated grayscale can be selected from each of the low grayscale, medium grayscale, and high grayscale for fitting. For example, the selectable grayscale values are 16, 64, and 192, respectively.
[0057] Optionally, the first fitting line may be a curve corresponding to a nonlinear formula, where the nonlinear formula may be an exponential function, a quadratic function, or the like. The fitting result of the first fitting line in this form is relatively close to the existing compensated grayscale, thereby improving the accuracy of the brightness compensation of the sub-pixel and thereby enhancing the brightness compensation effect.
[0058] S12: performing linear fitting based on the origin, the compensated grayscale value closest to the current grayscale value to be compensated, and the corresponding ideal grayscale value to obtain a second fitting line; wherein the compensated grayscale value and the ideal grayscale value of the origin are both 0.
[0059] See also Figure 4 , Figure 4 for Figure 2 A schematic diagram of an implementation of the second fitting line in step S12; wherein, Figure 4 The solid black dots represent compensated grayscale values, and the hollow black dots represent the grayscale values to be compensated. Experimental methods can yield multiple sets of compensated grayscale values and their corresponding ideal grayscale values. A compensated grayscale value closest to the grayscale value to be compensated is then selected from these multiple sets for linear fitting with the origin to obtain a second fitted line.
[0060] like Figure 4 As shown, when the current grayscale value to be compensated is less than the minimum value among the multiple compensated grayscale values, the minimum grayscale value among the multiple compensated grayscale values is the compensated grayscale closest to the current grayscale value to be compensated. Alternatively, when the current grayscale value to be compensated is between the multiple compensated grayscale values, the compensated grayscale value with the smallest absolute difference from the current grayscale value to be compensated can be used as the closest compensated grayscale value.
[0061] In the above steps S11 and S12, only two fitting lines (i.e., the first fitting line and the second fitting line) are obtained; of course, in other embodiments, more fitting lines can also be obtained; for example, all compensated grayscale values and corresponding ideal grayscale value data of the current sub-pixel can be obtained, and some compensated grayscale values and corresponding ideal grayscale values are selected from them for curve fitting to obtain a first fitting line; then, curve fitting is performed on the remaining compensated grayscale values and the corresponding ideal grayscale values to obtain a third fitting line; finally, linear fitting is performed based on the origin and the compensated grayscale value closest to the current grayscale to be compensated and the corresponding ideal grayscale value to obtain a second fitting line.
[0062] S2: Obtaining grayscale compensation values corresponding to the current grayscale value to be compensated from at least two fitting lines of the current sub-pixel.
[0063] Specifically, the grayscale compensation value is the difference between the ideal grayscale value corresponding to the current grayscale value to be compensated and the current grayscale value to be compensated.
[0064] For example, after obtaining the first fitting line and the second fitting line through steps S11-S12, step S2 specifically includes: for each sub-pixel, obtaining a first ideal grayscale value corresponding to the current grayscale value to be compensated based on the first fitting line of the current sub-pixel, and obtaining a second ideal grayscale value corresponding to the current grayscale value to be compensated based on the second fitting line of the current sub-pixel; using the difference between the first ideal grayscale value and the current grayscale value to be compensated as the first grayscale compensation value, and using the difference between the second ideal grayscale value and the current grayscale value to be compensated as the second grayscale compensation value. Because the fitting forms of the first fitting line and the second fitting line are different, the numerical calculation forms of the first grayscale compensation value and the second grayscale compensation value are different, and the resulting compensation values may be different.
[0065] S3: Determine a grayscale compensation coefficient based on the grayscale compensation values of at least some sub-pixels.
[0066] See also Figure 5 , Figure 5 for Figure 1 Schematic diagram of a flow chart of an embodiment of step S3; the above step S3 specifically includes:
[0067] S31: Determine a grayscale compensation background value based on the current grayscale compensation value.
[0068] Specifically, after the first grayscale compensation value and the second grayscale compensation value are obtained in step S2 , the corresponding first compensation background value and the second compensation background value can be determined respectively through calculation or experience.
[0069] For example, see Figure 6 , Figure 6 for Figure 5 FIG. 1 is a flow chart of an embodiment of step S31; in one embodiment, step S31 determines the grayscale compensation background value based on the current grayscale compensation value and may include the following steps:
[0070] S311: Obtaining ideal brightness values corresponding to a plurality of sub-pixels at a current grayscale value to be compensated based on a standard gamma curve.
[0071] First, obtain the ideal brightness value corresponding to each sub-pixel, which can be obtained according to the following formula:
[0072] LV=LV_255(gray / gray_255)^(gamma)
[0073] Where: LV represents the ideal brightness value, LV_255 represents the brightness data corresponding to gray_255 (i.e., gray_25 ...
[0074] S312: Determine a grayscale compensation background value based on the average of the ideal brightness values.
[0075] Based on the ideal brightness values obtained in the previous step, an average of the ideal brightness values is calculated. For at least some sub-pixels in the improved area, the average ideal brightness values corresponding to these values are the same. In one embodiment, the grayscale value corresponding to the average ideal brightness value is used as the grayscale compensation background value. A first compensation background value can be obtained for the first grayscale compensation value, and a second compensation background value can be obtained for the second grayscale compensation value.
[0076] For another example, step S31 may include the following steps of determining the grayscale compensation background value based on the current ideal grayscale value: setting a filter core to filter the grayscale compensation values corresponding to at least some sub-pixels at the same compensated grayscale value; the data obtained after filtering is the compensated background value; since there are data with large values in the grayscale compensation value, the grayscale compensation value data is multiplied by a certain empirical value to obtain a new value; the central value of the group of data is taken as the mean to smooth the sharp data; and the background compensation value is obtained after smoothing.
[0077] S32: For at least some of the sub-pixels, obtain a corresponding grayscale compensation characteristic value from each grayscale compensation value of the current sub-pixel based on the grayscale compensation background value.
[0078] Among them, the first compensation characteristic value corresponding to the sub-pixel can be obtained through the first grayscale compensation value and the first compensation background value corresponding to the sub-pixel; the second compensation characteristic value corresponding to the sub-pixel can be obtained through the second grayscale compensation value and the second compensation background value corresponding to the sub-pixel.
[0079] Preferably, the grayscale compensation characteristic value is the difference between the grayscale compensation value and the grayscale compensation background value. That is, at the same grayscale, the first compensation characteristic value corresponding to a subpixel can be obtained by subtracting the first compensation background value from the first grayscale compensation value corresponding to the subpixel; and the second compensation characteristic value corresponding to the subpixel can be obtained by subtracting the second compensation background value from the second grayscale compensation value corresponding to the subpixel. Determining the grayscale compensation characteristic value based on the relationship between the grayscale compensation characteristic value and the grayscale compensation background value can improve the grayscale compensation effect, thereby increasing the brightness of the display panel and reducing or even eliminating the mura phenomenon.
[0080] S33: Determine a grayscale compensation coefficient based on the grayscale compensation characteristic values of at least some sub-pixels.
[0081] See also Figure 7 , Figure 7 for Figure 5 FIG. 1 is a flow chart of an embodiment of step S33; determining a grayscale compensation coefficient based on the first compensation characteristic value and the second compensation characteristic value obtained in the above step. The step of determining the grayscale compensation coefficient based on the grayscale compensation characteristic values of at least some sub-pixels includes:
[0082] S331 : For at least some sub-pixels, in response to multiple grayscale compensation characteristic values corresponding to the current sub-pixel being both positive or both negative, determining a grayscale compensation ratio based on the multiple grayscale compensation characteristic values of the current sub-pixel.
[0083] Since the grayscale compensation characteristic value is the difference between the grayscale compensation value and the grayscale compensation background value. Wherein, at the same current grayscale value to be compensated, the first compensation characteristic value is the difference between the first grayscale compensation value corresponding to the sub-pixel and the first compensation background value, and the second compensation characteristic value is the difference between the second grayscale compensation value corresponding to the sub-pixel and the second compensation background value. Therefore, the first compensation characteristic value and the second compensation characteristic value may be positive or negative. In this process, for the first compensation characteristic value and the second compensation characteristic value corresponding to the same sub-pixel, only the first compensation characteristic value and the second compensation characteristic value that are both positive or both negative can be used to determine the grayscale compensation ratio. In the case where one of the first compensation characteristic value and the second compensation characteristic value is positive and the other is negative, this group of data will be discarded.
[0084] The step of determining the grayscale compensation ratio based on multiple grayscale compensation characteristic values of the current sub-pixel includes: obtaining the grayscale compensation characteristic values of the current sub-pixel associated with the second fitting line and the first fitting line, respectively, calculating a ratio, and using the ratio as the grayscale compensation ratio. Specifically, the step of obtaining the first compensation characteristic value and the second compensation characteristic value corresponding to the current sub-pixel, calculating the ratio of the first compensation characteristic value to the second compensation characteristic value, wherein the ratio can be the ratio obtained by dividing the first compensation characteristic value by the second compensation characteristic value, or the ratio obtained by dividing the second compensation characteristic value by the first compensation characteristic value, and using the ratio as the grayscale compensation ratio. Through the ratio calculation, the proportional coefficient for the second compensation characteristic value in the linear fit can be calculated, making the determined target grayscale compensation value more accurate.
[0085] S332: Determine a grayscale compensation coefficient based on a plurality of grayscale compensation ratios.
[0086] See also Figure 8 , Figure 8 for Figure 7 Flow chart of an embodiment of step S332; the above step S332 specifically includes:
[0087] S3321: Filtering multiple grayscale compensation ratios based on preset filtering conditions.
[0088] Preferably, the preset screening condition includes a preset range, and the step of screening the plurality of grayscale compensation ratios based on the preset screening condition includes: obtaining a plurality of grayscale compensation ratios within the preset range.
[0089] Among them, the preset range can be set according to the normal distribution of the ratio. For example, the mean of the ratio is 0.5, and the numerical value can be selected on both sides of the mean, for example, the numerical ranges of 0.4-0.6, 0.3-0.7, 0.3-0.6, etc. can be selected. By screening multiple grayscale compensation ratios, a preset range is formulated. In order to achieve the best brightness compensation effect, in the process of determining the preset range, multiple groups of preset ranges can be selected, and the grayscale compensation coefficients corresponding to the multiple groups of preset ranges can be applied to different display panels. By comparing the display effects of different display panels, a group of preset ranges with the best compensation effect is selected. In addition, by selecting multiple grayscale compensation ratios within the preset range, grayscale compensation ratios with large ratios and distortion can be avoided.
[0090] S3322: Determine a grayscale compensation coefficient based on the screened multiple grayscale compensation ratios.
[0091] Preferably, the step of determining the grayscale compensation coefficient based on the screened multiple grayscale compensation ratios includes: taking the average of the screened multiple grayscale compensation ratios as the grayscale compensation coefficient; averaging the multiple grayscale compensation ratios within a preset range and taking the average as the grayscale compensation coefficient Gain.
[0092] S4: determining a target grayscale compensation value of the current subpixel at the current compensated grayscale value based on the grayscale compensation coefficient and the grayscale compensation value of the current subpixel.
[0093] The grayscale compensation value of the current sub-pixel includes its corresponding grayscale compensation characteristic value and grayscale compensation background value. Combined with the grayscale compensation coefficient obtained in the above steps, the target grayscale compensation value of the current sub-pixel at the current ideal grayscale value is finally determined.
[0094] See also Figure 9 , Figure 9 for Figure 1 FIG. 1 is a flow chart of an embodiment of step S4; in step S4, the step of determining the target grayscale compensation value of the current sub-pixel at the current compensated grayscale value based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel includes:
[0095] S41: Obtaining a product of a grayscale compensation characteristic value associated with a second fitting line and a grayscale compensation coefficient.
[0096] A grayscale compensation characteristic value associated with the second fitting line, ie, a second compensation characteristic value, is obtained, and the product of the second compensation characteristic value and the grayscale compensation coefficient is obtained by combining the grayscale compensation coefficient obtained in the above steps.
[0097] S42: Obtain a sum of the grayscale compensation background value and the product associated with the second fitting line, and use the sum as a target grayscale compensation value.
[0098] That is, offset=A1+Gain*A2, wherein offset is the target grayscale compensation value, A1 is the second compensation background value, Gain is the grayscale compensation coefficient, and A2 is the second compensation characteristic value.
[0099] Preferably, the target grayscale compensation value offset is within the range of ±15 grayscales. In one embodiment, when a sub-pixel is at grayscale 64 and the calculated target grayscale compensation value is -2, a downward compensation of 2 grayscales is performed on the sub-pixel, so that the grayscale compensation value of the sub-pixel is 62. In another embodiment, when a sub-pixel is at grayscale 64 and the calculated target grayscale compensation value is 2, an upward compensation of 2 grayscales is performed on the sub-pixel, so that the grayscale compensation value of the sub-pixel is 66. In one embodiment, the current compensation for the display panel can be performed by calculating the corresponding grayscale compensation coefficients for the six grayscales of 16, 32, 64, 128, 192, and 224, respectively, and combining the grayscale compensation value corresponding to the current sub-pixel to determine the target grayscale compensation value of the current sub-pixel at the corresponding grayscale value. Then, compensation is performed on at least some of the sub-pixels. The selectable grayscale values are 16, 32, 64, 128, 192, and 224, that is, two values are selected from each of low grayscale, medium grayscale, and high grayscale to make the grayscale distribution uniform and ultimately achieve the best brightness compensation effect.
[0100] In summary, the brightness compensation of the display panel can be achieved through the above method; and when the current grayscale to be compensated is a low grayscale, the above design method can effectively solve the problem of under-compensation or over-compensation during low grayscale compensation in the prior art.
[0101] In a specific application scenario, for at least some sub-pixels in a display panel, at least two fitting lines are obtained based on multiple compensated grayscale values and corresponding ideal grayscale values of the current sub-pixel. The first fitting line is a nonlinear equation corresponding to the compensated grayscale value and the corresponding first ideal grayscale value, and the second fitting line is a linear equation corresponding to the compensated grayscale value and the corresponding second ideal grayscale value. A first grayscale compensation value corresponding to the current grayscale value to be compensated can be obtained from the first fitting line. The first grayscale compensation value is the difference between the first ideal grayscale value and the compensated grayscale value. A second grayscale compensation value corresponding to the current grayscale value to be compensated can be obtained from the second fitting line. The second grayscale compensation value is the difference between the second ideal grayscale value and the compensated grayscale value. Calculations are performed on the first and second grayscale compensation values, separating the first compensated background value and the first compensated characteristic value contained in the first grayscale compensation value. A first ideal luminance value corresponding to the current compensated grayscale value can be obtained based on a standard gamma curve. The first compensated background value is then determined based on the average of the first ideal luminance values. The second grayscale background value can also be obtained using this method. The first compensation characteristic value is the difference between the first grayscale compensation value and the first compensation background value. Similarly, the second compensation characteristic value can be obtained. The coordinates of the sub-pixels can be recorded, and the first compensation characteristic value and the second compensation characteristic value corresponding to the same coordinates can be compared. If both are positive or negative, the first compensation characteristic value and the second compensation characteristic value corresponding to the sub-pixel are retained. If the two characteristic values are different in sign, they are discarded. Then, the ratio calculation is performed for the first compensation characteristic value and the second compensation characteristic value that are both positive or negative, and the ratio range corresponding to the sub-pixels that meet the conditions is obtained. The ratio range is screened, and the ratio range with good compensation effect is selected by conducting experiments on the display panel, and the mean of the ratio range is obtained, and the mean is used as the grayscale compensation coefficient. The grayscale compensation coefficient is applied to the linear formula corresponding to the second fitting line. The target grayscale compensation value is the sum of the grayscale compensation background value associated with the second fitting line, the second compensation characteristic value, and the grayscale compensation coefficient. That is, offset = A1 + Gain * A2, where offset is the target grayscale compensation value, A1 is the second compensation background value, Gain is the grayscale compensation coefficient, and A2 is the second compensation characteristic value. During the compensation process, different grayscales to be compensated can be selected and their corresponding target grayscale compensation values calculated to achieve the best brightness compensation effect and eliminate mura on the display panel.
[0102] See also Figure 10 , Figure 10A schematic structural diagram of an embodiment of a display panel brightness compensation device of the present application. Furthermore, the present application also provides a display panel brightness compensation device 10, which includes an acquisition module 11, a processing module 12, and a compensation module 13. The acquisition module 11 is used to obtain at least two fitting lines based on multiple compensated grayscale values of a current sub-pixel and the corresponding ideal grayscale values. The processing module 12 is used to obtain grayscale compensation values corresponding to the current ideal grayscale value from the at least two fitting lines of the current sub-pixel, and process the grayscale compensation values to obtain a compensated background value and a compensated characteristic value. A grayscale compensation coefficient is determined based on the grayscale compensation values of at least some sub-pixels, and a target grayscale compensation value of the current sub-pixel at the current compensated grayscale value is determined based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel. The compensation module 13 is used to transmit the target grayscale compensation value to the sub-pixel for brightness compensation. Ultimately, by adjusting the grayscale, the display brightness of each sub-pixel is made more uniform, thereby improving mura.
[0103] Furthermore, the present application also provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the brightness compensation method for the display panel in the above embodiment is implemented.
[0104] In this application, the target grayscale compensation value of the current sub-pixel at the current compensated grayscale value is determined based on the grayscale compensation coefficient obtained by calculation and the grayscale compensation value of the current sub-pixel. This target grayscale compensation value is assigned to the corresponding display pixel, improving the display effect of the display panel and eliminating the problems of uneven brightness and display artifacts at low grayscales.
[0105] The above description is merely an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A brightness compensation method for a display panel, characterized in that: include: For at least some sub-pixels in the display panel, obtaining at least two fitting lines based on a plurality of compensated grayscale values of the sub-pixels and corresponding ideal grayscale values; Obtaining grayscale compensation values corresponding to the current grayscale value to be compensated from the at least two fitting lines of the current sub-pixel respectively; determining a grayscale compensation coefficient based on the grayscale compensation value of the at least part of the sub-pixels; determining a target grayscale compensation value of the current sub-pixel at a current grayscale value to be compensated based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel; Wherein, the step of determining a grayscale compensation coefficient based on the grayscale compensation value of at least part of the sub-pixels includes: determining a grayscale compensation background value based on the current grayscale compensation value; For the at least part of the sub-pixels, obtaining a corresponding grayscale compensation characteristic value from each grayscale compensation value of the current sub-pixel based on the grayscale compensation background value; determining the grayscale compensation coefficient based on the grayscale compensation characteristic value of the at least part of the sub-pixels; The step of determining the grayscale compensation coefficient based on the grayscale compensation characteristic values of at least part of the sub-pixels includes: For the at least some sub-pixels, in response to the multiple grayscale compensation characteristic values corresponding to the current sub-pixels being both positive or negative, determining a grayscale compensation ratio based on the multiple grayscale compensation characteristic values of the current sub-pixels; The grayscale compensation coefficient is determined based on a plurality of the grayscale compensation ratios.
2. The brightness compensation method according to claim 1, wherein: The grayscale compensation characteristic value is the difference between the grayscale compensation value and the grayscale compensation background value.
3. The brightness compensation method according to claim 1, wherein: The step of determining the grayscale compensation coefficient based on the plurality of grayscale compensation ratios comprises: screening the plurality of grayscale compensation ratios based on a preset screening condition; The grayscale compensation coefficient is determined based on the filtered plurality of grayscale compensation ratios.
4. The brightness compensation method according to claim 3, wherein: The step of determining the grayscale compensation coefficient based on the plurality of grayscale compensation ratios after screening includes: taking an average of the plurality of grayscale compensation ratios after screening as the grayscale compensation coefficient.
5. The brightness compensation method according to claim 4, characterized in that: The preset screening condition includes a preset range, and the step of screening the plurality of grayscale compensation ratios based on the preset screening condition includes: obtaining the plurality of grayscale compensation ratios within the preset range.
6. The brightness compensation method according to claim 1, wherein: The step of determining the grayscale compensation background value based on the current grayscale compensation value includes: Obtaining ideal brightness values corresponding to the plurality of sub-pixels at the current grayscale value to be compensated based on a standard gamma curve; The grayscale compensation background value is determined based on the average of the ideal brightness values.
7. The brightness compensation method according to claim 1, wherein: The step of obtaining at least two fitting lines based on the multiple compensated grayscale values of the current sub-pixel and the corresponding ideal grayscale values includes: Performing curve fitting on the multiple compensated grayscale values of the current sub-pixel and the corresponding ideal grayscale values to obtain a first fitting line; and A second fitting line is obtained by performing linear fitting based on the origin, the compensated grayscale value closest to the current grayscale value to be compensated, and the corresponding ideal grayscale value; wherein the compensated grayscale value and the ideal grayscale value of the origin are both 0.
8. The brightness compensation method according to claim 7, wherein: The step of determining the grayscale compensation ratio based on the multiple grayscale compensation characteristic values of the current sub-pixel comprises: The grayscale compensation characteristic values of the current sub-pixel respectively associated with the second fitting line and the first fitting line are obtained, and a ratio is calculated, and the ratio is used as the grayscale compensation ratio.
9. The brightness compensation method according to claim 7, wherein: The determining, based on the grayscale compensation coefficient and the grayscale compensation value of the current sub-pixel, a target grayscale compensation value of the current sub-pixel at the current compensated grayscale value comprises: Obtaining a product of a grayscale compensation characteristic value associated with the second fitting line and the grayscale compensation coefficient; A sum of a grayscale compensation background value associated with the second fitting line and the product is obtained, and the sum is used as the target grayscale compensation value.
10. The brightness compensation method according to claim 9, wherein: The target grayscale compensation value is within the range of ±15 grayscales.
11. A brightness compensation device for a display panel, characterized in that: The brightness compensation method according to any one of claims 1 to 10 is adopted, wherein the device comprises: an acquisition module, configured to obtain at least two fitting lines based on a plurality of compensated grayscale values of a current sub-pixel and corresponding ideal grayscale values; a processing module for obtaining grayscale compensation values corresponding to a current ideal grayscale value from at least two fitting lines of the current sub-pixel, determining a grayscale compensation coefficient based on the grayscale compensation values of at least some of the sub-pixels, and determining a target grayscale compensation value of the current sub-pixel at the current compensated grayscale value based on the grayscale compensation coefficient and the current grayscale compensation value of the sub-pixel; The compensation module is used to transmit the target grayscale compensation value to the sub-pixel for brightness compensation.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the brightness compensation method for a display panel according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Gray scale compensation calculation method and device and display device
CN111276089A
Display screen optical external compensation method and device and storage medium
CN112562576A