Compensation Method, Device, Equipment and Storage Medium for Display Panel

By obtaining the compensation data and adjustment coefficients of the display panel under different dimming methods and brightness, and dynamically adjusting the compensation data of the display panel, solving the problem of poor compensation effect under different dimming methods and brightness, and improving the compensation effect and production efficiency of the display panel.

CN115019716BActive Publication Date: 2025-07-11KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210700183.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2025-07-11
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

The prior art is difficult to maintain a good compensation effect of the display panel under different dimming methods and brightness, especially in the case of low display brightness values or low grayscale conditions.

Method used

By obtaining the reference compensation data and adjustment coefficients of the display panel under the first dimming mode, calculating the adjustment coefficients and target compensation data under the second dimming mode, taking into account different dimming modes and brightness values, the compensation data of the display panel is dynamically adjusted to adapt to changes in brightness and dimming mode.

Benefits of technology

It improves the compensation effect of the display panel under dimming mode switching and brightness changes, reduces storage space requirements, shortens production time, reduces costs, and improves the accuracy of calculation speed and compensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115019716B_ABST
    Figure CN115019716B_ABST
Patent Text Reader

Abstract

The present application discloses a compensation method, device, equipment and storage medium for a display panel. The display panel has a first dimming mode and a second dimming mode. The method includes: obtaining reference compensation data of the display panel in the first dimming mode and at a reference display brightness value; obtaining a second adjustment coefficient in the second dimming mode and at the current display brightness value according to a first adjustment coefficient in the first dimming mode and at the current display brightness value; and determining target compensation data corresponding to the display panel in the second dimming mode and at the current brightness value according to the reference compensation data and the second adjustment coefficient. According to the embodiments of the present application, the compensation effect can be improved and the compensation debugging time can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technologies, and particularly to a compensation method, apparatus, device, and storage medium for a display panel. Background Art

[0002] With the rapid development of display technologies, the demand for display panels in various terminals is increasing day by day, and consumers' requirements for display image quality are also getting higher and higher.

[0003] To ensure good image quality performance, it is often necessary to perform compensation (demura) debugging on the display panel. However, as the functions of the display panel become more and more complex, how to achieve good compensation effects under various functions has become an important problem faced by those skilled in the art. Summary of the Invention

[0004] Embodiments of the present application provide a compensation method, apparatus, device, and storage medium for a display panel, which can improve the compensation effect.

[0005] Embodiments of the present application provide a compensation method for a display panel. The display panel has a first dimming mode and a second dimming mode. The method includes:

[0006] Obtaining reference compensation data of the display panel in the first dimming mode and at a reference display brightness value; obtaining a second adjustment coefficient in the second dimming mode and at the current display brightness value according to a first adjustment coefficient in the first dimming mode and at the current display brightness value; and determining target compensation data corresponding to the display panel in the second dimming mode and at the current brightness value according to the reference compensation data and the second adjustment coefficient.

[0007] In a possible implementation manner of the first aspect,

[0008] The gray scale range of the display panel is divided into multiple gray scale intervals;

[0009] Correspondingly, the first adjustment coefficient includes adjustment coefficients respectively corresponding to each gray scale interval in the first dimming mode and at the current display brightness value, the second adjustment coefficient includes adjustment coefficients respectively corresponding to each gray scale interval in the second dimming mode and at the current display brightness value, and the target compensation data includes compensation data respectively corresponding to each gray scale interval in the second dimming mode and at the current brightness value of the display panel.

[0010] In a possible implementation manner of the first aspect, obtaining a second adjustment coefficient in the second dimming mode and at the current display brightness value according to a first adjustment coefficient in the first dimming mode and at the current display brightness value includes:

[0011] For any grayscale interval, obtain the first gamma value corresponding to the grayscale within the grayscale interval under the first dimming mode and at the current display brightness value, and the second gamma value corresponding to the grayscale within the grayscale interval under the second dimming mode and at the current display brightness value;

[0012] Determine the gamma magnification factor when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value;

[0013] Determine the second adjustment coefficient corresponding to the grayscale interval according to the gamma magnification factor and the first adjustment coefficient corresponding to the grayscale interval;

[0014] Optionally, the first gamma value includes a first sub-gamma value and a second sub-gamma value, where the first sub-gamma value is the gamma value corresponding to the first grayscale within the grayscale interval under the first dimming mode and at the current display brightness value, and the second sub-gamma value is the gamma value corresponding to the second grayscale within the grayscale interval under the first dimming mode and at the current display brightness value; the second gamma value includes a third sub-gamma value and a fourth sub-gamma value, where the third sub-gamma value is the gamma value corresponding to the first grayscale within the grayscale interval under the second dimming mode and at the current display brightness value, and the fourth sub-gamma value is the gamma value corresponding to the second grayscale within the grayscale interval under the second dimming mode and at the current display brightness value;

[0015] Alternatively, the first gamma value includes the gamma values respectively corresponding to multiple grayscales within the grayscale interval under the first dimming mode and at the current display brightness value, and the second gamma value includes the gamma values respectively corresponding to multiple grayscales within the grayscale interval under the second dimming mode and at the current display brightness value.

[0016] In a possible implementation manner of the first aspect, determining the second adjustment coefficient corresponding to the grayscale interval according to the gamma magnification factor and the first adjustment coefficient corresponding to the grayscale interval includes:

[0017] Calculate the product of the gamma magnification factor and the first adjustment coefficient corresponding to the grayscale interval to obtain the second adjustment coefficient corresponding to the grayscale interval;

[0018] Optionally, determining the gamma magnification factor of the second dimming mode relative to the first dimming mode according to the first gamma value and the second gamma value includes:

[0019] Determine the gamma magnification factor according to the following relational expression (1) or (2):

[0020]

[0021]

[0022] Wherein, k represents the gamma magnification factor, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0023] represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the first dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the second dimming mode and at the current display brightness value.

[0024] In a possible implementation manner of the first aspect, the method further includes:

[0025] Obtaining a third gamma value corresponding to the gray levels within the gray level range in the first dimming mode and at the reference display brightness value, and a fourth gamma value corresponding to the gray levels within the gray level range in the second dimming mode and at the reference display brightness value;

[0026] Determining the gamma magnification factor when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value, including:

[0027] Determining a first gamma magnification factor of the current display brightness value relative to the reference display brightness value in the first dimming mode according to the first gamma value and the third gamma value, and determining a second gamma magnification factor of the current display brightness value relative to the reference display brightness value in the second dimming mode according to the second gamma value and the fourth gamma value;

[0028] Determining a second adjustment coefficient corresponding to the gray level range according to the gamma magnification factor and the first adjustment coefficient, including:

[0029] Determining a second adjustment coefficient corresponding to the gray level range according to the first gamma magnification factor, the second gamma magnification factor, and the first adjustment coefficient corresponding to the gray level range;

[0030] Optionally, the reference display brightness value includes the maximum display brightness value of the display panel.

[0031] In a possible implementation manner of the first aspect, the third gamma value includes a fifth sub-gamma value and a sixth sub-gamma value. The fifth sub-gamma value is the gamma value corresponding to the first gray level within the gray level range in the first dimming mode and at the reference display brightness value, and the sixth sub-gamma value is the gamma value corresponding to the second gray level within the gray level range in the first dimming mode and at the reference display brightness value; the fourth gamma value includes a seventh sub-gamma value and an eighth sub-gamma value. The seventh sub-gamma value is the gamma value corresponding to the first gray level within the gray level range in the second dimming mode and at the reference display brightness value, and the eighth sub-gamma value is the gamma value corresponding to the second gray level within the gray level range in the second dimming mode and at the reference display brightness value;

