A brightness compensation method, device and electronic device for a display panel
By calculating the brightness compensation coefficient and area compensation coefficient of the display panel, the problem of uneven brightness of the OLED display panel at different brightness is solved, and the brightness uniformity is improved and the display effect is improved.
Patent Information
- Application Number
- CN202211474796.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-11-23
AI Technical Summary
How to improve the brightness uniformity of OLED display panels at different brightness, especially in high brightness and low brightness states, to avoid uneven brightness.
By obtaining the current set brightness value of the display panel as the target brightness value, the screen brightness compensation coefficient is calculated using the predetermined correspondence relationship, and the target area brightness compensation coefficient of each display area is determined based on the first and second area brightness compensation coefficients of the display area, combined with the target screen brightness compensation coefficient, and then the brightness is compensated.
Improves the brightness uniformity of the display panel at different brightnesses and improves the overall uniformity of picture quality.
Smart Images

Figure CN115731864B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of OLED driving, and particularly to a method, device and electronic device for brightness compensation of a display panel. Background Art
[0002] With the increase in the market share of OLED (Organic Light-Emitting Diode) products, consumers have higher and higher requirements for the picture quality of OLED display screens. In the design process of the display panel, it is necessary to ensure the picture quality of the middle brightness gray level, and at the same time, it is also necessary to ensure the picture quality of the high brightness gray level and the low brightness gray level. The launch range uniformity (LRU) is the evaluation standard for the picture quality of the display panel at different brightness levels. Therefore, higher indicators are proposed for the evaluation of the brightness uniformity of the display panel.
[0003] How to improve the brightness uniformity of the display panel at different brightness levels has become an important problem to be solved. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a method, device and electronic device for brightness compensation of a display panel to improve the brightness uniformity of the display panel at different brightness levels. The specific technical solutions are as follows:
[0005] In a first aspect, the embodiments of the present application provide a method for brightness compensation of a display panel, the method comprising:
[0006] Obtaining the current set brightness value of the display panel as the target brightness value;
[0007] Determining the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence relationship to obtain the target screen brightness compensation coefficient, wherein the first correspondence relationship is the correspondence relationship between the set brightness value of the display panel and the screen brightness compensation coefficient;
[0008] Determining a first area brightness compensation coefficient and a second area brightness compensation coefficient for each display area in the display panel according to the target brightness value, wherein the display panel comprises a plurality of display areas;
[0009] For each display area in the display panel, determining the target area brightness compensation coefficient of the display area according to the first area brightness compensation coefficient, the second area brightness compensation coefficient and the target screen brightness compensation coefficient of the display area;
[0010] For each display area in the display panel, compensating the brightness of the display area according to the target area brightness compensation coefficient of the display area.
[0011] In a possible implementation, the first correspondence includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is the correspondence between the set brightness value in the first brightness value range and the screen brightness compensation coefficient, and the second brightness compensation curve is the correspondence between the set brightness value in the second brightness value range and the screen brightness compensation coefficient. The first brightness value range starts from the minimum set brightness value of the display panel and ends at the inversion brightness value of the display panel, and the second brightness value range starts from the inversion brightness value of the display panel and ends at the maximum set brightness value of the display panel.
[0012] In a possible implementation, the first correspondence is obtained by the following method:
[0013] Obtain the inversion brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the inversion brightness value is less than a preset error threshold;
[0014] Obtain a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value;
[0015] Calculate a first screen brightness compensation coefficient according to the brightness value far from the chip end and the brightness value close to the chip end in the first grayscale image; calculate a second screen brightness compensation coefficient according to the brightness value far from the chip end and the brightness value close to the chip end in the second grayscale image;
[0016] Obtain a first brightness compensation curve by interpolation according to the inversion brightness value and the first screen brightness compensation coefficient; obtain a second brightness compensation curve by interpolation according to the inversion brightness value and the second screen brightness compensation coefficient.
[0017] In a possible implementation, determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of each display region in the display panel according to the target brightness value includes:
[0018] Determine the brightness value range to which the target brightness value belongs in the first brightness value range and the second brightness value range;
[0019] When the target brightness value belongs to the first brightness value range, obtain the second correspondence relationship of the inverted brightness value and the second correspondence relationship of the minimum brightness value, where the second correspondence relationship of the inverted brightness value is the correspondence relationship between each display area of the display panel at the inverted brightness value and the regional brightness compensation coefficient, and the second correspondence relationship of the minimum brightness value is the correspondence relationship between each display area of the display panel at the minimum brightness value and the regional brightness compensation coefficient;
[0020] According to the second correspondence relationship of the minimum brightness value, respectively determine the first regional brightness compensation coefficient of each display area in the display panel; according to the second correspondence relationship of the inverted brightness value, respectively determine the second regional brightness compensation coefficient of each display area in the display panel;
[0021] When the target brightness value belongs to the second brightness value range, obtain the second correspondence relationship of the inverted brightness value and the second correspondence relationship of the maximum brightness value, where the second correspondence relationship of the maximum brightness value is the correspondence relationship between each display area of the display panel at the maximum brightness value and the regional brightness compensation coefficient;
[0022] According to the second correspondence relationship of the maximum brightness value, respectively determine the first regional brightness compensation coefficient of each display area in the display panel; according to the second correspondence relationship of the inverted brightness value, respectively determine the second regional brightness compensation coefficient of each display area in the display panel.
[0023] In a possible implementation manner, the step of respectively determining the first regional brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the minimum brightness value, and respectively determining the second regional brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the inverted brightness value includes:
[0024] For each display area in the display panel, use the regional brightness compensation coefficient corresponding to this display area in the second correspondence relationship of the minimum brightness value as the first regional brightness compensation coefficient of this display area;
[0025] For each display area in the display panel, use the regional brightness compensation coefficient corresponding to this display area in the second correspondence relationship of the inverted brightness value as the second regional brightness compensation coefficient of this display area.
[0026] In a possible implementation manner, the step of obtaining the inverted brightness value of the display panel includes:
[0027] Obtain the grayscale images of the display panel at multiple set brightness values;
[0028] Perform brightness analysis on each of the grayscale images, and select the grayscale image with the smallest picture brightness error from the grayscale images whose picture brightness error is less than the preset error threshold to obtain a third grayscale image;
[0029] Obtain the set brightness value of the third grayscale image as the inversion brightness value.
[0030] In a possible implementation manner, the second correspondence of the inversion brightness value is obtained through the following method:
[0031] Obtain the grayscale image of the display panel at the inversion brightness value to obtain a third grayscale image;
[0032] For each display area in the display panel, determine the area brightness compensation coefficient of the display area at the inversion brightness value according to the image brightness value corresponding to the display area in the third grayscale image, where, at the inversion brightness value, after each display area is compensated by its own area brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same.
[0033] In a possible implementation manner, for each display area in the display panel, compensating the brightness of the display area according to the target area brightness compensation coefficient of the display area includes:
[0034] For each display area in the display panel, compensate the gamma voltage of the display area according to the target area brightness compensation coefficient of the display area.
[0035] In a possible implementation manner, after obtaining the current set brightness value of the display panel as the target brightness value, the method further includes:
[0036] Determine whether the target brightness value is one of the minimum brightness value, the maximum brightness value, and the inversion brightness value;
[0037] If so, obtain the second correspondence of the target brightness value to obtain the target area brightness compensation coefficients of the display areas;
[0038] If not, trigger the execution of the step: determine the screen brightness compensation coefficient corresponding to the target brightness value according to the pre-determined first correspondence to obtain the target screen brightness compensation coefficient.
[0039] In a second aspect, an embodiment of the present application provides a brightness compensation device for a display panel, and the device includes:
[0040] An acquisition module, configured to acquire the current set brightness value of the display panel as the target brightness value;
[0041] A first determination module, configured to determine a screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence relationship, so as to obtain a target screen brightness compensation coefficient, where the first correspondence relationship is a correspondence relationship between the set brightness value of the display panel and the screen brightness compensation coefficient;
[0042] A second determination module, configured to determine a first regional brightness compensation coefficient and a second regional brightness compensation coefficient for each display region in the display panel according to the target brightness value, where the display panel includes a plurality of display regions;
[0043] A calculation module, configured to determine a target regional brightness compensation coefficient for each display region in the display panel according to the first regional brightness compensation coefficient, the second regional brightness compensation coefficient, and the target screen brightness compensation coefficient of the display region;
[0044] A compensation module, configured to compensate the brightness of each display region in the display panel according to the target regional brightness compensation coefficient of the display region.
[0045] In a possible implementation manner, the first correspondence relationship includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is a correspondence relationship between the set brightness value in the first brightness value interval and the screen brightness compensation coefficient, and the second brightness compensation curve is a correspondence relationship between the set brightness value in the second brightness value interval and the screen brightness compensation coefficient; the first brightness value interval starts from the minimum set brightness value of the display panel to the inversion brightness value of the display panel, and the second brightness value interval starts from the inversion brightness value of the display panel to the maximum set brightness value of the display panel.
[0046] In a possible implementation manner, the device further includes a first relationship determination module, and the first relationship determination module includes:
[0047] A first acquisition sub-module, configured to acquire the inversion brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the inversion brightness value is less than a preset error threshold;
[0048] A second acquisition sub-module, configured to acquire a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value;
[0049] The first calculation sub-module is used to calculate a first screen brightness compensation coefficient according to the brightness value far from the chip end in the first grayscale image and the brightness value close to the chip end in the first grayscale image; calculate a second screen brightness compensation coefficient according to the brightness value far from the chip end in the second grayscale image and the brightness value close to the chip end in the second grayscale image.
[0050] The second calculation sub-module is used to obtain a first brightness compensation curve by interpolation according to the inverted brightness value and the first screen brightness compensation coefficient; obtain a second brightness compensation curve by interpolation according to the inverted brightness value and the second screen brightness compensation coefficient.
[0051] In a possible implementation manner, the second determination module includes:
[0052] An interval determination sub-module is used to determine the brightness value interval to which the target brightness value belongs in the first brightness value interval and the second brightness value interval;
[0053] A first brightness determination sub-module is used to obtain a second correspondence relationship of the inverted brightness value and a second correspondence relationship of the minimum brightness value when the target brightness value belongs to the first brightness value interval, where the second correspondence relationship of the inverted brightness value is the correspondence relationship between each display area of the display panel at the inverted brightness value and the area brightness compensation coefficient, and the second correspondence relationship of the minimum brightness value is the correspondence relationship between each display area of the display panel at the minimum brightness value and the area brightness compensation coefficient;
[0054] A first brightness compensation coefficient determination sub-module is used to respectively determine a first area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the minimum brightness value; respectively determine a second area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the inverted brightness value;
[0055] A second brightness determination sub-module is used to obtain a second correspondence relationship of the inverted brightness value and a second correspondence relationship of the maximum brightness value when the target brightness value belongs to the second brightness value interval, where the second correspondence relationship of the maximum brightness value is the correspondence relationship between each display area of the display panel at the maximum brightness value and the area brightness compensation coefficient;
[0056] A second brightness compensation coefficient determination sub-module is used to respectively determine a first area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the maximum brightness value; respectively determine a second area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the inverted brightness value.
[0057] In a possible implementation manner, the first brightness compensation coefficient determination sub-module is specifically configured to: for each display area in the display panel, use the area brightness compensation coefficient corresponding to the display area in the second correspondence relationship of the minimum brightness value as the first area brightness compensation coefficient of the display area; for each display area in the display panel, use the area brightness compensation coefficient corresponding to the display area in the second correspondence relationship of the inverted brightness value as the second area brightness compensation coefficient of the display area.
[0058] In a possible implementation manner, the first acquisition sub-module is specifically configured to: acquire grayscale images of the display panel at multiple set brightness values; perform brightness analysis on each of the grayscale images, and select the grayscale image with the smallest picture brightness error from the grayscale images with a picture brightness error less than a preset error threshold to obtain a third grayscale image; acquire the set brightness value of the third grayscale image as the inverted brightness value.
[0059] In a possible implementation manner, the device further includes a second correspondence relationship determination module, and the second correspondence relationship determination module includes:
[0060] A third grayscale image determination sub-module, configured to acquire a grayscale image of the display panel at the inverted brightness value to obtain a third grayscale image;
[0061] An adjustment sub-module, configured to, for each display area in the display panel, determine the area brightness compensation coefficient of the display area at the inverted brightness value according to the image brightness value corresponding to the display area in the third grayscale image, where, at the inverted brightness value, after each display area is compensated by its own area brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same.
[0062] In a possible implementation manner, the compensation module is specifically configured to, for each display area in the display panel, compensate the gamma voltage of the display area according to the target area brightness compensation coefficient of the display area.
[0063] In a possible implementation manner, the device further includes:
[0064] An interpretation module, configured to interpret whether the target brightness value is one of the minimum brightness value, the maximum brightness value, and the inverted brightness value;
[0065] An acquisition module, configured to, if so, acquire the second correspondence relationship of the target brightness value to obtain the target area brightness compensation coefficients of the display areas;
[0066] A trigger module, which is used, if not, to trigger the execution of the following steps: determining a screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence to obtain a target screen brightness compensation coefficient.
[0067] In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus;
[0068] The memory is used to store a computer program;
[0069] The processor is used to implement the steps of the brightness compensation method of the display panel described in any one of the above first aspects when executing the program stored on the memory.
[0070] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the brightness compensation method of the display panel described in any one of the above first aspects are implemented.
[0071] Beneficial effects of the embodiments of the present application:
[0072] A brightness compensation method, device, and electronic device for a display panel provided by an embodiment of the present application. The method includes: obtaining a currently set brightness value of the display panel as a target brightness value; determining a screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence to obtain a target screen brightness compensation coefficient, where the first correspondence is a correspondence between the set brightness value of the display panel and the screen brightness compensation coefficient; determining a first area brightness compensation coefficient and a second area brightness compensation coefficient for each display area in the display panel according to the target brightness value, where the display panel includes multiple display areas; for each display area in the display panel, determining a target area brightness compensation coefficient for the display area according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of the display area; for each display area in the display panel, compensating the brightness of the display area according to the target area brightness compensation coefficient of the display area. According to the first correspondence, a target screen brightness compensation coefficient is obtained. According to the target brightness value, a first area brightness compensation coefficient and a second area brightness compensation coefficient for each display area in the display panel are determined. Then, according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of each display area, the target area brightness compensation coefficient of the display area is determined. According to the target area brightness compensation coefficient of each display area, the brightness of the display area is compensated. By compensating the brightness of each display area at different brightness levels, the brightness uniformity of the display panel at different brightness levels can be improved.
[0073] Of course, it is not necessary for any product or method implementing the present application to achieve all of the above advantages simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other embodiments based on these drawings.
[0075] Figure 1 Schematic diagram of the brightness trend of the display panel corresponding to high brightness and low brightness in the embodiment of the present application;
[0076] Figure 2 Schematic diagram of a brightness compensation method for the display panel in the embodiment of the present application;
[0077] Figure 3 Schematic diagram of the display panel area division of the brightness compensation method for the display panel in the embodiment of the present application;
[0078] Figure 4 Schematic diagram of the first correspondence of the brightness compensation method for the display panel in the embodiment of the present application;
[0079] Figure 5 Schematic diagram of a possible implementation manner of step S13 in the brightness compensation method for the display panel in the embodiment of the present application;
[0080] Figure 6 Schematic diagram of the second correspondence in the brightness compensation method for the display panel in the embodiment of the present application;
[0081] Figure 7 Logic diagram of the brightness compensation method for the display panel in the embodiment of the present application;
[0082] FIG. 8(a) is an improvement effect diagram of the brightness compensation method for the display panel in the embodiment of the present application at 500 nit;
[0083] FIG. 8(b) is an improvement effect diagram of the brightness compensation method for the display panel in the embodiment of the present application at 2 nit;
[0084] Figure 9 Schematic diagram of a brightness compensation device for the display panel in the embodiment of the present application;
[0085] Figure 10 Schematic diagram of an electronic device in the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0086] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art based on the present application belong to the scope of protection of the present application.
[0087] For a display panel, in a high-brightness state, taking 500 nits (nits) as an example, since the cross-sectional area of the power supply traces inside the OLED display panel is usually relatively small, according to the relationship between impedance and cross-sectional area, when the cross-sectional area of the traces is small, the impedance will increase. When the display panel is lit, there is a voltage drop (IR-drop) from the proximal end to the distal end of the input for the ELVDD (power signal), resulting in a decrease in the brightness of the display panel. When the current of the ELVDD is large, the voltage amplitude change of the ELVDD caused by the impedance of the power supply traces is also large, thereby causing uneven brightness of the entire display panel, resulting in poor brightness uniformity of the display panel. In this case, referring to Figure 1 , the display panel specifically shows a trend that the end close to the IC (integrated circuit) is brighter and the end far from the IC is darker.
[0088] In a low-brightness state, taking 2 nits as an example, when both the resolution and refresh rate of the display panel increase, the charging time of each row of GOA (Gate Driver On Array) inside the OLED display panel will decrease. Due to the influence of the RC circuit (resistor-capacitor circuit) inside the display panel, the GOA timing is severely delayed at the end far from the IC inside the display panel, and the waveform hardly delays at the end close to the IC, resulting in a large difference in the waveforms of the GOA timing at the end close to the IC and the end far from the IC, causing a large difference in the charging of the pixel driving circuits at the end close to the IC and the end far from the IC in the pixel area. In this case, referring to Figure 1 , the display panel specifically shows a trend that the end close to the IC (integrated circuit) is darker and the end far from the IC is brighter, thereby causing uneven brightness of the entire display panel, resulting in poor brightness uniformity of the display panel, and further affecting the uniformity of the overall image quality.
[0089] In order to improve the brightness uniformity of the display panel at different brightness levels, the embodiments of the present application provide a brightness compensation method for a display panel, referring to Figure 2 , the method includes:
[0090] S11, obtaining the current set brightness value of the display panel as the target brightness value.
[0091] The brightness compensation method of the display panel according to the embodiments of the present application can be applied to an OLED display panel. The current set brightness value of the display panel can be used as the target brightness value. The set brightness value refers to the screen brightness of the display panel manually set, or the screen brightness automatically set by the display panel according to a preset brightness algorithm. The value of the target brightness value is usually between the minimum brightness value and the maximum brightness value of the display panel. In one example, the maximum brightness value of the display panel is 500 nit, and the minimum brightness value is 2 nit. Then the target brightness value can be 80 nit, or 300 nit, etc.
[0092] S12. According to a pre-determined first correspondence, determine the screen brightness compensation coefficient corresponding to the target brightness value to obtain the target screen brightness compensation coefficient, where the first correspondence is the correspondence between the set brightness value of the display panel and the screen brightness compensation coefficient.
[0093] The first correspondence is the correspondence between the set brightness value of the display panel and the screen brightness compensation coefficient. The specific acquisition method of the first correspondence will be described in detail below. Based on the first correspondence, when the target brightness value is known, the screen brightness compensation coefficient corresponding to the target brightness value can be determined. For example, when the target brightness is 300 nit, the screen brightness compensation coefficient is 0.87; when the target brightness is 80 nit, the screen brightness compensation coefficient is 0.77.
[0094] S13. According to the target brightness value, determine the first regional brightness compensation coefficient and the second regional brightness compensation coefficient for each display region in the display panel, where the display panel includes multiple display regions.
[0095] The display panel is divided into multiple display regions in the horizontal and vertical directions. Each display region is a basic brightness compensation unit. The division method of the display regions can be customized according to the actual situation. In one example, see Figure 3 that the display panel is divided into 64 regions in both the horizontal and vertical directions, and the total number of regions is: 64 × 64 = 4096.
[0096] The method for determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient for each display region in the display panel according to the target brightness value will be described in detail below.
[0097] S14. For each display region in the display panel, according to the first regional brightness compensation coefficient, the second regional brightness compensation coefficient, and the target screen brightness compensation coefficient of the display region, determine the target regional brightness compensation coefficient of the display region.
[0098] For each display area in the display panel, according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of the display area, use the formula to determine the target area brightness compensation coefficient of the display area. Assume that the first area brightness compensation coefficient is K1, the second area brightness compensation coefficient is K2, the target screen brightness compensation coefficient is M, and the target area brightness compensation coefficient is P. Then, P = M×K1 + N×K2, where N is an auxiliary parameter. In one example, N = M - 1. In the actual application process, N can also be the average value of the target screen brightness compensation coefficients of a certain number of display panels randomly selected from the same batch of display panels.
[0099] To determine the target area brightness compensation coefficient of the display area, it is necessary to obtain not only the first area brightness compensation coefficient and the second area brightness compensation coefficient of the display area, but also the target screen brightness compensation coefficient, and perform compensation from two dimensions of area and brightness. That is, the final target area brightness compensation coefficient is a value in a two-dimensional direction.
[0100] S15. For each display area in the display panel, compensate the brightness of the display area according to the target area brightness compensation coefficient of the display area.
[0101] Compensate the brightness of each display area according to the target area brightness compensation coefficient of each display area.
[0102] In the embodiment of the present application, according to the first correspondence, obtain the target screen brightness compensation coefficient, determine the first area brightness compensation coefficient and the second area brightness compensation coefficient of each display area in the display panel according to the target brightness value, and then according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of each display area, determine the target area brightness compensation coefficient of the display area, and compensate the brightness of the display area according to the target area brightness compensation coefficient of each display area. By compensating the brightness of each display area at different brightness levels, the brightness uniformity of the display panel at different brightness levels can be improved.
[0103] In a possible implementation manner, the first correspondence includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is the correspondence between the set brightness value in the first brightness value interval and the screen brightness compensation coefficient, and the second brightness compensation curve is the correspondence between the set brightness value in the second brightness value interval and the screen brightness compensation coefficient; the first brightness value interval starts from the minimum set brightness value of the display panel and ends at the inversion brightness value of the display panel, and the second brightness value interval starts from the inversion brightness value of the display panel and ends at the maximum set brightness value of the display panel.
[0104] The minimum set brightness value is the lowest screen brightness that can be displayed on the display panel, which is determined according to the actual model of the display panel. For example, it can be 2 nits or 4 nits, etc. The maximum set brightness value is the highest screen brightness that can be displayed on the display panel, which is determined according to the actual model of the display panel. For example, it can be 500 nits, 600 nits or 800 nits, etc. The reverse brightness value refers to the screen brightness value at which the brightness difference between the near drive circuit end and the far drive circuit end starts to reverse. Generally, based on the actual characteristics of the display panel, the interval span of the first brightness value interval is smaller than the interval span of the second brightness value interval. In an example, the absolute value of the slope of the first brightness compensation curve is greater than the absolute value of the slope of the second brightness compensation curve, and the slope of the first brightness compensation curve is greater than 0, while the slope of the second brightness compensation curve is less than 0.
[0105] In an example, referring to Figure 4 , the first correspondence includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is the correspondence between the set brightness value in the first brightness value interval (2 nits - 100 nits) and the screen brightness compensation coefficient. The second brightness compensation curve is the correspondence between the set brightness value in the second brightness value interval (100 nits - 500 nits) and the screen brightness compensation coefficient. 2 nits in the figure is the minimum set brightness value, 500 nits is the maximum set brightness value, and 100 nits is the reverse brightness value. From Figure 4 it can be seen that the first brightness compensation curve and the second brightness compensation curve are curves with opposite trends, that is, interpolation with opposite trends is performed between different brightnesses.
[0106] In the embodiment of the present application, according to the correspondence between the minimum set brightness value, the reverse brightness value, the maximum set brightness value and the screen brightness compensation coefficient, the correspondence between the set brightness value in the first brightness value interval and the screen brightness compensation coefficient and the correspondence between the set brightness value in the second brightness value interval and the screen brightness compensation coefficient are obtained, and then the first correspondence including the first brightness compensation curve and the second brightness compensation curve is obtained.
[0107] In a possible implementation manner, the first correspondence is obtained through the following method:
[0108] Obtain the reverse brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the reverse brightness value is less than a preset error threshold;
[0109] Obtain a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value;
[0110] Calculate a first screen brightness compensation coefficient based on the brightness value far from the chip end in the first grayscale image and the brightness value close to the chip end in the first grayscale image; calculate a second screen brightness compensation coefficient based on the brightness value far from the chip end in the second grayscale image and the brightness value close to the chip end in the second grayscale image.
[0111] Obtain a first brightness compensation curve by interpolation based on the inverted brightness value and the first screen brightness compensation coefficient; obtain a second brightness compensation curve by interpolation based on the inverted brightness value and the second screen brightness compensation coefficient.
[0112] The picture brightness error of the grayscale image displayed by the display panel at the inverted brightness value is less than a preset error threshold, and the brightness of the grayscale image of the display panel is uniform at the inverted brightness value. Figure 4 Taking it as an example for explanation, at a brightness value of 500 nit, one end of the display panel close to the IC is brighter and the end far from the IC is darker; at a brightness value of 2 nit, one end of the display panel close to the IC is darker and the end far from the IC is brighter; at a brightness value of 100 nit, the picture brightness error between the end close to the IC and the end far from the IC is smaller (the brightness is uniform). Then, 100 nit is determined as the inverted brightness value, that is, the brightness value at which the picture brightness of the end of the display panel close to the IC and the end far from the IC is inverted is determined as the inverted brightness value. Usually, the inverted brightness value of the display panel is determined by an experimental method. The preset error threshold can be set by itself according to the brightness situation of the display panel. Usually, the preset error threshold is a relatively small value. For example, the preset error threshold is 1%.
[0113] Obtain a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value by taking pictures. The minimum brightness value and the maximum brightness value are related to the process of the display panel itself. In one example, the minimum brightness value is 2 nit and the maximum brightness value is 500 nit; or, the minimum brightness value is 4 nit and the maximum brightness value is 506 nit.
[0114] Calculate the first screen brightness compensation coefficient based on the brightness value far from the chip end and the brightness value near the chip end in the first grayscale image. In one example, taking 2 nits as an example, the brightness value far from the chip end in the first grayscale image is 3 times the brightness value near the chip end, so the first screen brightness compensation coefficient at 2 nits is 1 / 3. Calculate the second screen brightness compensation coefficient based on the brightness value far from the chip end and the brightness value near the chip end in the second grayscale image. In one example, taking 500 nits as an example, the brightness value near the chip end in the second grayscale image is 1.2 times the brightness value far from the chip end, so the second screen brightness compensation coefficient at 500 nits is 1 / 1.2. The first screen brightness compensation coefficient and the second screen brightness compensation coefficient in the embodiments of the present application perform brightness compensation on the end with a high brightness value. Therefore, both the first screen brightness compensation coefficient and the second screen brightness compensation coefficient are less than 1.
[0115] Since the picture brightness error of the grayscale image displayed by the display panel at the inverted brightness value is less than the preset error threshold, the brightness of the grayscale image of the display panel is uniform at the inverted brightness value. The screen brightness compensation coefficient of the display panel at the inverted brightness value can be set to 1. According to the inverted brightness value and the first screen brightness compensation coefficient, obtain the first brightness compensation curve by interpolation; according to the inverted brightness value and the second screen brightness compensation coefficient, obtain the second brightness compensation curve by interpolation. In one example, taking the calculation of the second brightness compensation curve as an example for illustration: the screen brightness compensation coefficient at the inverted brightness value of 100 nits is 1, and the second screen brightness compensation coefficient at 500 nits is 1 / 1.2. Let the screen brightness compensation coefficient be y and the brightness value be x. According to the principle that two points determine a straight line, the expression of the second brightness compensation curve obtained by interpolation is: y = -1 / 2400x + 25 / 24. Then, when x = 300 nits, the corresponding screen brightness compensation coefficient y = 7 / 8. That is, the brightness of the end far from the IC is 7 / 8 of the brightness of the end near the IC. Therefore, the brightness of the end near the IC needs to be adjusted to 7 / 8 of the original, and the screen brightness of the end far from the IC does not need to be adjusted. The calculation of the first brightness compensation curve can refer to the above method and will not be elaborated here.
[0116] The difference method in the embodiments of the present application can adopt linear interpolation or other interpolation methods. The present application does not limit the specific calculation method adopted.
[0117] In the embodiments of the present application, by first determining the screen brightness compensation coefficients of the display panel at the minimum brightness value, the inverted brightness value, and the maximum brightness value, and then using interpolation to calculate the screen brightness compensation coefficients corresponding to all set brightness values within the range from the minimum brightness value to the maximum brightness value, the first corresponding relationship is obtained through the obtained first brightness compensation curve and the first brightness compensation curve.
[0118] In a possible implementation, referring to Figure 5 , the above S13 includes:
[0119] S131. In the first luminance value range and the second luminance value range, determine the luminance value range to which the target luminance value belongs.
[0120] Determine the luminance value range to which the target luminance value belongs according to the target luminance value. For example, the first luminance value range is 2 nit - 100 nit, and the second luminance value range is 100 nit - 500 nit. When the target luminance value is 80 nit, it belongs to the first luminance value range, and when the target luminance value is 300 nit, it belongs to the second luminance value range.
[0121] S132. When the target luminance value belongs to the first luminance value range, obtain the second correspondence of the inverted luminance value and the second correspondence of the minimum luminance value, where the second correspondence of the inverted luminance value is the correspondence between each display area of the display panel and the regional luminance compensation coefficient at the inverted luminance value, and the second correspondence of the minimum luminance value is the correspondence between each display area of the display panel and the regional luminance compensation coefficient at the minimum luminance value.
[0122] The second correspondence is the correspondence between each display area and the regional luminance compensation coefficient at different luminance values. The method for obtaining the second correspondence will be described in detail later. Referring to Figure 6 , at different luminance values, each display area corresponds to a regional luminance compensation coefficient. The second correspondence of the minimum luminance value, the second correspondence of the inverted luminance value, and the second correspondence of the maximum luminance value are the correspondences between each display area and the regional luminance compensation coefficient obtained in advance by means of photographing. For example, at the minimum luminance value, the regional luminance compensation coefficient corresponding to display area 0 of the display panel is A(0), and at the inverted luminance value, the regional luminance compensation coefficient corresponding to display area 1 of the display panel is B(1). Figure 6 The display panel is divided into 4096 (64×64) areas in
[0123] When the target luminance value belongs to the first luminance value range, it is necessary to obtain the second correspondences of the two end values in the first luminance value range, that is, the second correspondence of the inverted luminance value and the second correspondence of the minimum luminance value.
[0124] S133. According to the second correspondence of the minimum luminance value, respectively determine the first regional luminance compensation coefficient of each display area in the display panel; according to the second correspondence of the inverted luminance value, respectively determine the second regional luminance compensation coefficient of each display area in the display panel.
[0125] In one example, refer to Figure 6 When the target brightness value is 80 nit, the method for determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of display area 2 at 80 nit brightness value is as follows: According to the second correspondence of the minimum brightness value (2 nit), determine that the first regional brightness compensation coefficient K1 = A(2) in display area 2; according to the second correspondence of the inverted brightness value (100 nit), determine that the second regional brightness compensation coefficient K2 = B(2) in display area 2.
[0126] S134. When the target brightness value belongs to the second brightness value interval, obtain the second correspondence of the inverted brightness value and the second correspondence of the maximum brightness value, where the second correspondence of the maximum brightness value is the correspondence between each display area of the display panel at the maximum brightness value and the regional brightness compensation coefficient.
[0127] When the target brightness value belongs to the second brightness value interval, it is necessary to obtain the second correspondences of the two endpoint values in the second brightness value interval, that is, the second correspondence of the inverted brightness value and the second correspondence of the maximum brightness value. The specific method is the same as the method applied in the case where the target brightness value belongs to the first brightness value interval.
[0128] S135. According to the second correspondence of the maximum brightness value, respectively determine the first regional brightness compensation coefficient of each display area in the display panel; according to the second correspondence of the inverted brightness value, respectively determine the second regional brightness compensation coefficient of each display area in the display panel.
[0129] In one example, refer to Figure 6 When the target brightness value is 300 nit, the method for determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of display area 2 at 300 nit brightness value is as follows: According to the second correspondence of the maximum brightness value (500 nit), determine that the first regional brightness compensation coefficient K1 = C(2) in display area 2; according to the second correspondence of the inverted brightness value (100 nit), determine that the second regional brightness compensation coefficient K2 = B(2) in display area 2.
[0130] In the embodiments of the present application, according to the brightness value interval to which the target brightness value belongs and the second correspondence, the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of each display area in the display panel can be determined.
[0131] In a possible implementation manner, according to the second correspondence relationship of the minimum brightness value, respectively determine the first regional brightness compensation coefficient of each display region in the display panel; according to the second correspondence relationship of the inverted brightness value, respectively determine the second regional brightness compensation coefficient of each display region in the display panel, including:
[0132] For each display region in the display panel, use the regional brightness compensation coefficient corresponding to this display region in the second correspondence relationship of the minimum brightness value as the first regional brightness compensation coefficient of this display region;
[0133] For each display region in the display panel, use the regional brightness compensation coefficient corresponding to this display region in the second correspondence relationship of the inverted brightness value as the second regional brightness compensation coefficient of this display region.
[0134] The methods for determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient in the embodiments of the present application have been described in detail in the above embodiments, and will not be elaborated here.
[0135] In a possible implementation manner, the obtaining of the inverted brightness value of the display panel includes:
[0136] Obtain the grayscale images of the display panel at multiple set brightness values;
[0137] Perform brightness analysis on each of the grayscale images, and select the grayscale image with the smallest picture brightness error from the grayscale images with a picture brightness error less than a preset error threshold to obtain a third grayscale image;
[0138] Obtain the set brightness value of the third grayscale image as the inverted brightness value.
[0139] Obtain the grayscale images of the display panel at multiple set brightness values by taking pictures, perform brightness analysis on each of the grayscale images, select the grayscale image with the smallest picture brightness error from the grayscale images with a picture brightness error less than a preset error threshold as the third grayscale image, and use the set brightness value of the third grayscale image as the inverted brightness value. The embodiments of the present application are to select an image with uniform brightness of the grayscale image, and then determine the inverted brightness value. The above embodiments are described by taking 100 nit as an example, and the specific inverted brightness value is subject to the actual test results.
[0140] In the embodiments of the present application, by selecting an image with uniform brightness of the grayscale image, the inverted brightness value can be determined.
[0141] In a possible implementation manner, the second correspondence relationship of the inverted brightness value is obtained through the following method:
[0142] Obtain the grayscale image of the display panel at the inverted brightness value to obtain a third grayscale image;
[0143] For each display area in the display panel, determine the area brightness compensation coefficient of the display area at the inverted brightness value according to the image brightness value corresponding to the display area in the third grayscale image, where, at the inverted brightness value, after each of the display areas is compensated by its own area brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same.
[0144] Theoretically, the third grayscale image obtained by the display panel at the inverted brightness value is an image with uniform brightness. However, due to the influence of the manufacturing process, there are still slight differences in the brightness values of each area. By adjusting the brightness values of each area so that the image brightness values of the displayed grayscale images are the same, the adjusted coefficient is used as the area brightness compensation coefficient of the display area at the inverted brightness value. For each display area in the display panel, the method for determining the area brightness compensation coefficient of the display area at the inverted brightness value is: at the inverted brightness value, after each display area is compensated by its own area brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same, and the area brightness compensation coefficient corresponding to each display area is used as the area brightness compensation coefficient of the display area at the inverted brightness value.
[0145] In the embodiment of the present application, after each display area is compensated by its own area brightness compensation coefficient, the adjusted area brightness compensation coefficient is used as the area brightness compensation coefficient of the display area at the inverted brightness value.
[0146] In a possible implementation manner, the step of, for each display area in the display panel, compensating the brightness of the display area according to the target area brightness compensation coefficient of the display area includes:
[0147] For each display area in the display panel, compensate the gamma voltage of the display area according to the target area brightness compensation coefficient of the display area.
[0148] The gray scale of the display panel is achieved by adjusting the gamma voltage. In the embodiment of the present application, for each display area in the display panel, the gamma voltage of the display area is compensated according to the target area brightness compensation coefficient of the display area, so as to achieve the effect of adjusting the gray scale, and further realize the brightness adjustment of the display panel.
[0149] In a possible implementation manner, after obtaining the current set brightness value of the display panel as the target brightness value, the method further includes:
[0150] Determine whether the target brightness value is one of the minimum brightness value, the maximum brightness value, and the inverted brightness value;
[0151] If so, obtain the second correspondence of the target brightness value to obtain the target area brightness compensation coefficients of the display areas;
[0152] If not, trigger the execution of the step: determine the screen brightness compensation coefficient corresponding to the target brightness value according to the pre-determined first correspondence to obtain the target screen brightness compensation coefficient.
[0153] In one example, after obtaining the current set brightness value of the display panel as the target brightness value, if the target brightness value is one of 2 nit, 100 nit, and 500 nit, directly obtain the target area brightness compensation coefficients of the display areas according to the second correspondence of 2 nit, 100 nit, and 500 nit obtained by pre-photographing, and compensate the brightness of the display area according to the target area brightness compensation coefficients of the display areas; if the target brightness value is not one of 2 nit, 100 nit, and 500 nit, trigger the execution of the step: determine the screen brightness compensation coefficient corresponding to the target brightness value according to the pre-determined first correspondence to obtain the target screen brightness compensation coefficient, and determine the first area brightness compensation coefficient and the second area brightness compensation coefficient of each display area in the display panel, so as to determine the target area brightness compensation coefficient of the display area, and then compensate the brightness of the display area.
[0154] The method logic of the embodiment of the present application is referred to Figure 7 , obtain the current set brightness value of the display panel as the target brightness value, obtain the first correspondence by interpolation method, wherein the interpolation register is used to store the parameters required for the interpolation method calculation, determine the first area brightness compensation coefficient and the second area brightness compensation coefficient of each display area according to the linearly stored second correspondence, and determine the target area brightness compensation coefficient of the display area through the operation of P = M×K1 + N×K2 and area processing according to the first area brightness compensation coefficient, the second area brightness compensation coefficient and the target screen brightness compensation coefficient of the display area.
[0155] After implementing the brightness compensation method of the embodiment of the present application, there is an obvious improvement in the luminance uniformity (LRU) of high brightness and low brightness. Referring to FIG. 8(a), at 500 nit, the LRU can reach 95% (less than 85% before improvement). Referring to FIG. 8(b), at 2 nit, the LRU can reach 80% (less than 65% before improvement).
[0156] The embodiment of the present application provides a brightness compensation device for a display panel, refer to Figure 9 , the device includes:
[0157] An obtaining module 901, configured to obtain the currently set brightness value of the display panel as a target brightness value;
[0158] A first determination module 902, configured to determine a screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence relationship, so as to obtain a target screen brightness compensation coefficient, where the first correspondence relationship is a correspondence relationship between the set brightness value of the display panel and the screen brightness compensation coefficient;
[0159] A second determination module 903, configured to determine a first area brightness compensation coefficient and a second area brightness compensation coefficient for each display area in the display panel according to the target brightness value, where the display panel includes a plurality of display areas;
[0160] A calculation module 904, configured to determine a target area brightness compensation coefficient for each display area in the display panel according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of the display area;
[0161] A compensation module 905, configured to compensate the brightness of each display area in the display panel according to the target area brightness compensation coefficient of the display area.
[0162] In a possible implementation manner, the first correspondence relationship includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is a correspondence relationship between the set brightness value in a first brightness value range and the screen brightness compensation coefficient, and the second brightness compensation curve is a correspondence relationship between the set brightness value in a second brightness value range and the screen brightness compensation coefficient; the first brightness value range starts from the minimum set brightness value of the display panel to the inversion brightness value of the display panel, and the second brightness value range starts from the inversion brightness value of the display panel to the maximum set brightness value of the display panel.
[0163] In a possible implementation manner, the device further includes a first relationship determination module, and the first relationship determination module includes:
[0164] A first obtaining sub-module, configured to obtain the inversion brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the inversion brightness value is less than a preset error threshold;
[0165] A second obtaining sub-module, configured to obtain a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value;
[0166] A first calculation sub-module, configured to calculate a first screen brightness compensation coefficient according to the brightness value far from the chip end in the first grayscale image and the brightness value close to the chip end in the first grayscale image; calculate a second screen brightness compensation coefficient according to the brightness value far from the chip end in the second grayscale image and the brightness value close to the chip end in the second grayscale image;
[0167] A second calculation sub-module, configured to obtain a first brightness compensation curve by interpolation according to the inverted brightness value and the first screen brightness compensation coefficient; obtain a second brightness compensation curve by interpolation according to the inverted brightness value and the second screen brightness compensation coefficient.
[0168] In a possible implementation manner, the second determination module includes:
[0169] An interval determination sub-module, configured to determine the brightness value interval to which the target brightness value belongs in the first brightness value interval and the second brightness value interval;
[0170] A first brightness determination sub-module, configured to, when the target brightness value belongs to the first brightness value interval, obtain a second correspondence relationship of the inverted brightness value and a second correspondence relationship of the minimum brightness value, where the second correspondence relationship of the inverted brightness value is the correspondence relationship between each display area of the display panel at the inverted brightness value and the area brightness compensation coefficient, and the second correspondence relationship of the minimum brightness value is the correspondence relationship between each display area of the display panel at the minimum brightness value and the area brightness compensation coefficient;
[0171] A first brightness compensation coefficient determination sub-module, configured to respectively determine a first area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the minimum brightness value; respectively determine a second area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the inverted brightness value;
[0172] A second brightness determination sub-module, configured to, when the target brightness value belongs to the second brightness value interval, obtain a second correspondence relationship of the inverted brightness value and a second correspondence relationship of the maximum brightness value, where the second correspondence relationship of the maximum brightness value is the correspondence relationship between each display area of the display panel at the maximum brightness value and the area brightness compensation coefficient;
[0173] A second brightness compensation coefficient determination sub-module, configured to respectively determine a first area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the maximum brightness value; respectively determine a second area brightness compensation coefficient for each display area in the display panel according to the second correspondence relationship of the inverted brightness value.
[0174] In a possible implementation manner, the first luminance compensation coefficient determination sub-module is specifically configured to: for each display area in the display panel, use the area luminance compensation coefficient corresponding to this display area in the second correspondence of the minimum luminance value as the first area luminance compensation coefficient of this display area; for each display area in the display panel, use the area luminance compensation coefficient corresponding to this display area in the second correspondence of the inverted luminance value as the second area luminance compensation coefficient of this display area.
[0175] In a possible implementation manner, the first acquisition sub-module is specifically configured to: acquire grayscale images of the display panel at multiple set luminance values; perform luminance analysis on each of the grayscale images, and select the grayscale image with the smallest picture luminance error from the grayscale images with a picture luminance error less than a preset error threshold to obtain a third grayscale image; acquire the set luminance value of the third grayscale image as the inverted luminance value.
[0176] In a possible implementation manner, the device further includes a second correspondence determination module, and the second correspondence determination module includes:
[0177] A third grayscale image determination sub-module, configured to acquire a grayscale image of the display panel at the inverted luminance value to obtain a third grayscale image;
[0178] An adjustment sub-module, configured to, for each display area in the display panel, determine the area luminance compensation coefficient of this display area at the inverted luminance value according to the image luminance value corresponding to this display area in the third grayscale image, where, at the inverted luminance value, after each display area is compensated by its own area luminance compensation coefficient, the image luminance values of the displayed grayscale images are the same.
[0179] In a possible implementation manner, the compensation module is specifically configured to, for each display area in the display panel, compensate the gamma voltage of this display area according to the target area luminance compensation coefficient of this display area.
[0180] In a possible implementation manner, the device further includes:
[0181] An interpretation module, configured to interpret whether the target luminance value is one of the minimum luminance value, the maximum luminance value, and the inverted luminance value;
[0182] An acquisition module, configured to, if so, acquire the second correspondence of the target luminance value to obtain the target area luminance compensation coefficient of each display area;
[0183] A trigger module, which is used to, if not, trigger the execution of the following steps: determine the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence relationship, and obtain the target screen brightness compensation coefficient.
[0184] An embodiment of the present application further provides an electronic device, as Figure 10 shown, including a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004. Among them, the processor 1001, the communication interface 1002, and the memory 1003 complete mutual communication through the communication bus 1004.
[0185] The memory 1003 is used to store a computer program.
[0186] When the processor 1001 is used to execute the program stored on the memory 1003, it implements the steps of the brightness compensation method for the display panel described in any one of the above first aspects.
[0187] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0188] The communication interface is used for communication between the above electronic device and other devices.
[0189] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.
[0190] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0191] In another embodiment provided by the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the brightness compensation method of any one of the display panels in the present application is implemented.
[0192] In the above embodiment, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).
[0193] It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising said element.
[0194] Each embodiment in this specification is described in a related manner. Each embodiment focuses on the differences from other embodiments. For the same and similar parts among the embodiments, reference can be made to each other.
[0195] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are all included in the protection scope of the present application.
Claims
1. A brightness compensation method for a display panel, characterized in that The method includes: Obtaining the current set brightness value of the display panel as the target brightness value; Determining the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence relationship to obtain the target screen brightness compensation coefficient, where the first correspondence relationship is the correspondence relationship between the set brightness value of the display panel and the screen brightness compensation coefficient; Determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of each display region in the display panel according to the target brightness value, where the display panel includes a plurality of display regions; For each display region in the display panel, determining the target regional brightness compensation coefficient of the display region according to the first regional brightness compensation coefficient, the second regional brightness compensation coefficient and the target screen brightness compensation coefficient of the display region; For each display region in the display panel, compensating the brightness of the display region according to the target regional brightness compensation coefficient of the display region.
2. The brightness compensation method according to claim 1, wherein The first correspondence relationship includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is the correspondence relationship between the set brightness value in the first brightness value range and the screen brightness compensation coefficient, and the second brightness compensation curve is the correspondence relationship between the set brightness value in the second brightness value range and the screen brightness compensation coefficient; the first brightness value range starts from the minimum set brightness value of the display panel to the inversion brightness value of the display panel, and the second brightness value range starts from the inversion brightness value of the display panel to the maximum set brightness value of the display panel.
3. The brightness compensation method according to claim 2, wherein The first correspondence relationship is obtained by the following method: Obtaining the inversion brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the inversion brightness value is less than a preset error threshold; Obtaining a first grayscale image displayed by the display panel at the minimum brightness value and a second grayscale image displayed by the display panel at the maximum brightness value; Calculating a first screen brightness compensation coefficient according to the brightness value far from the chip end and the brightness value close to the chip end in the first grayscale image; calculating a second screen brightness compensation coefficient according to the brightness value far from the chip end and the brightness value close to the chip end in the second grayscale image; Obtaining a first brightness compensation curve by interpolation according to the inversion brightness value and the first screen brightness compensation coefficient; obtaining a second brightness compensation curve by interpolation according to the inversion brightness value and the second screen brightness compensation coefficient.
4. The brightness compensation method according to claim 2, wherein The determining the first regional brightness compensation coefficient and the second regional brightness compensation coefficient of each display region in the display panel according to the target brightness value includes: Determining the brightness value range to which the target brightness value belongs in the first brightness value range and the second brightness value range; When the target brightness value belongs to the first brightness value range, obtain the second correspondence relationship between the inverted brightness value and the second correspondence relationship between the minimum brightness value, where the second correspondence relationship between the inverted brightness values is the correspondence relationship between each display area of the display panel and the regional brightness compensation coefficient at the inverted brightness value, and the second correspondence relationship between the minimum brightness values is the correspondence relationship between each display area of the display panel and the regional brightness compensation coefficient at the minimum brightness value; According to the second correspondence relationship between the minimum brightness values, respectively determine the first regional brightness compensation coefficient of each display area in the display panel; according to the second correspondence relationship between the inverted brightness values, respectively determine the second regional brightness compensation coefficient of each display area in the display panel; When the target brightness value belongs to the second brightness value range, obtain the second correspondence relationship between the inverted brightness value and the second correspondence relationship between the maximum brightness value, where the second correspondence relationship between the maximum brightness values is the correspondence relationship between each display area of the display panel and the regional brightness compensation coefficient at the maximum brightness value; According to the second correspondence relationship between the maximum brightness values, respectively determine the first regional brightness compensation coefficient of each display area in the display panel; according to the second correspondence relationship between the inverted brightness values, respectively determine the second regional brightness compensation coefficient of each display area in the display panel.
5. The brightness compensation method according to claim 4, wherein The step of respectively determining the first regional brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship between the minimum brightness values; Determining the second regional brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship between the inverted brightness values includes: For each display area in the display panel, use the regional brightness compensation coefficient corresponding to the display area in the second correspondence relationship between the minimum brightness values as the first regional brightness compensation coefficient of the display area; For each display area in the display panel, use the regional brightness compensation coefficient corresponding to the display area in the second correspondence relationship between the inverted brightness values as the second regional brightness compensation coefficient of the display area.
6. The brightness compensation method according to claim 3, wherein The step of obtaining the inverted brightness value of the display panel includes: Obtain the grayscale images of the display panel at multiple set brightness values; Perform brightness analysis on each of the grayscale images, and select the grayscale image with the smallest picture brightness error from the grayscale images with a picture brightness error less than a preset error threshold to obtain a third grayscale image; Obtain the set brightness value of the third grayscale image as the inverted brightness value.
7. The brightness compensation method according to claim 4, wherein The second correspondence relationship between the inverted brightness values is obtained by the following method: Obtain the grayscale image of the display panel at the inverted brightness value to obtain a third grayscale image; For each display area in the display panel, determine the regional brightness compensation coefficient of the display area at the inverted brightness value according to the image brightness value corresponding to the display area in the third grayscale image, where at the inverted brightness value, after each display area is compensated by its own regional brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same.
8. The brightness compensation method according to claim 1, wherein For each display area in the display panel, compensating the brightness of the display area according to the target area brightness compensation coefficient of the display area includes: For each display area in the display panel, compensating the gamma voltage of the display area according to the target area brightness compensation coefficient of the display area.
9. The brightness compensation method according to claim 4, wherein After obtaining the current set brightness value of the display panel as the target brightness value, the method further includes: Determining whether the target brightness value is one of the minimum brightness value, the maximum brightness value, and the inverted brightness value; If so, obtaining the second correspondence of the target brightness value to obtain the target area brightness compensation coefficient of each display area; If not, triggering the execution of the step: determining the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence to obtain the target screen brightness compensation coefficient.
10. A brightness compensation device for a display panel, characterized in that, The device includes: An acquisition module, configured to acquire the current set brightness value of the display panel as the target brightness value; A first determination module, configured to determine the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence to obtain the target screen brightness compensation coefficient, where the first correspondence is the correspondence between the set brightness value of the display panel and the screen brightness compensation coefficient; A second determination module, configured to determine the first area brightness compensation coefficient and the second area brightness compensation coefficient of each display area in the display panel according to the target brightness value, where the display panel includes multiple display areas; A calculation module, configured to determine the target area brightness compensation coefficient of each display area in the display panel according to the first area brightness compensation coefficient, the second area brightness compensation coefficient, and the target screen brightness compensation coefficient of the display area; A compensation module, configured to compensate the brightness of each display area in the display panel according to the target area brightness compensation coefficient of the display area.
11. The brightness compensation device according to claim 10, wherein The first correspondence includes a first brightness compensation curve and a second brightness compensation curve. The first brightness compensation curve is the correspondence between the set brightness value in the first brightness value interval and the screen brightness compensation coefficient, and the second brightness compensation curve is the correspondence between the set brightness value in the second brightness value interval and the screen brightness compensation coefficient; the first brightness value interval starts from the minimum set brightness value of the display panel to the inverted brightness value of the display panel, and the second brightness value interval starts from the inverted brightness value of the display panel to the maximum set brightness value of the display panel.
12. The brightness compensation device according to claim 11, characterized in that, The device further includes a first relationship determination module, and the first relationship determination module includes: A first acquisition sub-module, configured to acquire the inverted brightness value of the display panel, where the picture brightness error of the grayscale image displayed by the display panel at the inverted brightness value is less than a preset error threshold; A second acquisition sub-module, configured to acquire the first grayscale image displayed by the display panel at the minimum brightness value and the second grayscale image displayed by the display panel at the maximum brightness value; The first calculation sub-module is used to calculate the first screen brightness compensation coefficient according to the brightness value far from the chip end in the first grayscale image and the brightness value close to the chip end in the first grayscale image; calculate the second screen brightness compensation coefficient according to the brightness value far from the chip end in the second grayscale image and the brightness value close to the chip end in the second grayscale image. The second calculation sub-module is used to obtain the first brightness compensation curve by interpolation according to the inverted brightness value and the first screen brightness compensation coefficient; obtain the second brightness compensation curve by interpolation according to the inverted brightness value and the second screen brightness compensation coefficient.
13. The brightness compensation device according to claim 11, wherein The second determination module includes: An interval determination sub-module, configured to determine the brightness value interval to which the target brightness value belongs in the first brightness value interval and the second brightness value interval. A first brightness determination sub-module, configured to, when the target brightness value belongs to the first brightness value interval, obtain the second correspondence relationship of the inverted brightness value and the second correspondence relationship of the minimum brightness value, where the second correspondence relationship of the inverted brightness value is the correspondence relationship between each display area of the display panel at the inverted brightness value and the area brightness compensation coefficient, and the second correspondence relationship of the minimum brightness value is the correspondence relationship between each display area of the display panel at the minimum brightness value and the area brightness compensation coefficient. A first brightness compensation coefficient determination sub-module, configured to respectively determine the first area brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the minimum brightness value; respectively determine the second area brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the inverted brightness value. A second brightness determination sub-module, configured to, when the target brightness value belongs to the second brightness value interval, obtain the second correspondence relationship of the inverted brightness value and the second correspondence relationship of the maximum brightness value, where the second correspondence relationship of the maximum brightness value is the correspondence relationship between each display area of the display panel at the maximum brightness value and the area brightness compensation coefficient. A second brightness compensation coefficient determination sub-module, configured to respectively determine the first area brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the maximum brightness value; respectively determine the second area brightness compensation coefficient of each display area in the display panel according to the second correspondence relationship of the inverted brightness value.
14. The brightness compensation device according to claim 13, characterized in that, The first brightness compensation coefficient determination sub-module is specifically configured to: for each display area in the display panel, use the area brightness compensation coefficient corresponding to the display area in the second correspondence relationship of the minimum brightness value as the first area brightness compensation coefficient of the display area; for each display area in the display panel, use the area brightness compensation coefficient corresponding to the display area in the second correspondence relationship of the inverted brightness value as the second area brightness compensation coefficient of the display area.
15. The brightness compensation device according to claim 12, wherein The first acquisition sub-module is specifically configured to: acquire grayscale images of the display panel at multiple set brightness values; perform brightness analysis on each of the grayscale images, and select the grayscale image with the smallest screen brightness error from the grayscale images whose screen brightness error is less than a preset error threshold to obtain a third grayscale image; acquire the set brightness value of the third grayscale image as the inversion brightness value.
16. The brightness compensation device according to claim 13, wherein The device further includes a second correspondence determination module, and the second correspondence determination module includes: A third grayscale image determination sub-module, configured to acquire a grayscale image of the display panel at the inversion brightness value to obtain a third grayscale image; An adjustment sub-module, configured to, for each display area in the display panel, determine a regional brightness compensation coefficient of the display area at the inversion brightness value according to the image brightness value corresponding to the display area in the third grayscale image, wherein, at the inversion brightness value, after each display area is compensated by its own regional brightness compensation coefficient, the image brightness values of the displayed grayscale images are the same.
17. The brightness compensation device according to claim 10, wherein The compensation module is specifically configured to, for each display area in the display panel, compensate the gamma voltage of the display area according to the target regional brightness compensation coefficient of the display area.
18. The brightness compensation device according to claim 13, wherein The device further includes: An interpretation module, configured to interpret whether the target brightness value is one of the minimum brightness value, the maximum brightness value, and the inversion brightness value; An acquisition module, configured to, if so, acquire the second correspondence of the target brightness value to obtain the target regional brightness compensation coefficient of each display area; A trigger module, configured to, if not, trigger the execution of the steps: determine the screen brightness compensation coefficient corresponding to the target brightness value according to a pre-determined first correspondence to obtain a target screen brightness compensation coefficient.
19. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory is used for storing a computer program; The processor, when executing the program stored on the memory, implements the steps of the brightness compensation method for the display panel according to any one of claims 1-9.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the steps of the brightness compensation method for the display panel according to any one of claims 1-9.
Citation Information
Patent Citations
Adjusting method of display picture, display panel and display device
CN109256090A
Method and device for determining compensation parameters of display panel
WO2022016976A1