[0032] Alternatively, the third gamma value includes the gamma values respectively corresponding to multiple gray levels within the gray level range in the first dimming mode and at the reference display brightness value, and the fourth gamma value includes the gamma values respectively corresponding to multiple gray levels within the gray level range in the second dimming mode and at the reference display brightness value;

[0033] Optionally, according to the first gamma value and the third gamma value, determine a first gamma magnification factor of the current display brightness value relative to the reference display brightness value in the first dimming mode, and according to the second ga mma value and the fourth gamma value, determine a second gamma magnification factor of the current display brightness value relative to the reference display brightness value in the second dimming mode, including:

[0034] Determine the first gamma magnification factor and the second gamma magnification factor according to the following relational expression (3), or determine the first gamma magnification factor and the second gamma magnification factor according to the following relational expression (4):

[0035]

[0036]

[0037] wherein, k1 represents the first gamma magnification factor, k2 represents the second gamma magnification factor, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0038] Δgamma01 represents the difference between the fifth sub-gamma value and the sixth sub-gamma value, and Δgamma02 represents the difference between the seventh sub-gamma value and the eighth sub-gamma value;

[0039] represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the first dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the first dimming mode and at the reference display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the second dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level range in the second dimming mode and at the reference display brightness value;

[0040] Optionally, according to the first gamma magnification factor, the second gamma magnification factor, and the first adjustment coefficient corresponding to the gray level range, determine the second adjustment coefficient corresponding to the gray level range, including:

[0041] Calculate the ratio of the first gamma magnification factor and the second gamma magnification factor, and calculate the product of the ratio and the first adjustment coefficient corresponding to the gray level range to obtain the second adjustment coefficient corresponding to the gray level range.

[0042] In a possible implementation manner of the first aspect,

[0043] Determine the target compensation data corresponding to the display panel in the second dimming mode and the current brightness value according to the reference compensation data and the second adjustment coefficient, including:

[0044] Determine the target compensation data corresponding to any gray-scale interval according to the following relational expression (5):

[0045]

[0046] Wherein, M1 represents the target compensation data, M0 represents the reference compensation data of the display panel in the first dimming mode and the reference display brightness value, DBVn represents the register value corresponding to the current display brightness value, DBV0 represents the register value corresponding to the reference display brightness value, and fs_2 represents the second adjustment coefficient;

[0047] Optionally, the reference display brightness value includes the maximum display brightness value of the display panel.

[0048] In a second aspect, an embodiment of the present application provides a compensation device for a display panel. The display panel has a first dimming mode and a second dimming mode. The device includes:

[0049] A first data acquisition module, configured to acquire the reference compensation data of the display panel in the first dimming mode and at the reference display brightness value;

[0050] A second data acquisition module, configured to acquire the second adjustment coefficient in the second dimming mode and at the current display brightness value according to the first adjustment coefficient in the first dimming mode and at the current display brightness value;

[0051] A calculation module, configured to determine the target compensation data corresponding to the display panel in the second dimming mode and the current brightness value according to the reference compensation data and the adjustment coefficient.

[0052] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the compensation method for the display panel according to any one of the first aspect of the claims are implemented.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the compensation method for the display panel according to any one of the first aspect of the claims are implemented.

[0054] According to the compensation method, device, equipment and storage medium of the display panel provided by the embodiments of the present application, on the one hand, different dimming methods can be taken into account. The second adjustment coefficient in the second dimming method is determined according to the first adjustment coefficient in the first dimming method, and the target compensation data in the second dimming method is determined according to the reference compensation data at the reference display brightness value and the second adjustment coefficient. In this way, when the display panel switches from the first dimming method to the second dimming method, the display panel can be compensated based on the target compensation data, so that the compensation is more in line with the second dimming method and the compensation effect is improved. On the other hand, different display brightness values can be taken into account. Since the second adjustment coefficient corresponds to the current brightness value, the obtained target compensation data is also more in line with the current brightness value, so that the compensation effect can be further improved. Description of the Drawings

[0055] By reading the following detailed description of the non-limiting embodiments with reference to the accompanying drawings, other features, objects and advantages of the present application will become more apparent. Among them, the same or similar reference numerals represent the same or similar features, and the drawings are not drawn to actual scale.

[0056] Figure 1 A schematic flowchart showing a compensation method for a display panel provided by an embodiment of the present application;

[0057] Figures 2 to 5 A schematic flowchart showing a compensation method for a display panel provided by some other embodiments of the present application;

[0058] Figure 6 A schematic structural diagram showing a compensation device for a display panel provided by an embodiment of the present application;

[0059] Figure 7 A schematic structural diagram showing an electronic device provided by an embodiment of the present application. Detailed Description of the Embodiments

[0060] The features and exemplary embodiments of each aspect of the present application will be described in detail below. In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0061] It should be noted that in this text, 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 term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also includes 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..." does not exclude the presence of additional identical elements in the process, method, article or device comprising said element.

[0062] It should be understood that when describing the structure of a component, when a layer or a region is referred to as being "above" or "over" another layer or another region, it may mean directly above the other layer or another region, or there may be other layers or regions between it and the other layer or another region. And if the component is turned over, this layer or this region will be "below" or "under" the other layer or another region.

[0063] It should be understood that the term "and / or" used in this text is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this text generally represents an "or" relationship between the associated objects before and after.

[0064] Without departing from the spirit or scope of the present application, various modifications and variations can be made to the present application, which are obvious to those skilled in the art. Therefore, the present application is intended to cover modifications and variations of the present application that fall within the scope of the corresponding claims (the claimed technical solutions) and their equivalents. It should be noted that the embodiments provided in the embodiments of the present application can be combined with each other without conflict.

[0065] Before elaborating on the technical solutions provided in the embodiments of the present application, for the convenience of understanding the embodiments of the present application, the present application first specifically describes the problems existing in the related art:

[0066] The display panel can support multiple display brightness values (DBV), and the brightness of the same grayscale image is different at different display brightness values. For example, the display brightness value can be understood as the display brightness level. Taking a mobile phone as an example, the mobile phone is provided with a brightness bar, and different positions on the brightness bar can represent different display brightness values. When performing demura compensation debugging, it is necessary to debug well at each display brightness value. In addition, the display panel can support multiple dimming methods. The inventor's research found that the gamma values corresponding to different dimming methods are different, and the compensation data is generated based on the gamma value. If the same compensation data is used for different dimming methods, especially in the case of low display brightness values or low grayscales, the compensation effect will not be ideal.

[0067] To solve the above technical problems, the embodiments of the present application provide a compensation method, device, equipment and storage medium for a display panel. The following will describe the embodiments of the compensation method, device, equipment and storage medium for the display panel with reference to the accompanying drawings.

[0068] In the embodiments of the present application, the display panel can support multiple dimming methods. To better understand the dimming methods, taking Table 1 and Table 2 as examples, Table 1 represents dimming method A, and Table 2 represents dimming method B.

[0069] Table 1

[0070]

[0071] Table 2

[0072]

[0073] Among them, 500 nit, 120 nit, etc. represent the brightness corresponding to different display brightness values, 07FF represents the dimming register value corresponding to the display brightness value of 500 nit, and 03BF represents the dimming register value corresponding to the display brightness value of 120 nit. In the table, the grayscale (Gray) range of the display panel is taken as an example of 0 to 255, and the grayscale 0 is not shown. In addition, taking 292 corresponding to the grayscale 15 as an example, 292 represents the gamma value corresponding to the R sub-pixel at the grayscale 15 when the display brightness value is 500 nit.

[0074] For example, dimming method A may include a Source dimming area and not include an EM dimming area. Dimming method B may include a Source dimming area and an EM dimming area. Source dimming can be understood as adjusting the brightness by changing the data voltage, and the EM dimming area can be understood as adjusting the brightness by changing the duty cycle of the light emission control signal. The light emission control signal can control the sub-pixels to enter the light emission stage. In dimming method A, Source dimming is used for each display brightness value. In dimming method B, Source dimming is used for display brightness values greater than 120 nit, and EM dimming is used for display brightness values less than or equal to 120 nit.

[0075] As Figure 1 shown, the compensation method for a display panel provided by an embodiment of the present application may include steps S110 to S130.

[0076] S110, obtaining reference compensation data of the display panel in a first dimming method and at a reference display brightness value;

[0077] S120, obtaining a second adjustment coefficient of the second dimming method and at the current display brightness value according to a first adjustment coefficient of the first dimming method and at the current display brightness value;

[0078] S130, determining target compensation data corresponding to the display panel in the second dimming method and at the current brightness value according to the reference compensation data and the second adjustment coefficient.

[0079] It should be noted that the execution order of S110 and S120 is not limited above. S110 and S120 can be executed simultaneously, or S110 can be executed before S120, or S110 can be executed after S120.

[0080] The specific implementation manners of the above steps will be described in detail below.

[0081] According to the compensation method for a display panel provided by an embodiment of the present application, on the one hand, different dimming methods can be taken into account. The second adjustment coefficient of the second dimming method is determined according to the first adjustment coefficient of the first dimming method, and the target compensation data of the second dimming method is determined according to the reference compensation data at the reference display brightness value and the second adjustment coefficient. In this way, when the display panel switches from the first dimming method to the second dimming method, the display panel can be compensated based on the target compensation data, making the compensation more in line with the second dimming method and improving the compensation effect. On the other hand, different display brightness values can be taken into account. Since the second adjustment coefficient corresponds to the current brightness value, the obtained target compensation data is also more in line with the current brightness value, so as to further improve the compensation effect.

[0082] Exemplarily, S110 to S130 can be executed when the display panel has already switched from the first dimming mode to the second dimming mode. Then, during the execution of S110 to S130, the current dimming mode is the second dimming mode. Specifically, before S110, the compensation method for the display panel provided by the embodiments of the present application may further include: obtaining the current dimming mode of the display panel. If the current dimming mode has switched from the first dimming mode to the second dimming mode, then S110 to S130 are executed..

[0083] Exemplarily, the first dimming mode may be the above-mentioned dimming mode A, and the second dimming mode may be the above-mentioned dimming mode B. Alternatively, the first dimming mode may be the above-mentioned dimming mode B, and the second dimming mode may be the above-mentioned dimming mode A.

[0084] Exemplarily, the display panel can be subjected to demura compensation debugging before leaving the factory. For example, the display panel is set to the first dimming mode, the reference compensation data of the display panel in the first dimming mode and at the reference display brightness value is determined, and the determined reference compensation data is stored in the memory of the display panel. In this way, the display panel can directly call the reference compensation data during compensation, and in S110, the reference compensation data can be read from the memory of the display panel.

[0085] Exemplarily, the reference compensation data may include specific compensation gray scale values.

[0086] Exemplarily, in addition to being obtained based on the first adjustment coefficient, the second adjustment coefficient can also be determined according to the gamma values in different dimming modes, which will be introduced in detail below.

[0087] The gray scales that the display panel can display have a certain range. Taking an 8-bit display panel as an example, the gray scale range of the display panel is 0 to 255. At the same display brightness value (DBV), the gamma values corresponding to different gray scales are also different. In some alternative embodiments, the gray scale range of the display panel is divided into multiple gray scale intervals. Specifically, multiple gray scale intervals can be pre-divided, and there is no need to re-divide the gray scale intervals each time the compensation method is executed, or the gray scale intervals can be divided when the compensation method is executed. For example, as Figure 2As shown in the figure, the compensation method for the display panel provided by the embodiment of the present application may further include S111: dividing the gray scale range of the display panel into multiple gray scale intervals. For example, the gray scale 0-255 can be divided into 4 gray scale intervals. The gray scale interval x0 corresponds to the gray scale 0-14, the gray scale interval x1 corresponds to the gray scale 15-63, the gray scale interval x2 corresponds to the gray scale 64-207, and the gray scale interval x3 corresponds to the gray scale 208-255. The number of gray scale intervals is not limited to 3. For example, it can be 5, 6, etc. It can be understood that the more the number of gray scale intervals, the higher the compensation accuracy. Even to achieve the highest accuracy, each gray scale interval can include only one gray scale value. For example, the gray scale 0-255 can be divided into 256 gray scale intervals.

[0088] Correspondingly, the reference compensation data may include the compensation data corresponding to each gray scale interval of the display panel under the first dimming mode and the reference display brightness value;

[0089] The first adjustment coefficient may include the adjustment coefficients corresponding to each gray scale interval under the current display brightness value and in the first dimming mode. The second adjustment coefficient may include the adjustment coefficients corresponding to each gray scale interval under the current display brightness value and in the second dimming mode. The target compensation data may include the compensation data corresponding to each gray scale interval of the display panel under the second dimming mode and the current brightness value. By dividing the gray scale intervals, when performing display compensation, the corresponding target compensation data can be used for compensation for each gray scale interval, thereby further improving the compensation effect.

[0090] The display panel may include sub-pixels of multiple colors. For example, if the display panel includes red sub-pixels R, green sub-pixels G, and blue sub-pixels B, the reference compensation data may include the compensation data corresponding to each color sub-pixel in each gray scale interval. The first adjustment coefficient and the second adjustment coefficient may respectively include the adjustment coefficients corresponding to each color sub-pixel in each gray scale interval. The target compensation data may include the compensation data corresponding to each color sub-pixel in each gray scale interval.

[0091] Exemplarily, as mentioned above, the second adjustment coefficient can be determined according to the first adjustment coefficient and the gamma value under different dimming modes. In some optional embodiments, when the display panel includes multiple gray scale intervals, as Figure 3 shown, S120 may specifically include S121-S123.

[0092] S121, for any one gray scale interval, obtain the first gamma value corresponding to the gray scale in the first dimming mode and at the current display brightness value within this gray scale interval, and the second gamma value corresponding to the gray scale in the second dimming mode and at the current display brightness value within this gray scale interval;

[0093] S122. Determine the gamma magnification in the case of switching from the first dimming method to the second dimming method according to the first gamma value and the second gamma value. Exemplarily, the gamma magnification can be the ratio of gamma values or the ratio of the differences between gamma values.

[0094] S123. Determine the second adjustment coefficient corresponding to the gray scale interval according to the gamma magnification and the first adjustment coefficient corresponding to the gray scale interval.

[0095] The specific implementation manners of the above S121 to S123 will be described in detail below.

[0096] According to the embodiments of the present application, on the one hand, since the gamma value affects the emission brightness of pixels, the most direct difference in different dimming methods is reflected in the gamma value. In the embodiments of the present application, according to the gamma value difference in different dimming methods, the gamma magnification is determined, and based on the gamma magnification, the second adjustment coefficient in the second dimming method is determined, so that the adjustment coefficient can be relatively accurate. On the other hand, the embodiments of the present application can enable the display panel to dynamically determine the second adjustment coefficient in the second dimming method during the display process, so that it is no longer necessary to pre-determine and store the adjustment coefficient before leaving the factory, which shortens the time required for demura debugging of the display panel and can improve the production efficiency of the display panel. On the other hand, compared with separately determining and storing the compensation data corresponding to each dimming method before leaving the factory, the embodiments of the present application do not need to store the compensation data corresponding to the second dimming method, so that the required storage space can be reduced, thereby reducing costs. On the other hand, during the process of determining the adjustment coefficient, obtaining and calculating the gamma value at the current display brightness value can improve the calculation speed.

[0097] Exemplarily, the gamma value can be understood as the value of the gamma register corresponding to each gray scale after gamma debugging of the display panel. The gamma value can be pre-stored in the memory corresponding to the display panel.

[0098] For example, the first gamma value can include a first sub-gamma value and a second sub-gamma value. Among them, the first sub-gamma value can be the gamma value corresponding to the first gray scale in the gray scale interval in the first dimming method and at the current display brightness value, and the second sub-gamma value can be the gamma value corresponding to the second gray scale in the gray scale interval in the first dimming method and at the current display brightness value.

[0099] The second gamma value can include a third sub-gamma value and a fourth sub-gamma value. Among them, the third sub-gamma value can be the gamma value corresponding to the first gray scale in the gray scale interval in the second dimming method and at the current display brightness value, and the fourth sub-gamma value can be the gamma value corresponding to the second gray scale in the gray scale interval in the second dimming method and at the current display brightness value.

[0100] Among them, the first gray level may be the maximum gray level within the gray level range, and the second gray level may be the minimum gray level within the gray level range. Here, the first gray level and the second gray level are not specifically limited, as long as the first gray level and the second gray level can reflect the gray level range as a whole.

[0101] In the embodiments of the present application, since the first gray level and the second gray level within the gray level range can reflect the gray level range of the gray level range as a whole, the gamma values corresponding to the first gray level and the second gray level are the gamma value ranges corresponding to the gray level range. In this way, each gray level within the gray level range can be taken into account, and thus it is ensured that the obtained adjustment coefficient is applicable to each gray level within the gray level range.

[0102] For another example, the first gamma value may include the gamma values respectively corresponding to multiple gray levels within the gray level range in the first dimming mode and at the current display brightness value, and the second gamma value may include the gamma values respectively corresponding to multiple gray levels within the gray level range in the second dimming mode and at the current display brightness value. It should be noted that the multiple gray levels here are not limited. The multiple gray levels within the gray level range may be multiple gray levels evenly distributed within the gray level range, and the multiple gray levels within the gray level range may also include each gray level within the gray level range.

[0103] In some alternative embodiments, S123 may specifically include: calculating the product of the gamma magnification factor and the first adjustment coefficient corresponding to the gray level range to obtain the second adjustment coefficient corresponding to the gray level range. Specifically, the product of the gamma magnification factor and the first adjustment coefficient corresponding to the gray level range may be used as the second adjustment coefficient corresponding to the gray level range. The second adjustment coefficient may be calculated using the following formula:

[0104] fs_2 = fs_1 × k

[0105] Among them, fs_2 represents the second adjustment coefficient; fs_1 represents the first adjustment coefficient; k represents the gamma magnification factor.

[0106] In some alternative embodiments, S122 may specifically include determining the gamma magnification factor according to the following relational expression (1) or (2):

[0107]

[0108]

[0109] Among them, k represents the gamma magnification factor, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0110] It represents the average of the gamma values respectively corresponding to multiple gray levels within the gray level interval in the first dimming mode and at the current display brightness value. It represents the average of the gamma values respectively corresponding to multiple gray levels within the gray level interval in the second dimming mode and at the current display brightness value.

[0111] According to the relational expression (2) of the embodiments of the present application, by using the average of the gamma values corresponding to multiple gray levels within the gray level interval, multiple gray levels within the gray level interval can also be taken into account, thereby ensuring that the obtained adjustment coefficient is applicable to multiple gray levels within the gray level interval.

[0112] In some optional embodiments, as Figure 4 shown, the compensation method for the display panel provided by the embodiments of the present application may further include S124. S124 may be executed before S122. S124, obtain the third gamma value corresponding to the gray levels within the gray level interval in the first dimming mode and at the reference display brightness value, and the fourth gamma value corresponding to the gray levels within the gray level interval in the second dimming mode and at the reference display brightness value.

[0113] Correspondingly, S122 may specifically include: determining a first gamma magnification of the current display brightness value relative to the reference display brightness value in the first dimming mode according to the first gamma value and the third gamma value, and according to the second gamma value and the fourth gamma value, determining a second gamma magnification of the current display brightness value relative to the reference display brightness value in the second dimming mode.

[0114] S123 may specifically include: determining a second adjustment coefficient corresponding to the gray level interval according to the first gamma magnification, the second gamma magnification, and the first adjustment coefficient corresponding to the gray level interval.

[0115] The inventors have found through research that when the display brightness value is a relatively high brightness, the gamma values in different dimming modes may be the same or different. As shown in Table 1 and Table 2, when the brightness of the display brightness value is greater than 120 nit, the gamma values in the two dimming modes are the same. In this way, if the brightness corresponding to the reference display brightness is relatively high (for example, the reference display brightness is the maximum display brightness of the display panel), then when determining the second adjustment coefficient, the gamma value corresponding to the reference display brightness may no longer be considered. For example, the second adjustment coefficient may be determined based on the gamma magnification determined by the above relational expression (1) or (2). And when the display brightness value is a relatively high brightness, for the case where the gamma values in different dimming modes are different, the reference display brightness value may be further introduced according to the embodiments of the present application to determine the second adjustment coefficient, so as to improve the accuracy of the adjustment coefficient.

[0116] Exemplarily, the reference display brightness value can be one of multiple display brightness values of the display panel. During the gamma debugging process and the demura debugging process, an optical instrument is required to collect the brightness, color coordinates, etc. of the display panel. Limited by the stability, accuracy, etc. of the optical instrument, the values collected by the optical instrument at high brightness are relatively accurate. To ensure the accuracy of the obtained adjustment coefficient, the reference display brightness value can be the maximum display brightness value of the display panel.

[0117] Taking the first dimming method as dimming method A shown in Table 1, the second dimming method as dimming method B shown in Table 2, and taking the current display brightness value as 120 nit and the reference display brightness value as 500 nit as an example, for the red sub-pixel R in the gray scale interval x1 (gray scale 15 to gray scale 63), in S112, the gamma values corresponding to gray scale 15 to gray scale 63 under the two dimming methods, the current display brightness value, and the reference display brightness value can be read from the memory. For example, in dimming method A, the gamma value corresponding to gray scale 15 at the current display brightness value of 120 nit is 243, and the gamma value corresponding to gray scale 15 at the reference display brightness value of 500 nit is 292; in dimming method B, the gamma value corresponding to gray scale 15 at the current display brightness value of 120 nit is 264, and the gamma value corresponding to gray scale 15 at the reference display brightness value of 500 nit is 292.

[0118] For example, the third gamma value can include a fifth sub-gamma value and a sixth sub-gamma value. The fifth sub-gamma value can be the gamma value corresponding to the first gray scale in the gray scale interval under the first dimming method and at the reference display brightness value, and the sixth sub-gamma value can be the gamma value corresponding to the second gray scale in the gray scale interval under the first dimming method and at the reference display brightness value.

[0119] The fourth gamma value can include a seventh sub-gamma value and an eighth sub-gamma value. The seventh sub-gamma value can be the gamma value corresponding to the first gray scale in the gray scale interval under the second dimming method and at the reference display brightness value, and the eighth sub-gamma value can be the gamma value corresponding to the second gray scale in the gray scale interval under the second dimming method and at the reference display brightness value.

[0120] Similarly, since the first gray scale and the second gray scale in the gray scale interval can reflect the gray scale range of the gray scale interval as a whole, the gamma values corresponding to the first gray scale and the second gray scale are the gamma value range corresponding to the gray scale interval. In this way, each gray scale in the gray scale interval can be taken into account, and thus it is ensured that the obtained adjustment coefficient is applicable to each gray scale in the gray scale interval.

[0121] For another example, the third gamma value may include gamma values corresponding to multiple gray levels within a gray level interval in the first dimming mode and at the reference display brightness value, and the fourth gamma value may include gamma values corresponding to multiple gray levels within the gray level interval in the second dimming mode and at the reference display brightness value.

[0122] In some alternative embodiments, S122 may specifically include determining the first gamma magnification factor and the second gamma magnification factor according to the following relational expression (3).

[0123]

[0124] Wherein, k1 represents the first gamma magnification factor, k2 represents the second gamma magnification factor, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0125] Δgamma01 represents the difference between the fifth sub-gamma value and the sixth sub-gamma value, and Δgamma02 represents the difference between the seventh sub-gamma value and the eighth sub-gamma value.

[0126] Exemplarily, still taking the first dimming mode as dimming mode A shown in Table 1, the second dimming mode as dimming mode B shown in Table 2, and taking the current display brightness value as 120 nit and the reference display brightness value as 500 nit as an example, for the red sub-pixel R within the gray level interval x1 (gray levels 15 to 63), Δgamma1 = 372 - 243, Δgamma01 = 462 - 292, Δgamma2 = 414 - 264, Δgamma02 = 462 - 292, and then the first gamma magnification factor k1 and the second gamma magnification factor k2 can be calculated.

[0127] In some alternative embodiments, S112 may specifically include determining the first gamma magnification factor and the second gamma magnification factor according to the following relational expression (4).

[0128]

[0129] Wherein, represents the average value of gamma values corresponding to multiple gray levels within the gray level interval in the first dimming mode and at the current display brightness value, represents the average value of gamma values corresponding to multiple gray levels within the gray level interval in the first dimming mode and at the reference display brightness value, represents the average value of gamma values corresponding to multiple gray levels within the gray level interval in the second dimming mode and at the current display brightness value, It represents the average value of the gamma values corresponding to multiple gray levels within the gray level range in the second dimming mode and at the reference display brightness value. It should be noted that there is no limitation on the multiple gray levels here. The multiple gray levels within the gray level range can be multiple gray levels evenly distributed within the gray level range, and the multiple gray levels within the gray level range can also include each gray level within the gray level range.

[0130] Similarly, according to the relational expression (4) of the embodiment of the present application, by using the average value of the gamma values corresponding to multiple gray levels within the gray level range, multiple gray levels within the gray level range can also be taken into account, thereby ensuring that the obtained adjustment coefficient is applicable to multiple gray levels within the gray level range.

[0131] Still taking the first dimming mode as dimming mode A shown in Table 1, the second dimming mode as dimming mode B shown in Table 2, and taking the current display brightness value as 120 nit and the reference display brightness value as 500 nit as an example, for the red sub-pixel R within the gray level range x1 (15 gray levels to 63 gray levels), the gamma values corresponding to the 15 gray levels to 63 gray levels of the red sub-pixel R in the first dimming mode and at the current display brightness value can be obtained first, and then the sum of these gamma values is divided by the number of gray levels in this gray level range to obtain Similarly, it can be determined according to the determination method of gamma01, gamma02, and then the first gamma magnification factor k1 and the second gamma magnification factor k2 can be calculated.

[0132] Furthermore, S123 can specifically include: determining the second adjustment coefficient corresponding to this gray level range according to the ratio of the first gamma magnification factor and the second gamma magnification factor and the first adjustment coefficient corresponding to the gray level range. For example, the ratio of the first gamma magnification factor and the second gamma magnification factor can be calculated, and the product of this ratio and the first adjustment coefficient corresponding to the gray level range is calculated, and this product is determined as the second adjustment coefficient corresponding to this gray level range. The second adjustment coefficient can be specifically calculated through the following formula:

[0133]

[0134] Among them, fs_2 represents the second adjustment coefficient; fs_1 represents the first adjustment coefficient; k1 represents the first gamma magnification factor; k2 represents the second gamma magnification factor.

[0135] For example, if k1 and k2 are determined according to the above relational expression (3), then for the gray level range (15 gray levels to 63 gray levels), the adjustment coefficient corresponding to the red sub-pixel R at the current display brightness value (120 nit) can be the ratio of (414 - 264) to (372 - 243).

[0136] In some alternative embodiments, such as Figure 5As shown, S130 may specifically include:

[0137] Determine the target compensation data of the display panel under the second dimming method and the current brightness value according to the reference compensation data, the second adjustment coefficient, the current display brightness value, and the reference display brightness value.

[0138] Specifically, determine the target compensation data corresponding to any gray-scale interval according to the following relational expression (5):

[0139]

[0140] Wherein, M1 represents the target compensation data, M0 represents the reference compensation data corresponding to the display panel under the first dimming method and the reference display brightness value, DBVn represents the register value corresponding to the current display brightness value, DBV0 represents the register value corresponding to the reference display brightness value, and fs_2 represents the second adjustment coefficient.

[0141] M0 may be pre-stored in the memory corresponding to the display panel. Exemplarily, when performing demura debugging on the display panel, M0 corresponding to each gray-scale interval can be determined under the first dimming method and the reference display brightness value, and M0 can be stored in the memory corresponding to the display panel.

[0142] Exemplarily, the initial value of the first adjustment coefficient can be a parameter manually set by a technician during debugging and solidified into the algorithm. The first adjustment coefficient can be the adjustment coefficient calculated during the previous dimming method switch. It should be noted that both the first adjustment coefficient and the second adjustment coefficient are coefficients for demura compensation of the display panel.

[0143] For example, the first adjustment coefficient of the current display brightness value relative to the reference display brightness value under the first dimming method can be determined in advance. As shown in Table 3, the display brightness values of the display panel can include DBV0 to DBV5, and the gray-scale intervals of the display panel can include Gray0 to Gray4. The specific values of Gray0 to Gray4 can be a gray-scale value within each gray-scale interval of the display panel. Taking the reference display brightness value as DBV0 as an example, the current display brightness value can be any one of DBV1 to DBV5 in Table 3. The specific values of the first adjustment coefficient Gain[7:0] corresponding to each gray-scale interval under each display brightness value and under the first dimming method can be determined, where the gray-scale bit number of the display panel can be 8bit, the gray-scale range can be 0 to 255, and Gain[7:0] represents the value of the second adjustment coefficient corresponding to a certain gray-scale in 0 to 255. It can be understood that under DBV0, the values of the first adjustment coefficient corresponding to Gray0 to Gray4 can all be 1.

[0144] Table 3

[0145] Gray0 Gray1 Gray2 Gray3 Gray4 DBV0 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] DBV1 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] DBV2 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] DBV3 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] DBV4 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] DBV5 Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0] Gain[7:0]

[0146] Exemplarily, M0 can be a specific value, for example, M0 is the compensated gray scale value.

[0147] Still taking the brightness of the current display brightness value as 120 nit as an example, as shown in Table 1 or Table 2, DBVn = 03BF, which is in hexadecimal notation. During the calculation using Equation (7), the register value can be converted from hexadecimal to decimal, and the same applies to DBV0.

[0148] As mentioned above, limited by the stability and accuracy of the optical instrument, etc., the values collected by the optical instrument at high brightness will be relatively accurate. To ensure the accuracy of the obtained target compensation data, the reference display brightness value in any of the above embodiments can also be the maximum display brightness value of the display panel.

[0149] In addition, the inventor simulated the display panel to obtain the data shown in Table 4.

[0150] Table 4

[0151]

[0152]

[0153] Table 4 shows the first adjustment coefficient and the second adjustment coefficient corresponding to the gray scale intervals x1 to x3, R sub-pixels, G sub-pixels, and B sub-pixels respectively, and still taking dimming method B as the first dimming method and dimming method A as the second dimming method as an example. For example, taking the ratio of the second adjustment coefficient to the first adjustment coefficient as the change amount of the adjustment coefficient, the change amount of the adjustment coefficient of the R sub-pixel within the gray scale interval x1 is equal to 0.899 / 0.736, and the change amount of the adjustment coefficient of the R sub-pixel within the gray scale interval x1 is approximately 122%. It can be seen that the change of the second adjustment coefficient relative to the first adjustment coefficient is relatively large. And under dimming method A, the inventor compensates the display panel based on the first adjustment coefficient and the second adjustment coefficient respectively. The effect of compensating the display panel based on the first adjustment coefficient under dimming method A is not ideal, and the effect of compensating the display panel based on the second adjustment coefficient under dimming method A can meet the requirements.

[0154] The embodiment of the present application also provides a compensation device for a display panel, and the display panel supports a first dimming method and a second dimming method. As Figure 6 shown, the compensation device 600 of the display panel includes a first data acquisition module 601, a second data acquisition module 603, and a determination module 603.

[0155] The first data acquisition module 601 is configured to acquire reference compensation data of the display panel under the first dimming method and the reference display brightness value;

[0156] A second data acquisition module 602, configured to obtain a second adjustment coefficient at the current display brightness value in the second dimming mode according to a first adjustment coefficient at the current display brightness value in the first dimming mode;

[0157] A determination module 603, configured to determine target compensation data corresponding to the display panel in the second dimming mode and at the current brightness value according to the reference compensation data and the second adjustment coefficient.

[0158] According to the compensation device for a display panel provided in an embodiment of the present application, on the one hand, different dimming modes can be taken into account. The second adjustment coefficient in the second dimming mode is determined according to the first adjustment coefficient in the first dimming mode, and the target compensation data in the second dimming mode is determined according to the reference compensation data at the reference display brightness value and the second adjustment coefficient. In this way, when the display panel switches from the first dimming mode to the second dimming mode, the display panel can be compensated based on the target compensation data, so that the compensation is more in line with the second dimming mode and the compensation effect is improved. On the other hand, different display brightness values can be taken into account. Since the second adjustment coefficient corresponds to the current brightness value, the obtained target compensation data is also more in line with the current brightness value, so that the compensation effect can be further improved.

[0159] In some optional embodiments, the gray scale range of the display panel is divided into multiple gray scale intervals;

[0160] Correspondingly, the first adjustment coefficient includes adjustment coefficients respectively corresponding to each gray scale interval at the current display brightness value in the first dimming mode, the second adjustment coefficient includes adjustment coefficients respectively corresponding to each gray scale interval at the current display brightness value in the second dimming mode, and the target compensation data includes compensation data respectively corresponding to each gray scale interval of the display panel in the second dimming mode and at the current brightness value.

[0161] In some optional embodiments, the second data acquisition module 602 may specifically be configured to:

[0162] For any one gray scale interval, obtain a first gamma value corresponding to the gray scales within the gray scale interval in the first dimming mode and at the current display brightness value, and a second gamma value corresponding to the gray scales within the gray scale interval in the second dimming mode and at the current display brightness value;

[0163] Determine a gamma magnification factor when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value;

[0164] Determine the second adjustment coefficient corresponding to the gray scale interval according to the gamma magnification factor and the first adjustment coefficient corresponding to the gray scale interval;

[0165] Optionally, the first gamma value includes a first sub-gamma value and a second sub-gamma value, where the first sub-gamma value is the gamma value corresponding to the first gray level in the gray level interval under the first dimming mode and at the current display brightness value, and the second sub-gamma value is the gamma value corresponding to the second gray level in the gray level interval under the first dimming mode and at the current display brightness value; the second gamma value includes a third sub-gamma value and a fourth sub-gamma value, where the third sub-gamma value is the gamma value corresponding to the first gray level in the gray level interval under the second dimming mode and at the current display brightness value, and the fourth sub-gamma value is the gamma value corresponding to the second gray level in the gray level interval under the second dimming mode and at the current display brightness value;

[0166] Alternatively, the first gamma value includes the gamma values respectively corresponding to multiple gray levels in the gray level interval under the first dimming mode and at the current display brightness value, and the second gamma value includes the gamma values respectively corresponding to multiple gray levels in the gray level interval under the second dimming mode and at the current display brightness value.

[0167] In some alternative embodiments, the determining module 603 may specifically be configured to: calculate the product of the gamma magnification factor and the first adjustment coefficient corresponding to the gray level interval to obtain the second adjustment coefficient corresponding to the gray level interval.

[0168] In some alternative embodiments, the second data acquisition module 602 may specifically be configured to: determine the gamma magnification factor according to the following relational expression (1) or (2):

[0169]

[0170]

[0171] where k represents the gamma magnification factor, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0172] represents the average value of the gamma values respectively corresponding to multiple gray levels in the gray level interval under the first dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels in the gray level interval under the second dimming mode and at the current display brightness value.

[0173] In some alternative embodiments, the second data acquisition module 602 may specifically be configured to:

[0174] acquire the third gamma value corresponding to the gray levels in the gray level interval under the first dimming mode and at the reference display brightness value, and the fourth gamma value corresponding to the gray levels in the gray level interval under the second dimming mode and at the reference display brightness value;

[0175] Determine a first gamma magnification of the current display brightness value relative to the reference display brightness value in the first dimming mode according to the first gamma value and the third gamma value, and determine a second gamma magnification of the current display brightness value relative to the reference display brightness value in the second dimming mode according to the second gamma value and the fourth gamma value;

[0176] In some alternative embodiments, the determining module 603 may specifically be configured to: determine a second adjustment coefficient corresponding to the gray scale interval according to the first gamma magnification, the second gamma magnification, and the first adjustment coefficient corresponding to the gray scale interval;

[0177] Optionally, the reference display brightness value includes the maximum display brightness value of the display panel.

[0178] Optionally, the third gamma value includes a fifth sub-gamma value and a sixth sub-gamma value. The fifth sub-gamma value is the gamma value corresponding to the first gray scale in the gray scale interval in the first dimming mode and at the reference display brightness value, and the sixth sub-gamma value is the gamma value corresponding to the second gray scale in the gray scale interval in the first dimming mode and at the reference display brightness value; the fourth gamma value includes a seventh sub-gamma value and an eighth sub-gamma value. The seventh sub-gamma value is the gamma value corresponding to the first gray scale in the gray scale interval in the second dimming mode and at the reference display brightness value, and the eighth sub-gamma value is the gamma value corresponding to the second gray scale in the gray scale interval in the second dimming mode and at the reference display brightness value;

[0179] Alternatively, the third gamma value includes the gamma values respectively corresponding to multiple gray scales in the gray scale interval in the first dimming mode and at the reference display brightness value, and the fourth gamma value includes the gamma values respectively corresponding to multiple gray scales in the gray scale interval in the second dimming mode and at the reference display brightness value;

[0180] Optionally, in some alternative embodiments, the second data acquisition module 602 may specifically be configured to:

[0181] Determine the first gamma magnification and the second gamma magnification according to the following relational expression (3), or determine the first gamma magnification and the second gamma magnification according to the following relational expression (4):

[0182]

[0183]

[0184] wherein, k1 represents the first gamma magnification, k2 represents the second gamma magnification, Δgamma1 represents the difference between the first sub-gamma value and the second sub-gamma value, and Δgamma2 represents the difference between the third sub-gamma value and the fourth sub-gamma value;

[0185] Δgamma01 represents the difference between the fifth sub - gamma value and the sixth sub - gamma value, and Δgamma02 represents the difference between the seventh sub - gamma value and the eighth sub - gamma value;

[0186] represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray - scale interval in the first dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray - scale interval in the first dimming mode and at the reference display brightness value, represents the average value of the gamma values respectively corresponding to the gray levels within the gray - scale interval in the second dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray - scale interval in the second dimming mode and at the reference display brightness value;

[0187] In some alternative embodiments, the determining module 603 may specifically be configured to:

[0188] Calculate the ratio of the first gamma magnification factor and the second gamma magnification factor, and calculate the product of the ratio and the first adjustment coefficient corresponding to the gray - scale interval to obtain the second adjustment coefficient corresponding to the gray - scale interval.

[0189] In some alternative embodiments, the determining module 603 may specifically be configured to: Determine the target compensation data corresponding to any gray - scale interval according to the following relational expression (5):

[0190]

[0191] where M1 represents the target compensation data, M0 represents the reference compensation data of the display panel in the first dimming mode and at the reference display brightness value, DBVn represents the register value corresponding to the current display brightness value, DBV0 represents the register value corresponding to the reference display brightness value, and fs_2 represents the second adjustment coefficient;

[0192] Optionally, the reference display brightness value includes the maximum display brightness value of the display panel.

[0193] The compensation device 600 of the display panel provided by the embodiments of the present application can implement each process in the compensation method embodiments of the display panel as shown in Figure 1 To avoid repetition, it will not be elaborated here.

[0194] Figure 7 shows the schematic hardware structure diagram of the electronic device provided by the embodiments of the present application.

[0195] In the electronic device, it may include a processor 801 and a memory 802 storing computer program instructions.

[0196] Specifically, the above-mentioned processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be an integrated circuit configured to implement one or more embodiments of the present invention.

[0197] The memory 802 may include a mass storage for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In a suitable case, the memory 802 may include a removable or non-removable (or fixed) medium. In a suitable case, the memory 802 may be internal or external to the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory. In a specific embodiment, the memory 802 includes a read-only memory (ROM). In a suitable case, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory or a combination of two or more of these. Exemplarily, the memory may include a non-volatile transient memory.

[0198] The processor 801 reads and executes the computer program instructions stored in the memory 802 to implement any one of the display panel compensation methods in the above embodiments.

[0199] In one example, the electronic device may further include a communication interface 803 and a bus 810. As shown in Figure 7 , the processor 801, the memory 802, and the communication interface 803 are connected through the bus 810 and complete communication with each other.

[0200] The communication interface 803 is mainly used to implement communication between various modules, devices, units, and / or devices in the embodiments of the present invention.

[0201] Bus 810 includes hardware, software, or both, and couples components of the compensation voltage determination device to each other. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable bus or a combination of two or more of these. Where appropriate, bus 810 may include one or more buses. Although embodiments of the present invention describe and illustrate specific buses, the present invention contemplates any suitable bus or interconnect.

[0202] The electronic device can execute the compensation method of the display panel in the embodiments of the present application, so as to implement the combination Figure 1 and Figure 6 the compensation method of the display panel and the compensation device of the display panel described.

[0203] Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the compensation method of the display panel in the above embodiments can be implemented, and the same technical effects can be achieved. To avoid repetition, it will not be described here again. Among them, the above computer-readable storage medium may include a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, etc., which are not limited here.

[0204] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), appropriate firmware, a plug-in, a function card, and so on. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium or transmitted via a data signal carried in a carrier wave on a transmission medium or a communication link. A "computer-readable medium" can include any medium that can store or transmit information. Examples of computer-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, Erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency links, and so on. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0205] According to an embodiment of the present application, the computer-readable storage medium may be a non-transitory computer-readable storage medium.

[0206] It should also be noted that in the exemplary embodiments mentioned in the present application, some methods or systems are described based on a series of steps or devices. However, the present application is not limited to the order of the above steps. That is to say, the steps can be executed in the order mentioned in the embodiments, or different from the order in the embodiments, or several steps can be executed simultaneously.

[0207] The various aspects of the present application have been described above with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each block in the flowchart and / or block diagram, and the combination of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more blocks of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It can also be understood that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can also be implemented by dedicated hardware that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0208] In accordance with the embodiments of the present application as described above, these embodiments do not describe all the details in detail, nor do they limit the application to the specific embodiments described. Obviously, many modifications and variations can be made according to the above description. The present specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can make good use of the present application and its modifications based on the present application. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. A compensation method for a display panel, characterized in that, The display panel has a first dimming mode and a second dimming mode, and the method includes: Obtaining reference compensation data of the display panel in the first dimming mode and at a reference display brightness value; obtaining a second adjustment coefficient in the second dimming mode and at the current display brightness value according to a first adjustment coefficient in the first dimming mode and at the current display brightness value; Determining target compensation data corresponding to the display panel in the second dimming mode and at the current display brightness value according to the reference compensation data and the second adjustment coefficient; The gray scale range of the display panel is divided into a plurality of gray scale intervals; Correspondingly, the first adjustment coefficient includes adjustment coefficients respectively corresponding to the gray scale intervals at the current display brightness value and in the first dimming mode, the second adjustment coefficient includes adjustment coefficients respectively corresponding to the gray scale intervals at the current display brightness value and in the second dimming mode, and the target compensation data includes compensation data respectively corresponding to the gray scale intervals of the display panel in the second dimming mode and at the current display brightness value; The obtaining of the second adjustment coefficient in the second dimming mode and at the current display brightness value according to the first adjustment coefficient in the first dimming mode and at the current display brightness value includes: For any one of the gray scale intervals, obtaining a first gamma value corresponding to the gray scales in the gray scale interval in the first dimming mode and at the current display brightness value, and a second gamma value corresponding to the gray scales in the gray scale interval in the second dimming mode and at the current display brightness value; Determining a gamma magnification factor when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value; Determining the second adjustment coefficient corresponding to the gray scale interval according to the gamma magnification factor and the first adjustment coefficient corresponding to the gray scale interval.

2. The method according to claim 1, wherein The first gamma value includes a first sub-gamma value and a second sub-gamma value, where the first sub-gamma value is the gamma value corresponding to the first gray scale in the gray scale interval in the first dimming mode and at the current display brightness value, and the second sub-gamma value is the gamma value corresponding to the second gray scale in the gray scale interval in the first dimming mode and at the current display brightness value; the second gamma value includes a third sub-gamma value and a fourth sub-gamma value, where the third sub-gamma value is the gamma value corresponding to the first gray scale in the gray scale interval in the second dimming mode and at the current display brightness value, and the fourth sub-gamma value is the gamma value corresponding to the second gray scale in the gray scale interval in the second dimming mode and at the current display brightness value; Alternatively, the first gamma value includes gamma values respectively corresponding to a plurality of gray scales in the gray scale interval in the first dimming mode and at the current display brightness value, and the second gamma value includes gamma values respectively corresponding to a plurality of gray scales in the gray scale interval in the second dimming mode and at the current display brightness value.

3. The method according to claim 2, characterized in that, Determining the second adjustment coefficient corresponding to the gray scale interval according to the first adjustment coefficient corresponding to the gamma magnification factor and the gray scale interval includes: Calculating the product of the gamma magnification factor and the first adjustment coefficient corresponding to the gray scale interval to obtain the second adjustment coefficient corresponding to the gray scale interval.

4. The method according to claim 3, wherein Determining the gamma magnification factor of the second dimming mode relative to the first dimming mode according to the first gamma value and the second gamma value includes: Determining the gamma magnification factor according to the following relational expression (1) or (2): (1) (2) where k represents the gamma magnification factor, represents the difference between the first sub-gamma value and the second sub-gamma value, represents the difference between the third sub-gamma value and the fourth sub-gamma value; represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval in the first dimming mode and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval in the second dimming mode and at the current display brightness value.

5. The method according to claim 2, wherein The method further includes: Obtaining a third gamma value corresponding to a gray scale within the gray scale interval in the first dimming mode and at a reference display brightness value, and a fourth gamma value corresponding to the gray scale within the gray scale interval in the second dimming mode and at the reference display brightness value; Determining the gamma magnification factor when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value includes: Determining a first gamma magnification factor of the current display brightness value relative to the reference display brightness value in the first dimming mode according to the first gamma value and the third gamma value, and determining a second gamma magnification factor of the current display brightness value relative to the reference display brightness value in the second dimming mode according to the second gamma value and the fourth gamma value; Determining the second adjustment coefficient corresponding to the gray scale interval according to the gamma magnification factor and the first adjustment coefficient includes: Determining the second adjustment coefficient corresponding to the gray scale interval according to the first gamma magnification factor, the second gamma magnification factor, and the first adjustment coefficient corresponding to the gray scale interval.

6. The method according to claim 5, wherein The third gamma value includes a fifth sub-gamma value and a sixth sub-gamma value. The fifth sub-gamma value is the gamma value corresponding to a first gray scale within the gray scale interval in the first dimming mode and at the reference display brightness value, and the sixth sub-gamma value is the gamma value corresponding to a second gray scale within the gray scale interval in the first dimming mode and at the reference display brightness value; the fourth gamma value includes a seventh sub-gamma value and an eighth sub-gamma value. The seventh sub-gamma value is the gamma value corresponding to the first gray scale within the gray scale interval in the second dimming mode and at the reference display brightness value, and the eighth sub-gamma value is the gamma value corresponding to the second gray scale within the gray scale interval in the second dimming mode and at the reference display brightness value; Alternatively, the third gamma value includes gamma values respectively corresponding to multiple gray scales within the gray scale interval in the first dimming mode and at the reference display brightness value, and the fourth gamma value includes gamma values respectively corresponding to multiple gray scales within the gray scale interval in the second dimming mode and at the reference display brightness value.

7. The method according to claim 6, wherein Determining a first gamma magnification of the current display brightness value relative to the reference display brightness value in the first dimming mode according to the first gamma value and the third gamma value, and determining a second gamma magnification of the current display brightness value relative to the reference display brightness value in the second dimming mode according to the second gamma value and the fourth gamma value includes: Determining the first gamma magnification and the second gamma magnification according to the following relational expression (3), or determining the first gamma magnification and the second gamma magnification according to the following relational expression (4): and (3) and , (4) Among them, represents the first gamma magnification factor, represents the second gamma magnification factor, represents the difference between the first sub-gamma value and the second sub-gamma value, represents the difference between the third sub-gamma value and the fourth sub-gamma value; representing the difference between the fifth sub-gamma value and the sixth sub-gamma value, representing the difference between the seventh sub-gamma value and the eighth sub-gamma value; represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval under the first dimming method and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval under the first dimming method and at the reference display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval under the second dimming method and at the current display brightness value, represents the average value of the gamma values respectively corresponding to multiple gray levels within the gray level interval under the second dimming method and at the reference display brightness value.

8. The method according to claim 7, wherein Determining the second adjustment coefficient corresponding to the gray scale interval according to the first gamma magnification, the second gamma magnification, and the first adjustment coefficient corresponding to the gray scale interval includes: Calculating the ratio of the first gamma magnification and the second gamma magnification, and calculating the product of the ratio and the first adjustment coefficient corresponding to the gray scale interval to obtain the second adjustment coefficient corresponding to the gray scale interval.

9. The method according to claim 1, characterized in that Determining the target compensation data corresponding to the display panel in the second dimming mode and the current display brightness value according to the reference compensation data and the second adjustment coefficient includes: Determining the target compensation data corresponding to any one of the gray scale intervals according to the following relational expression (5): (5) Among them, represents the target compensation data, represents the reference compensation data of the display panel in the first dimming mode and at the reference display brightness value, represents the register value corresponding to the current display brightness value, represents the register value corresponding to the reference display brightness value, represents the second adjustment coefficient.

10. The method according to claim 1, wherein The reference display brightness value includes the maximum display brightness value of the display panel.

11. A compensation device for a display panel, characterized in that The display panel supports a first dimming mode and a second dimming mode, and the device includes: A first data acquisition module, configured to acquire reference compensation data of the display panel in the first dimming mode and at the reference display brightness value; A second data acquisition module, configured to acquire a second adjustment coefficient in the second dimming mode and at the current display brightness value according to a first adjustment coefficient in the first dimming mode and at the current display brightness value; A determination module, configured to determine target compensation data corresponding to the display panel in the second dimming mode and at the current display brightness value according to the reference compensation data and the second adjustment coefficient; The gray scale range of the display panel is divided into a plurality of gray scale intervals; Correspondingly, the first adjustment coefficient includes adjustment coefficients respectively corresponding to the gray scale intervals at the current display brightness value and in the first dimming mode, the second adjustment coefficient includes adjustment coefficients respectively corresponding to the gray scale intervals at the current display brightness value and in the second dimming mode, and the target compensation data includes compensation data respectively corresponding to the gray scale intervals of the display panel in the second dimming mode and at the current display brightness value; Specifically, for any one of the gray scale intervals, the second data acquisition module is configured to acquire a first gamma value corresponding to a gray scale in the gray scale interval in the first dimming mode and at the current display brightness value, and a second gamma value corresponding to the gray scale in the gray scale interval in the second dimming mode and at the current display brightness value; Determining a gamma magnification when switching from the first dimming mode to the second dimming mode according to the first gamma value and the second gamma value; Determine the second adjustment coefficient corresponding to the gray scale interval according to the first adjustment coefficient corresponding to the gamma magnification factor and the gray scale interval.

12. An electronic device, characterized in that, The electronic device includes: a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the compensation method for the display panel according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium, characterized in that, A program or instruction is stored on the computer-readable storage medium. When the program or instruction is executed by the processor, the steps of the compensation method for the display panel according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Display screen dimming method and device, storage medium and electronic equipment

    CN108022545A

  • Display screen dimming method, device, storage medium and electronic device

    CN109215549A