Optical compensation method and device of display panel and computer readable storage medium

By establishing the correspondence between brightness level and grayscale and register value compensation coefficient, the target register value compensation coefficient is determined, and the target area of ​​the OLED display panel is compensated, which solves the problems of color shift and uneven brightness of the display panel and improves the display effect.

CN117292649BActive Publication Date: 2026-06-23KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD
Filing Date
2023-09-26
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In existing technologies, OLED display panels suffer from color shift and uneven brightness in some areas, especially at the edges where the problem has not been effectively addressed.

Method used

By obtaining the brightness level and grayscale of the target partition, the correspondence between brightness level, grayscale and register value compensation coefficient is established, the target register value compensation coefficient is determined, and register value compensation is performed on the sub-pixels in the target partition.

Benefits of technology

It has achieved the repair of color shift and brightness unevenness in OLED display panels, thus improving display quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117292649B_ABST
    Figure CN117292649B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an optical compensation method and device for a display panel and a computer readable storage medium, the display panel comprising a plurality of partitions, each partition comprising at least one sub-pixel, the method comprising: obtaining a target brightness level to be displayed by a target partition and a target gray scale to be displayed by a sub-pixel in the target partition; for the sub-pixel in the target partition, determining a target register value compensation coefficient corresponding to the target gray scale at the target brightness level according to a first correspondence relationship between the brightness level corresponding to the target partition, the gray scale and a register value compensation coefficient; and compensating the register value of the sub-pixel in the target partition based on the target register value compensation coefficient. Embodiments of the present application can improve color deviation and / or brightness unevenness of the target partition, and improve the display quality of the display panel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of display technology, and in particular relates to an optical compensation method, apparatus and computer-readable storage medium for a display panel. Background Technology

[0002] Organic Light Emitting Display (OLED) offers advantages over Liquid Crystal Display (LCD) such as high color gamut, high contrast, flexibility, and wearability, gradually becoming the development trend of the display industry. While OLED display technology has matured with advancements in technology, some shortcomings still exist, such as color shift visible to the human eye in certain areas of the display panel. Summary of the Invention

[0003] This application provides an optical compensation method, apparatus, and computer-readable storage medium for a display panel, which can improve the color shift phenomenon of the display panel and enhance the display quality of the display panel.

[0004] In a first aspect, embodiments of this application provide an optical compensation method for a display panel. The display panel includes multiple partitions, each partition including at least one sub-pixel. The optical compensation method for the display panel includes: obtaining a target brightness level to be displayed in a target partition and a target grayscale to be displayed in a sub-pixel of the target partition, wherein the target partition is at least one partition in the display panel; for a sub-pixel in the target partition, determining a target register value compensation coefficient corresponding to the target grayscale at the target brightness level based on a first correspondence between the brightness level, grayscale, and register value compensation coefficient corresponding to the target partition; and compensating the register value of the sub-pixel in the target partition based on the target register value compensation coefficient.

[0005] According to the first aspect of this application, before obtaining the target brightness level to be displayed in the target partition and the target grayscale to be displayed in the sub-pixels of the target partition, the optical compensation method of the display panel further includes: for any i-th brightness level among a plurality of preset brightness levels, obtaining the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level, where i is a positive integer; determining the second partition in the display panel that has color shift; calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level; obtaining the register value compensation coefficient of the second partition corresponding to each of the plurality of grayscales at the i-th brightness level based on the second correspondence between the brightness corresponding to the grayscale and the brightness corresponding to the brightness level and the register value compensation coefficient of the second partition corresponding to the first target grayscale at at least one brightness level; and obtaining the first correspondence between the brightness level, grayscale and register value compensation coefficient of the second partition corresponding to the second partition based on the register value compensation coefficient of the second partition corresponding to the plurality of grayscales at at least one brightness level.

[0006] Thus, the embodiments of this application can obtain a first correspondence between the brightness level, grayscale and register value compensation coefficient of each second partition. Through the first correspondence between the brightness level, grayscale and register value compensation coefficient of the second partition, the target register value compensation coefficient of the second partition is obtained. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the second partition are compensated, which can realize the repair of color shift and / or brightness unevenness in the second partition, improve the color shift and / or brightness unevenness in the second partition, and improve the display quality of the display panel.

[0007] According to any of the foregoing embodiments of the first aspect of this application, the first partition is the partition where the center of the display panel is located.

[0008] According to any of the foregoing embodiments of the first aspect of this application, determining the second partition in the display panel where color shift occurs specifically includes: obtaining the color coordinates of the first partition and the color coordinates of other partitions besides the first partition; when the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the partition is determined as the second partition.

[0009] According to any of the foregoing embodiments of the first aspect of this application, the color coordinates include horizontal color coordinates and vertical color coordinates, and the preset thresholds include a first sub-preset threshold and a second sub-preset threshold; when the difference between the color coordinates of a partition and the color coordinates of the first partition is greater than or equal to the preset threshold, the partition is determined as the second partition, specifically including: when the absolute value of the difference between the horizontal color coordinates of the partition and the horizontal color coordinates of the first partition is greater than or equal to the first sub-preset threshold, and / or when the absolute value of the difference between the vertical color coordinates of the partition and the vertical color coordinates of the first partition is greater than or equal to the second sub-preset threshold, the partition is determined as the second partition.

[0010] In this way, by comparing the color coordinates of the other partitions (excluding the first partition) with the color coordinates of the first partition, the second partition where color shift occurs can be accurately determined, which is beneficial for accurate compensation of the second partition where color shift occurs.

[0011] According to any of the foregoing embodiments of the first aspect of this application, the optical compensation method for the display panel further includes: when the absolute value of the difference between the horizontal color coordinate of the partition and the horizontal color coordinate of the first partition is less than a first sub-preset threshold, and the absolute value of the difference between the vertical color coordinate of the partition and the vertical color coordinate of the first partition is less than a second sub-preset threshold, the partition and the first partition are classified as the same partition.

[0012] In this way, grouping the partitions that have not experienced color shift into the same partition as the first partition can reduce the number of second partitions to be compensated, improve compensation efficiency, and reduce the amount of computation required for compensation.

[0013] According to any of the foregoing embodiments of the first aspect of this application, calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: when the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, adjusting the register value of the sub-pixels in the second partition until the difference between the color coordinates of the second partition and the color coordinates of the first partition is less than the preset threshold, thereby obtaining the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level; and obtaining the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level based on the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level.

[0014] According to any of the foregoing embodiments of the first aspect of this application, the register value includes a first register value corresponding to a first color sub-pixel, a second register value corresponding to a second color sub-pixel, and / or a third register value corresponding to a third color sub-pixel; the color coordinates include horizontal color coordinates and vertical color coordinates, and the preset threshold includes a first sub-preset threshold and a second sub-preset threshold; when the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to the preset threshold, the register value of the sub-pixel in the second partition is adjusted, specifically including: when the brightness of the second partition is greater than or equal to the brightness of the first partition, adjusting the register value of the sub-pixel in the second partition according to a first adjustment strategy; when the brightness of the second partition is less than the brightness of the first partition, adjusting the register value of the sub-pixel in the second partition according to a second adjustment strategy.

[0015] According to any of the foregoing embodiments of the first aspect of this application, the first adjustment strategy includes: when the horizontal color coordinate of the second partition is greater than the horizontal color coordinate of the first partition, and the vertical color coordinate of the second partition is greater than the vertical color coordinate of the first partition, decreasing the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or when the horizontal color coordinate of the second partition is less than the horizontal color coordinate of the first partition, and the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition, decreasing the value of the third register corresponding to the second partition; and / or when the horizontal color coordinate of the second partition is greater than the horizontal color coordinate of the first partition, decreasing the value of the first register corresponding to the second partition; and / or when the horizontal color coordinate of the second partition is less than the horizontal color coordinate of the first partition or the vertical color coordinate of the second partition is greater than the vertical color coordinate of the first partition, decreasing the value of the second register corresponding to the second partition; and / or when the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition, increasing the value of the first register corresponding to the second partition.

[0016] According to any of the foregoing embodiments of the first aspect of this application, the second adjustment strategy includes: increasing the value of the third register corresponding to the second partition when the horizontal color coordinate of the second partition is greater than the horizontal color coordinate of the first partition and the vertical color coordinate of the second partition is greater than the vertical color coordinate of the first partition; and / or increasing the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition when the horizontal color coordinate of the second partition is less than the horizontal color coordinate of the first partition and the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition; and / or increasing the value of the second register corresponding to the second partition when the horizontal color coordinate of the second partition is greater than the horizontal color coordinate of the first partition; and / or increasing the value of the first register corresponding to the second partition when the horizontal color coordinate of the second partition is less than the horizontal color coordinate of the first partition or the vertical color coordinate of the second partition is greater than the vertical color coordinate of the first partition; and / or increasing the value of the second register corresponding to the second partition when the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition.

[0017] Thus, through the first adjustment strategy and / or the second adjustment strategy described above, the register values ​​of the sub-pixels in the second partition can be quickly adjusted, shortening the time for adjusting the register values ​​of the sub-pixels in the second partition and reducing the workload of adjusting the register values ​​of the sub-pixels in the second partition.

[0018] According to any of the foregoing embodiments of the first aspect of this application, calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: calculating the first register value compensation coefficient of the second partition corresponding to the first target grayscale at the first target brightness level and the second register value compensation coefficient of the second partition corresponding to the first target grayscale at the second target brightness level; the method further includes: determining the second partition at the third target brightness level based on the second partition divided at the first target brightness level and / or the second partition divided at the second target brightness level; and calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level according to the first register value compensation coefficient and the second register value compensation coefficient.

[0019] Thus, the register value compensation coefficient of the second partition corresponding to the first target grayscale under the third target brightness level can be obtained by calculation, which can reduce the number of times the register values ​​of sub-pixels in the second partition are adjusted, and greatly shorten the time to determine the register value compensation coefficient of the second partition corresponding to the first target grayscale under multiple brightness levels.

[0020] According to any of the foregoing embodiments of the first aspect of this application, the first register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level, and the second register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level; the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level is calculated based on the first register value compensation coefficient and the second register value compensation coefficient, specifically including: calculating the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level according to the following expression:

[0021]

[0022] Among them, fm(DBV) n fm(DBV1) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level, and fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. DBV1 represents the first target brightness level, DBV2 represents the second target brightness level, and DBV... n This indicates the third target brightness level.

[0023] Thus, based on the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the first target brightness level and the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the second target brightness level, the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the third target brightness level can be obtained by calculation. This reduces the number of times the register values ​​of the sub-pixels in the second partition are adjusted, and significantly shortens the time required to determine the register value compensation coefficients of the second partition corresponding to the first target grayscale at multiple brightness levels.

[0024] According to any of the foregoing embodiments of the first aspect of this application, determining a second partition under a third target brightness level based on a second partition divided under a first target brightness level and / or a second partition divided under a second target brightness level specifically includes: when the number of second partitions under the first target brightness level is greater than the number of second partitions under the second target brightness level, determining a second partition under the third target brightness level according to the second partitions under the first target brightness level; when the number of second partitions under the second target brightness level is greater than the number of second partitions under the first target brightness level, determining a second partition under the third target brightness level according to the second partitions under the second target brightness level.

[0025] According to any of the foregoing embodiments of the first aspect of this application, based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level, and the register value compensation coefficient of the second partition corresponding to the first target gray level under at least one brightness level, the register value compensation coefficient of the second partition corresponding to each of the multiple gray levels under the i-th brightness level is obtained. Specifically, this includes: calculating the brightness interval corresponding to a unit brightness level based on a preset brightness level and the brightness corresponding to the preset brightness level; for any j-th gray level under the i-th brightness level, obtaining the brightness corresponding to the j-th gray level, where j is a positive integer; determining the brightness level corresponding to the j-th gray level based on the brightness corresponding to the j-th gray level and the brightness interval; and using the register value compensation coefficient of the second partition corresponding to the first target gray level under the brightness level corresponding to the j-th gray level as the register value compensation coefficient of the second partition corresponding to the j-th gray level under the i-th brightness level.

[0026] In this way, the register value compensation coefficients of the second partition corresponding to multiple gray levels under different brightness levels can be obtained. Based on the register value compensation coefficients of the second partition corresponding to multiple gray levels under different brightness levels, the first correspondence relationship of the second partition can be obtained.

[0027] According to any of the foregoing embodiments of the first aspect of this application, the calculation of the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: calculating the brightness interval corresponding to a unit brightness level based on the preset brightness level and the brightness corresponding to the preset brightness level; when the difference between the brightness of the second partition and the brightness of the first partition is less than the brightness interval, the register value compensation coefficient of the second partition is set to 0.

[0028] Secondly, embodiments of this application provide an optical compensation device for a display panel. The display panel includes multiple zones, each zone including at least one sub-pixel. The optical compensation device for the display panel includes: an acquisition module, used to acquire a target brightness level to be displayed in a target zone and a target grayscale level to be displayed in a sub-pixel of the target zone, wherein the target zone is at least one zone in the display panel; a first determination module, used to determine, for a sub-pixel of the target zone, a target register value compensation coefficient corresponding to the target grayscale level under the target brightness level according to a first correspondence between the brightness level, grayscale level and register value compensation coefficient of the target zone; and a compensation module, used to compensate the register value of the sub-pixel of the target zone based on the target register value compensation coefficient.

[0029] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the optical compensation method for the display panel provided in the first aspect.

[0030] This application discloses an optical compensation method, apparatus, and computer-readable storage medium for a display panel. The display panel includes multiple zones, each zone including at least one sub-pixel. For a target zone in the display panel, the target brightness level to be displayed in the target zone and the target grayscale to be displayed in the sub-pixels of the target zone are obtained. For a sub-pixel in the target zone, a target register value compensation coefficient corresponding to the target grayscale at the target brightness level is determined based on a first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the target zone are compensated. This application embodiment obtains the target register value compensation coefficient of the target zone through the first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone, and compensates the register values ​​of the sub-pixels in the target zone based on the target register value compensation coefficient. This can repair color shift and / or brightness unevenness in the target zone, improve the color shift and / or brightness unevenness of the target zone, and enhance the display quality of the display panel. Attached Figure Description

[0031] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 This is a schematic diagram of the structure of a display panel provided in an embodiment of this application;

[0033] Figure 2 A schematic flowchart of an optical compensation method for a display panel provided in an embodiment of this application;

[0034] Figure 3 Another schematic flowchart of the optical compensation method for a display panel provided in an embodiment of this application;

[0035] Figure 4 A schematic flowchart of step S302 in the optical compensation method for a display panel provided in an embodiment of this application;

[0036] Figure 5 Another structural schematic diagram of the display panel provided in an embodiment of this application;

[0037] Figure 6 A schematic flowchart of step S303 in the optical compensation method for a display panel provided in an embodiment of this application;

[0038] Figure 7 A schematic diagram of step S601 in the optical compensation method for a display panel provided in this application embodiment;

[0039] Figure 8 This is another schematic flowchart of an optical compensation method for a display panel provided in an embodiment of this application;

[0040] Figure 9 A schematic flowchart of step S304 in the optical compensation method for a display panel provided in an embodiment of this application;

[0041] Figure 10 A schematic diagram of an optical compensation device for a display panel provided in an embodiment of this application;

[0042] Figure 11 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0043] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the 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 intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0044] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0045] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0046] Various modifications and variations can be made to this application without departing from its spirit or scope, which will be apparent to those skilled in the art. Therefore, this application is intended to cover modifications and variations falling within the scope of the corresponding claims (the claimed technical solutions) and their equivalents. It should be noted that the embodiments provided in this application can be combined with each other without contradiction.

[0047] Before describing the technical solutions provided in the embodiments of this application, in order to facilitate understanding of the embodiments of this application, this application first specifically explains the problems existing in the related technologies:

[0048] With the rapid development of display technology, the demand for larger screen sizes, higher resolutions, ultra-narrow bezels, and ultra-thin wide color gamuts is increasing, making the manufacturing process control of display panels more difficult. Deviations in the manufacturing process can easily lead to significant differences in the optical characteristics of the display panel. For example, uneven manufacturing processes can cause color shift, severely affecting the quality of the displayed image. Color shift can be understood as an undesirable phenomenon where the color differs from the true color due to the weakness or strength of one or more colors. For instance, when viewing a display panel directly, a pinkish tint may be observed in the center and bottom.

[0049] Through long-term research, the inventors of this application have discovered that current optical compensation methods mainly adjust the screen characteristics of the central area of ​​the display panel, while other areas of the display panel (such as the edge areas) are not calibrated for their characteristics. As a result, color shift and / or uneven display in other areas of the display panel (such as the edge areas) have not been well improved.

[0050] In view of the inventors’ above-mentioned research findings, the embodiments of this application provide an optical compensation method, apparatus and computer-readable storage medium for a display panel, which can solve the technical problems of color shift and / or uneven display in some areas of the display panel in the related art.

[0051] The technical concept of this application embodiment is as follows: For a target partition in a display panel, the target brightness level to be displayed in the target partition and the target grayscale to be displayed in the sub-pixels of the target partition are obtained; for the sub-pixels in the target partition, a target register value compensation coefficient corresponding to the target grayscale under the target brightness level is determined according to a first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition; and the register value of the sub-pixels in the target partition is compensated based on the target register value compensation coefficient. This application embodiment obtains the target register value compensation coefficient of the target partition through the first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition, and compensates the register value of the sub-pixels in the target partition based on the target register value compensation coefficient. This can achieve the repair of color shift and / or brightness unevenness in the target partition, improve the color shift and / or brightness unevenness of the target partition, and enhance the display quality of the display panel.

[0052] The optical compensation method for the display panel provided in the embodiments of this application will be described below.

[0053] Figure 1 This is a schematic diagram of a display panel provided in an embodiment of this application. Figure 1As shown, the display panel 10 can be divided into multiple partitions F, and each partition F may include at least one sub-pixel. It should be noted that the number of partitions in the display panel 10 can be flexibly adjusted according to actual needs, and this embodiment does not limit this. For example, in some examples, the display panel 10 can be divided into 9 partitions F.

[0054] Figure 2 This is a schematic flowchart illustrating an optical compensation method for a display panel provided in an embodiment of this application. Figure 2 As shown, the optical compensation method for the display panel may include the following steps S201 to S203.

[0055] S201. Obtain the target brightness level to be displayed in the target partition and the target grayscale of the sub-pixels in the target partition to be displayed. The target partition is at least one partition in the display panel.

[0056] The target partition can be at least one partition pre-selected from multiple partitions on the display panel. For example, the target partition can be a partition among multiple partitions where color shift and / or uneven display occur. In some examples, the brightness level can be represented based on the Display Brightness Value (DBV).

[0057] The target brightness level (DBV) to be displayed in the target partition and the target grayscale to be displayed in each sub-pixel of the target partition are known. In S201, the target brightness level to be displayed in the target partition and the target grayscale to be displayed in each sub-pixel of the target partition can be queried.

[0058] S202. For a sub-pixel in the target partition, determine the target register value compensation coefficient corresponding to the target grayscale under the target brightness level based on the first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition.

[0059] For different partitions, a first correspondence (hereinafter referred to as "first correspondence") between the brightness level, grayscale, and register value compensation coefficient for each partition can be pre-established. The first correspondence can differ between different partitions. In the first correspondence, different brightness levels and different grayscales can correspond to different register value compensation coefficients. The register value compensation coefficient is the coefficient used to compensate the register value of a sub-pixel. For example, grayscale a at brightness level A can correspond to register value compensation coefficient p1, grayscale b at brightness level A can correspond to register value compensation coefficient p2, ..., grayscale a at brightness level B can correspond to register value compensation coefficient q1, grayscale b at brightness level B can correspond to register value compensation coefficient q2, and so on.

[0060] In S202, based on the first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition, the target register value compensation coefficient corresponding to each sub-pixel in the target partition can be determined.

[0061] It should be noted that in some embodiments, the target partition may include multiple sub-pixels of different colors, such as red sub-pixels, green sub-pixels, and blue sub-pixels, and the first correspondence relationship corresponding to different color sub-pixels may be different. For example, for red sub-pixels in the target partition, the target register value compensation coefficient corresponding to each red sub-pixel in the target partition can be determined according to the first correspondence relationship between the brightness level, grayscale, and register value compensation coefficient corresponding to the red sub-pixel in the target partition. For green sub-pixels in the target partition, the target register value compensation coefficient corresponding to each green sub-pixel in the target partition can be determined according to the first correspondence relationship between the brightness level, grayscale, and register value compensation coefficient corresponding to the green sub-pixel in the target partition. For blue sub-pixels in the target partition, the target register value compensation coefficient corresponding to each blue sub-pixel in the target partition can be determined according to the first correspondence relationship between the brightness level, grayscale, and register value compensation coefficient corresponding to the blue sub-pixel in the target partition.

[0062] S203. Based on the target register value compensation coefficient, compensate the register values ​​of sub-pixels in the target partition.

[0063] The register values ​​of each sub-pixel in the target partition to be displayed are known. After obtaining the target register value compensation coefficient corresponding to each sub-pixel in the target partition, the register values ​​of each sub-pixel in the target partition can be compensated based on the target register value compensation coefficient, thereby adjusting the register values ​​of each sub-pixel in the target partition.

[0064] The optical compensation method for a display panel according to embodiments of this application includes a display panel comprising multiple zones, each zone comprising at least one sub-pixel. For a target zone in the display panel, the method obtains the target brightness level to be displayed in the target zone and the target grayscale to be displayed in the sub-pixels of the target zone. For a sub-pixel in the target zone, a target register value compensation coefficient corresponding to the target grayscale at the target brightness level is determined based on a first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the target zone are compensated. This embodiment of the application obtains the target register value compensation coefficient for the target zone through the first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone, and compensates the register values ​​of the sub-pixels in the target zone based on the target register value compensation coefficient. This can correct color shift and / or brightness unevenness in the target zone, improve the color shift and / or brightness unevenness of the target zone, and enhance the display quality of the display panel.

[0065] It is easy to understand that the initial correspondence between the brightness level, grayscale, and register value compensation coefficient of each partition can be predetermined. The process of determining the initial correspondence is explained in detail below.

[0066] Figure 3 This is another schematic flowchart illustrating the optical compensation method for a display panel provided in an embodiment of this application. Figure 3 As shown, according to some embodiments of this application, optionally, before S201, obtaining the target brightness level to be displayed in the target partition and the target grayscale of the sub-pixels in the target partition, the optical compensation method of the display panel may further include the following steps S301 to S305.

[0067] S301. For any i-th brightness level among multiple preset brightness levels, obtain the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level, where i is a positive integer.

[0068] The first target gray level can be flexibly set according to the actual situation, and this application embodiment does not limit it. For example, in some examples, the first target gray level can be the maximum gray level, such as gray level 255.

[0069] For any i-th brightness level, after burning the OTP, the register values ​​of each partition corresponding to the first target grayscale at the i-th brightness level are known. In S301, the first target grayscale at the i-th brightness level can drive the display of each partition based on the register values ​​corresponding to the reference white point color coordinates (e.g., 0.300, 0.315). For example, for brightness level (DBV node) 0x0dbb, the register value corresponding to grayscale 255 can be (0xdbb, R1, G1, B1) = (3515, 3002, 3280, 2468). As another example, for brightness level (DBV node) 0x0503, the register value corresponding to grayscale 255 can be (0x0503, R2, G2, B2) = (1283, 1296, 1498, 1044). Where R1 and R2 represent the register values ​​corresponding to the red sub-pixels, G1 and G2 represent the register values ​​corresponding to the green sub-pixels, and B1 and B2 represent the register values ​​corresponding to the blue sub-pixels.

[0070] In some examples, the first partition can be the partition where the center of the display panel is located, i.e., the center partition. In S301, the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level can be obtained. In S301, any number of brightness levels can be flexibly set according to the actual situation, and this application embodiment does not limit this.

[0071] S302. Identify the second zone in the display panel where color shift occurs.

[0072] Besides the first partition, some of the remaining partitions may also experience color shift. Here, the partitions that experience color shift are referred to as the second partition.

[0073] S303. Calculate the register value compensation coefficient of the second partition corresponding to the first target gray level at the i-th brightness level.

[0074] S304. Based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level, and the register value compensation coefficient of the second partition corresponding to the first target gray level under at least one brightness level, obtain the register value compensation coefficient of the second partition corresponding to each of the multiple gray levels under the i-th brightness level.

[0075] Through steps S301 to S303 above, the register value compensation coefficients of the second partition corresponding to the first target grayscale under multiple different brightness levels (DBV nodes) can be obtained. The brightness corresponding to the first target grayscale under each brightness level (DBV node) is known. For example, taking the DBV value range of 0 to 4095 as an example, assuming that the brightness corresponding to DBV 2049 is 500 nits, and the brightness corresponding to grayscale 255 under a certain DBV is also assumed to be 500 nits, then the register value compensation coefficient of the second partition corresponding to grayscale 255 under that DBV can be equal to the register value compensation coefficient of the second partition when DBV is 2049.

[0076] S305. Based on the register value compensation coefficients of the second partition corresponding to multiple gray levels under at least one brightness level, obtain the first correspondence between the brightness level, gray level and register value compensation coefficient of the second partition.

[0077] For any second partition, the first correspondence between the brightness level, gray level and register value compensation coefficient of the second partition can be obtained based on the register value compensation coefficient of the second partition corresponding to multiple gray levels under at least one brightness level.

[0078] Thus, the embodiments of this application can obtain a first correspondence between the brightness level, grayscale and register value compensation coefficient of each second partition. Through the first correspondence between the brightness level, grayscale and register value compensation coefficient of the second partition, the target register value compensation coefficient of the second partition is obtained. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the second partition are compensated, which can realize the repair of color shift and / or brightness unevenness in the second partition, improve the color shift and / or brightness unevenness in the second partition, and improve the display quality of the display panel.

[0079] Figure 4 This is a schematic flowchart of step S302 in the optical compensation method for a display panel provided in an embodiment of this application. Figure 4 As shown, according to some embodiments of this application, optionally, S302, determining the second zone in the display panel where color shift occurs, may specifically include the following steps S401 and S402.

[0080] S401. Obtain the color coordinates of the first partition and the color coordinates of the other partitions besides the first partition.

[0081] In S401, the luminance and color coordinates of the first zone can be acquired using optical measurement equipment such as a CCD camera or a color analyzer, as well as the luminance and color coordinates of other zones besides the first zone.

[0082] Figure 5This is another structural schematic diagram of the display panel provided in an embodiment of this application. (In conjunction with...) Figure 5 As shown, taking a display panel with nine zones F1 to F9 as an example, in S401, the brightness and color coordinates of zones F1 to F9 can be collected to obtain F1(L1,x1,y1), F2(L2,x2,y2), ..., F9(L9,x9,y9). Among them, zone F5 is the first zone. For example, L1 represents the brightness of zone F1, (x1,y1) represents the color coordinates of zone F1, x1 represents the horizontal color coordinate, and y1 represents the vertical color coordinate. The other zones are similar and will not be described in detail here.

[0083] S402. When the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the partition is determined as the second partition.

[0084] For any partition other than the first partition, if the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, it indicates that the partition has a color shift and can be identified as the second partition.

[0085] The preset threshold can be flexibly adjusted according to the actual situation, and this application embodiment does not limit it.

[0086] In some specific embodiments, the color coordinates may optionally include the horizontal color coordinate x and the vertical color coordinate y, and the preset threshold may include a first sub-preset threshold and a second sub-preset threshold.

[0087] Accordingly, S402, when the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the partition is determined as the second partition, which may specifically include the following steps:

[0088] When the absolute value of the difference between the horizontal coordinate of the partition and the horizontal coordinate of the first partition is greater than or equal to the first sub-preset threshold, and / or the absolute value of the difference between the vertical coordinate of the partition and the vertical coordinate of the first partition is greater than or equal to the second sub-preset threshold, the partition is determined as the second partition.

[0089] For example, when |x n -x5|≥α and / or|y n When -y5|≥β, x n The x-coordinate of the nth partition is represented by the color y. n x5 represents the vertical color coordinate of the nth partition, x5 represents the horizontal color coordinate of the first partition, y5 represents the vertical color coordinate of the first partition, α represents the first sub-preset threshold, and β represents the second sub-preset threshold. This indicates that the nth partition has a color shift, and the nth partition can be identified as the second partition.

[0090] The first and second sub-preset thresholds can be flexibly adjusted according to actual conditions, and this application embodiment does not limit this.

[0091] In this way, by comparing the color coordinates of the other partitions (excluding the first partition) with the color coordinates of the first partition, the second partition where color shift occurs can be accurately determined, which is beneficial for accurate compensation of the second partition where color shift occurs.

[0092] According to some embodiments of this application, optionally, the optical compensation method for the display panel may further include the following steps:

[0093] When the absolute value of the difference between the horizontal coordinate of the partition and the horizontal coordinate of the first partition is less than the first sub-preset threshold, and the absolute value of the difference between the vertical coordinate of the partition and the vertical coordinate of the first partition is less than the second sub-preset threshold, the partition and the first partition are classified as the same partition.

[0094] That is, when |x n -x5|<α and|y n When -y5|<β, it means that the nth partition has no color shift compared to the first partition, so the nth partition and the first partition can be classified as the same partition.

[0095] See also Figure 5 As shown, based on the threshold determination, assuming that the color coordinates of partitions F1, F2, F3, and F6 meet the threshold requirements α and β compared with the color coordinates of the first partition F5, then the final divided regions are partitions F1, F2, F3, and F6, which are the same as the first partition F5, and are unified into the same partition, while partitions F4, F7, F8, and F9 are the second partitions to be compensated.

[0096] In this way, grouping the partitions that have not experienced color shift into the same partition as the first partition can reduce the number of second partitions to be compensated, improve compensation efficiency, and reduce the amount of computation required for compensation.

[0097] Figure 6 This is a schematic flowchart of step S303 in the optical compensation method for a display panel provided in an embodiment of this application. Figure 6 As shown, according to some embodiments of this application, optionally, S303, calculating the register value compensation coefficient of the second partition corresponding to the first target gray level at the i-th brightness level, may specifically include the following steps S601 and S602.

[0098] S601. When the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, adjust the register value of the sub-pixels in the second partition until the difference between the color coordinates of the second partition and the color coordinates of the first partition is less than the preset threshold, and obtain the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level.

[0099] That is, when a color shift occurs in the second partition, the register values ​​of the sub-pixels in the second partition are adjusted until the second partition no longer experiences a color shift compared to the first partition.

[0100] S602. Based on the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level, obtain the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level.

[0101] In some examples, the difference between the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level can be calculated, and this difference can be used as the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level.

[0102] In other examples, the ratio between the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level can be calculated, and this ratio can be used as the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level.

[0103] In some specific embodiments, the register value may optionally include a first register value corresponding to a first color sub-pixel, a second register value corresponding to a second color sub-pixel, and / or a third register value corresponding to a third color sub-pixel. For example, the first color sub-pixel may be a red sub-pixel, the second color sub-pixel may be a green sub-pixel, and the third color sub-pixel may be a blue sub-pixel.

[0104] Accordingly, S601, when the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the register value of the sub-pixel in the second partition is adjusted, which may specifically include the following steps:

[0105] If the brightness of the second partition is greater than or equal to the brightness of the first partition, the register value of the sub-pixel in the second partition is adjusted according to the first adjustment strategy.

[0106] If the brightness of the second partition is less than that of the first partition, the register values ​​of the sub-pixels in the second partition are adjusted according to the second adjustment strategy.

[0107] Figure 7 This is a schematic diagram of step S601 in the optical compensation method for a display panel provided in an embodiment of this application. For example... Figure 7 As shown, L um测量 L represents the brightness of the second zone. um中心 X represents the brightness of the first zone. 测量 The horizontal coordinate of the second partition is represented by Y. 测量 This represents the vertical color coordinate of the second partition, X. 中心 The horizontal coordinate of the first partition is represented by Y. 中心 R represents the vertical color coordinate of the first partition, G represents the first register value corresponding to the first color sub-pixel, and B represents the third register value corresponding to the third color sub-pixel.

[0108] When the brightness of the second partition is greater than or equal to the brightness of the first partition, i.e., L um测量 ≥L um中心 At that time, the register values ​​of the sub-pixels in the second partition can be adjusted according to the first adjustment strategy. The first adjustment strategy includes:

[0109] When the horizontal coordinate X of the second partition 测量 The horizontal coordinate X of the first partition is greater than the horizontal coordinate X of the first partition. 中心 And the ordinate Y of the second partition 测量 The y-coordinate of the first partition is greater than the first partition. 中心 When, decrease the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or

[0110] When the horizontal coordinate X of the second partition 测量 The x-coordinate of the first partition is less than the x-coordinate of the first partition. 中心 And the ordinate Y of the second partition 测量 The ordinate Y of the first partition is less than 中心 At that time, decrease the value of the third register corresponding to the second partition; and / or

[0111] When the horizontal coordinate X of the second partition 测量 The horizontal coordinate X of the first partition is greater than the horizontal coordinate X of the first partition. 中心 At that time, decrease the value of the first register corresponding to the second partition; and / or

[0112] When the horizontal coordinate X of the second partition 测量 The x-coordinate of the first partition is less than the x-coordinate of the first partition. 中心 Or the ordinate Y of the second partition. 测量 The y-coordinate of the first partition is greater than the first partition. 中心At that time, decrease the value of the second register corresponding to the second partition; and / or

[0113] When the ordinate Y of the second partition 测量 The ordinate Y of the first partition is less than 中心 At that time, increase the value of the first register corresponding to the second partition.

[0114] When the brightness of the second partition is less than the brightness of the first partition, i.e., L um测量 <L um中心 At that time, the register values ​​of the sub-pixels in the second partition can be adjusted according to the second adjustment strategy. The second adjustment strategy includes:

[0115] When the horizontal coordinate X of the second partition 测量 The horizontal coordinate X of the first partition is greater than the horizontal coordinate X of the first partition. 中心 And the ordinate Y of the second partition 测量 The y-coordinate of the first partition is greater than the first partition. 中心 At that time, increase the value of the third register corresponding to the second partition; and / or

[0116] When the horizontal coordinate X of the second partition 测量 The x-coordinate of the first partition is less than the x-coordinate of the first partition. 中心 And the ordinate Y of the second partition 测量 The ordinate Y of the first partition is less than 中心 When the second partition is in the second partition, increase the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or

[0117] When the horizontal coordinate X of the second partition 测量 The horizontal coordinate X of the first partition is greater than the horizontal coordinate X of the first partition. 中心 At that time, increase the value of the second register corresponding to the second partition; and / or

[0118] When the horizontal coordinate X of the second partition 测量 The x-coordinate of the first partition is less than the x-coordinate of the first partition. 中心 Or the ordinate Y of the second partition. 测量 The y-coordinate of the first partition is greater than the first partition. 中心 At that time, increase the value of the first register corresponding to the second partition; and / or

[0119] When the ordinate Y of the second partition 测量 The ordinate Y of the first partition is less than 中心 At that time, increase the value of the second register corresponding to the second partition.

[0120] Thus, through the first adjustment strategy and / or the second adjustment strategy described above, the register values ​​of the sub-pixels in the second partition can be quickly adjusted, shortening the time for adjusting the register values ​​of the sub-pixels in the second partition and reducing the workload of adjusting the register values ​​of the sub-pixels in the second partition.

[0121] Figure 8 This is another schematic flowchart illustrating the optical compensation method for a display panel provided in an embodiment of this application. Figure 8 As shown, according to some embodiments of this application, optionally, S303, calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level, may specifically include the following steps:

[0122] Calculate the compensation coefficient of the first register value of the second partition corresponding to the first target grayscale at the first target brightness level and the compensation coefficient of the second register value of the second partition corresponding to the first target grayscale at the second target brightness level.

[0123] The first target brightness level and the second target brightness level can be any different brightness levels, i.e., different DBV nodes. The compensation coefficient of the first register value of the second partition corresponding to the first target grayscale at the first target brightness level and the compensation coefficient of the second register value of the second partition corresponding to the first target grayscale at the second target brightness level can both be obtained by adjusting the register values ​​of the sub-pixels in the second partition. The specific process has been described in detail above and will not be repeated here.

[0124] Accordingly, the optical compensation method for the display panel may also include the following steps S801 and S802.

[0125] S801. Based on the second partition divided under the first target brightness level and / or the second partition divided under the second target brightness level, determine the second partition under the third target brightness level.

[0126] The number of second zones under the first target brightness level can be the same as or different from the number of second zones under the second target brightness level. The second zones under the third target brightness level can be divided by referring to at least one of the second zones under the first target brightness level and the second zones under the second target brightness level.

[0127] To improve the accuracy of color cast compensation, in some embodiments, when the number of second partitions under the first target brightness level differs from the number of second partitions under the second target brightness level, the number of second partitions under the brightness level with the highest number can be used to determine the second partitions under the third target brightness level. For example, if the number of second partitions under the first target brightness level is 4 and the number of second partitions under the second target brightness level is 6, then the number of second partitions under the third target brightness level will also be 6.

[0128] Specifically, in some embodiments, S801, determining the second partition under the third target brightness level based on the second partition divided under the first target brightness level and / or the second partition divided under the second target brightness level, may specifically include the following steps:

[0129] When the number of second partitions under the first target brightness level is greater than the number of second partitions under the second target brightness level, the second partitions under the third target brightness level are determined according to the second partitions under the first target brightness level.

[0130] When the number of second partitions under the second target brightness level is greater than the number of second partitions under the first target brightness level, the second partitions under the third target brightness level are determined according to the second partitions under the second target brightness level.

[0131] Furthermore, when the number of second partitions under the first target brightness level is equal to the number of second partitions under the second target brightness level, the second partitions under the third target brightness level are determined according to either the second partitions under the first target brightness level or the second partitions under the second target brightness level. That is, when the number of second partitions under the first target brightness level is equal to the number of second partitions under the second target brightness level, the number of second partitions under the third target brightness level can be the same as both the number of second partitions under the first target brightness level and the number of second partitions under the second target brightness level.

[0132] S802. Calculate the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level based on the first register value compensation coefficient and the second register value compensation coefficient.

[0133] For example, for the kth second partition, the register value compensation coefficient of the kth second partition corresponding to the first target gray level under the third target brightness level can be calculated based on the first register value compensation coefficient of the kth second partition corresponding to the first target gray level under the first target brightness level and the second register value compensation coefficient of the kth second partition corresponding to the first target gray level under the second target brightness level, where k is a positive integer.

[0134] Thus, the register value compensation coefficient of the second partition corresponding to the first target grayscale under the third target brightness level can be obtained by calculation, which can reduce the number of times the register values ​​of sub-pixels in the second partition are adjusted, and greatly shorten the time to determine the register value compensation coefficient of the second partition corresponding to the first target grayscale under multiple brightness levels.

[0135] In some specific embodiments, optionally, the first register value compensation coefficient may include the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level. The second register value compensation coefficient may include the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. Specifically, in some examples, the first register value compensation coefficient may include the register value compensation coefficients of the first color sub-pixel, the second color sub-pixel, and the third color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level. The second register value compensation coefficient may include the register value compensation coefficients of the first color sub-pixel, the second color sub-pixel, and the third color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level.

[0136] Accordingly, S802, based on the first register value compensation coefficient and the second register value compensation coefficient, calculates the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level, which may specifically include the following steps:

[0137] Calculate the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, based on the following expression:

[0138]

[0139] Among them, fm(DBV) n fm(DBV1) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level, and fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. DBV1 represents the first target brightness level, DBV2 represents the second target brightness level, and DBV... n This indicates the third target brightness level.

[0140] For example, when the target color sub-pixel is the first color sub-pixel, the above expression (1) can be transformed into:

[0141]

[0142] Among them, fr(DBV) n) represents the register value compensation coefficient of the first color sub-pixel in the second partition corresponding to the first target grayscale under the third target brightness level, fr(DBV1) represents the register value compensation coefficient of the first color sub-pixel in the second partition corresponding to the first target grayscale under the first target brightness level, and fr(DBV2) represents the register value compensation coefficient of the first color sub-pixel in the second partition corresponding to the first target grayscale under the second target brightness level.

[0143] For example, when the target color sub-pixel is the second color sub-pixel, the above expression (1) can be transformed into:

[0144]

[0145] Among them, fg(DBV) n fg(DBV1) represents the register value compensation coefficient of the second color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, and fg(DBV2) represents the register value compensation coefficient of the second color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level.

[0146] For example, when the target color sub-pixel is the third color sub-pixel, the above expression (1) can be transformed into:

[0147]

[0148] Among them, fb(DBV) n fb(DBV1) represents the register value compensation coefficient of the third color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, and fb(DBV2) represents the register value compensation coefficient of the third color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level.

[0149] Thus, based on the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the first target brightness level and the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the second target brightness level, the register value compensation coefficients of the target color sub-pixels in the second partition corresponding to the first target grayscale at the third target brightness level can be obtained by calculation. This reduces the number of times the register values ​​of the sub-pixels in the second partition are adjusted, and significantly shortens the time required to determine the register value compensation coefficients of the second partition corresponding to the first target grayscale at multiple brightness levels.

[0150] Figure 9 This is a schematic flowchart of step S304 in the optical compensation method for a display panel provided in an embodiment of this application. Figure 9 As shown, according to some embodiments of this application, optionally, in step S304, the register value compensation coefficients of the second partition corresponding to each of the multiple gray levels at the i-th brightness level are obtained based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level and the register value compensation coefficient of the second partition corresponding to the first target gray level at at least one brightness level. Specifically, this may include the following steps S901 to S904.

[0151] S901. Calculate the brightness interval corresponding to a unit brightness level based on the preset brightness level and the brightness corresponding to the preset brightness level.

[0152] The preset brightness level can be any brightness level. The brightness (i.e., maximum brightness) corresponding to each brightness level at the first target gray level (e.g., gray level 255) is known. For example, the value range of DBV is 0 to 4095. The brightness (i.e., maximum brightness) corresponding to the DBV node of 4095 is, for example, 1000 nits, and the brightness (i.e., maximum brightness) corresponding to the DBV node of 4094 is, for example, 999.756 nits.

[0153] Taking the preset brightness level as the maximum brightness level (i.e., a DBV node of 4095) as an example, we calculate 1000 / 4096≈0.244nit, so the brightness interval corresponding to a unit brightness level is 0.244nit.

[0154] S902. For any j-th gray level under the i-th brightness level, obtain the brightness corresponding to the j-th gray level, where j is a positive integer.

[0155] The brightness corresponding to the maximum gray level at each brightness level is known. The brightness corresponding to other gray levels at each brightness level, excluding the maximum gray level, can be calculated, for example, from the correspondence between gray levels and brightness (such as the Gamma2.2 curve).

[0156] S903. Determine the brightness level corresponding to the j-th gray level based on the brightness and brightness interval corresponding to the j-th gray level.

[0157] For example, if the brightness of 128 gray levels at the i-th brightness level is 109.76 nits, then we calculate 109.76 / 0.244 = 450, which means that the brightness level (DBV node) of 128 gray levels at the i-th brightness level is 450.

[0158] S904. Use the register value compensation coefficient of the second partition corresponding to the first target gray level under the brightness level corresponding to the j-th gray level as the register value compensation coefficient of the second partition corresponding to the j-th gray level under the i-th brightness level.

[0159] For example, if the register value compensation coefficient of the second partition corresponding to the first target gray level under the DBV node of 450 is known, then the register value compensation coefficient of the second partition corresponding to the first target gray level under the DBV node of 450 can be used as the register value compensation coefficient of the second partition corresponding to the 128 gray levels under the i-th brightness level.

[0160] The compensation coefficients for the register values ​​of the second partition corresponding to other gray levels under the i-th brightness level can also be obtained in a similar way, and will not be elaborated here.

[0161] In this way, the register value compensation coefficients of the second partition corresponding to multiple gray levels under different brightness levels can be obtained. Based on the register value compensation coefficients of the second partition corresponding to multiple gray levels under different brightness levels, the first correspondence relationship of the second partition can be obtained.

[0162] The inventors of this application further realized that if the difference between the brightness of the second partition and the brightness of the first partition is less than the minimum brightness interval (e.g., 0.244 nits), and the register value of the second partition is further compensated, the brightness of the second partition after compensation is likely to deviate further from the brightness of the first partition.

[0163] In view of this, according to some embodiments of this application, optionally, when the difference between the brightness of the second partition and the brightness of the first partition is less than the minimum brightness interval (e.g., 0.244 nits), the register value of the second partition is no longer compensated, that is, the register value compensation coefficient of the second partition is set to 0.

[0164] Specifically, in some embodiments, optionally, S303, calculating the register value compensation coefficient of the second partition corresponding to the first target gray level at the i-th brightness level, may specifically include the following steps one and two.

[0165] Step 1: Calculate the brightness interval corresponding to each unit brightness level based on the preset brightness level and the corresponding brightness. For details of Step 1, please refer to the description of Step S901, which will not be repeated here.

[0166] Step 2: When the difference between the brightness of the second partition and the brightness of the first partition is less than the brightness interval, set the register value compensation coefficient of the second partition to 0.

[0167] Table 1 schematically illustrates the brightness corresponding to multiple brightness levels. Table 2 schematically illustrates the brightness and corresponding brightness levels (DBV nodes) for different grayscale levels under multiple brightness levels.

[0168] Table 1

[0169] DBV (hexadecimal) DBV (decimal) brightness FFF 4095 1000nit FFE 4094 999.756 nits … … … DBB 3515 857.660 nits … … … 503 1283 313.052 nit … … … 1 1 0.244nit 0 0 0nit

[0170] Table 2

[0171]

[0172] As shown in Tables 1 and 2, the brightness level (DBV node) corresponding to each grayscale under each brightness level can be determined. Accordingly, the register value compensation coefficient of the second partition corresponding to each grayscale under each brightness level can be determined based on the register value compensation coefficient of the second partition of the corresponding brightness level.

[0173] Based on the optical compensation method for the display panel provided in the above embodiments, this application also provides specific implementations of an optical compensation device for the display panel. The display panel includes multiple zones, and each zone includes at least one sub-pixel. Please refer to the following embodiments.

[0174] Figure 10 This is a schematic diagram of an optical compensation device for a display panel provided in an embodiment of this application. Figure 10 As shown, the optical compensation device 100 for the display panel provided in this application embodiment may include the following modules:

[0175] The acquisition module 101 is used to acquire the target brightness level to be displayed in the target partition and the target grayscale of the sub-pixels in the target partition to be displayed. The target partition is at least one partition in the display panel.

[0176] The first determining module 102 is used to determine, for a sub-pixel in the target partition, the target register value compensation coefficient corresponding to the target gray level under the target brightness level, based on the first correspondence between the brightness level, gray level and register value compensation coefficient of the target partition.

[0177] The compensation module 103 is used to compensate the register values ​​of sub-pixels in the target partition based on the target register value compensation coefficient.

[0178] The optical compensation device for a display panel according to embodiments of this application includes a display panel comprising multiple zones, each zone comprising at least one sub-pixel. For a target zone in the display panel, the target brightness level to be displayed in the target zone and the target grayscale to be displayed in the sub-pixels of the target zone are obtained. For a sub-pixel in the target zone, a target register value compensation coefficient corresponding to the target grayscale at the target brightness level is determined based on a first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the target zone are compensated. This embodiment of the application obtains the target register value compensation coefficient for the target zone through the first correspondence between the brightness level, grayscale, and register value compensation coefficient of the target zone, and compensates the register values ​​of the sub-pixels in the target zone based on the target register value compensation coefficient. This can achieve the repair of color shift and / or brightness unevenness in the target zone, improve the color shift and / or brightness unevenness of the target zone, and enhance the display quality of the display panel.

[0179] In some embodiments, the optical compensation device 100 for the display panel provided in this application may further include a second determining module, configured to: obtain, for any i-th brightness level among a plurality of preset brightness levels, the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level, where i is a positive integer; determine the second partition in the display panel that has color shift; calculate the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level; obtain the register value compensation coefficient of the second partition corresponding to each of the plurality of grayscales at the i-th brightness level based on the second correspondence between the brightness corresponding to the grayscale and the brightness corresponding to the brightness level and the register value compensation coefficient of the second partition corresponding to the first target grayscale at at least one brightness level; and obtain the first correspondence between the brightness level, grayscale and register value compensation coefficient of the second partition corresponding to the second partition based on the register value compensation coefficient of the second partition corresponding to the plurality of grayscales at at least one brightness level.

[0180] In some embodiments, the first partition is the partition where the center of the display panel is located.

[0181] In some embodiments, the second determining module is specifically used to obtain the color coordinates of the first partition and the color coordinates of other partitions besides the first partition; when the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the partition is determined as the second partition.

[0182] In some embodiments, the color coordinates include horizontal and vertical color coordinates, and the preset thresholds include a first sub-preset threshold and a second sub-preset threshold. The second determining module is specifically used to determine a partition as a second partition when the absolute value of the difference between the horizontal color coordinate of the partition and the horizontal color coordinate of the first partition is greater than or equal to the first sub-preset threshold, and / or the absolute value of the difference between the vertical color coordinate of the partition and the vertical color coordinate of the first partition is greater than or equal to the second sub-preset threshold.

[0183] In some embodiments, the optical compensation device 100 for the display panel provided in this application may further include a merging module, which is used to classify the partition and the first partition into the same partition when the absolute value of the difference between the horizontal color coordinate of the partition and the horizontal color coordinate of the first partition is less than a first sub-preset threshold, and the absolute value of the difference between the vertical color coordinate of the partition and the vertical color coordinate of the first partition is less than a second sub-preset threshold.

[0184] In some embodiments, the second determining module is specifically used to adjust the register value of the sub-pixels in the second partition when the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, until the difference between the color coordinates of the second partition and the color coordinates of the first partition is less than the preset threshold, thereby obtaining the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level; and to obtain the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level based on the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level.

[0185] In some embodiments, the register values ​​include a first register value corresponding to a first color sub-pixel, a second register value corresponding to a second color sub-pixel, and / or a third register value corresponding to a third color sub-pixel; the color coordinates include horizontal and vertical color coordinates, and the preset thresholds include a first sub-preset threshold and a second sub-preset threshold. The second determining module is specifically used to adjust the register values ​​of the sub-pixels in the second partition according to a first adjustment strategy when the brightness of the second partition is greater than or equal to the brightness of the first partition; and to adjust the register values ​​of the sub-pixels in the second partition according to a second adjustment strategy when the brightness of the second partition is less than the brightness of the first partition.

[0186] In some embodiments, the first adjustment strategy includes:

[0187] When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, decrease the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or

[0188] When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, decrease the value of the third register corresponding to the second partition; and / or

[0189] When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, decrease the value of the first register corresponding to the second partition; and / or

[0190] When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, or the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, decrease the value of the second register corresponding to the second partition; and / or

[0191] When the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, increase the value of the first register corresponding to the second partition.

[0192] In some embodiments, the second adjustment strategy includes:

[0193] When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, increase the value of the third register corresponding to the second partition; and / or

[0194] When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, increase the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or

[0195] When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, increase the value of the second register corresponding to the second partition; and / or

[0196] When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, or the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, increase the value of the first register corresponding to the second partition; and / or

[0197] When the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, increase the value of the second register corresponding to the second partition.

[0198] In some embodiments, the second determining module is specifically used to calculate the first register value compensation coefficient of the second partition corresponding to the first target grayscale at the first target brightness level and the second register value compensation coefficient of the second partition corresponding to the first target grayscale at the second target brightness level. The optical compensation device 100 for the display panel provided in this application embodiment may further include a third determining module, used to determine the second partition at the third target brightness level based on the second partition divided at the first target brightness level and / or the second partition divided at the second target brightness level; and to calculate the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level according to the first register value compensation coefficient and the second register value compensation coefficient.

[0199] In some embodiments, the first register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level, and the second register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. The third determining module is specifically used to calculate the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level according to the following expression:

[0200]

[0201] Among them, fm(DBV) n fm(DBV1) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level, and fm(DBV2) represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. DBV1 represents the first target brightness level, DBV2 represents the second target brightness level, and DBV... n This indicates the third target brightness level.

[0202] In some embodiments, the third determining module is specifically used to determine the second partitions of the third target brightness level according to the second partitions of the first target brightness level when the number of second partitions under the first target brightness level is greater than the number of second partitions under the second target brightness level; and to determine the second partitions of the third target brightness level according to the second partitions of the second target brightness level when the number of second partitions under the second target brightness level is greater than the number of second partitions under the first target brightness level.

[0203] In some embodiments, the second determining module is specifically used to calculate the brightness interval corresponding to a unit brightness level based on a preset brightness level and the brightness corresponding to the preset brightness level; for any j-th gray level under the i-th brightness level, obtain the brightness corresponding to the j-th gray level, where j is a positive integer; determine the brightness level corresponding to the j-th gray level based on the brightness corresponding to the j-th gray level and the brightness interval; and use the register value compensation coefficient of the second partition corresponding to the first target gray level under the brightness level corresponding to the j-th gray level as the register value compensation coefficient of the second partition corresponding to the j-th gray level under the i-th brightness level.

[0204] In some embodiments, the second determining module is specifically used to calculate the brightness interval corresponding to a unit brightness level based on a preset brightness level and the brightness corresponding to the preset brightness level; when the difference between the brightness of the second partition and the brightness of the first partition is less than the brightness interval, the register value compensation coefficient of the second partition is set to 0.

[0205] Figure 10 Each module / unit in the device shown has the function of implementing each step in the optical compensation method for the display panel provided in the above method embodiment, and can achieve its corresponding technical effect. For the sake of brevity, it will not be described in detail here.

[0206] Based on the optical compensation method for the display panel provided in the above embodiments, this application also provides specific implementation methods for electronic devices. Please refer to the following embodiments.

[0207] Figure 11 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.

[0208] The electronic device may include a processor 1101 and a memory 1102 storing computer program instructions.

[0209] Specifically, the processor 1101 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0210] Memory 1102 may include mass storage for data or instructions. For example, and not limitingly, memory 1102 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one example, memory 1102 may include removable or non-removable (or fixed) media, or memory 1102 may be non-volatile solid-state memory. Memory 1102 may be internal or external to an electronic device.

[0211] In one example, memory 1102 may be read-only memory (ROM). In one example, 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 flash memory, or a combination of two or more of these.

[0212] Memory 1102 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.

[0213] The processor 1101 reads and executes the computer program instructions stored in the memory 1102 to implement the methods / steps in the above method embodiments and achieve the corresponding technical effects achieved by the method embodiments in executing their methods / steps. For the sake of brevity, these will not be elaborated here.

[0214] In one example, the electronic device may also include a communication interface 1103 and a bus 1110. For example, Figure 11 As shown, the processor 1101, memory 1102, and communication interface 1103 are connected through bus 1110 and complete communication with each other.

[0215] The communication interface 1103 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0216] Bus 1110 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth 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 buses, or combinations of two or more of these. Where appropriate, bus 1110 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0217] Furthermore, in conjunction with the optical compensation method for the display panel in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the optical compensation methods for the display panel in the above embodiments. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as electronic circuits, semiconductor memory devices, ROM, random access memory, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, and hard disks.

[0218] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0219] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0220] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0221] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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 apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. 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 is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0222] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. An optical compensation method for a display panel, characterized in that, The display panel includes multiple partitions, each partition including at least one sub-pixel, and the method includes: Obtain the target brightness level to be displayed in the target partition and the target grayscale to be displayed in the sub-pixels of the target partition, wherein the target partition is at least one partition in the display panel; For a sub-pixel in the target partition, the target register value compensation coefficient corresponding to the target grayscale under the target brightness level is determined according to the first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition. Based on the target register value compensation coefficient, the register values ​​of the sub-pixels in the target partition are compensated; Before obtaining the target brightness level to be displayed in the target partition and the target grayscale to be displayed in the sub-pixels of the target partition, the method further includes: For any i-th brightness level among a plurality of preset brightness levels, obtain the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level, where i is a positive integer; Identify the second zone in the display panel where color shift occurs; Calculate the register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level; Based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level, and the register value compensation coefficient of the second partition corresponding to the first target gray level under at least one brightness level, the register value compensation coefficient of the second partition corresponding to each of the multiple gray levels under the i-th brightness level is obtained. Based on the register value compensation coefficients of the second partition corresponding to multiple gray levels at at least one brightness level, a first correspondence between the brightness level, gray level, and register value compensation coefficient of the second partition is obtained.

2. The method according to claim 1, characterized in that, The first partition is the partition where the center of the display panel is located.

3. The method according to claim 1, characterized in that, The determination of the second zone in the display panel where color shift occurs specifically includes: Obtain the color coordinates of the first partition and the color coordinates of the other partitions besides the first partition; When the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the partition is determined as the second partition.

4. The method according to claim 3, characterized in that, The color coordinates include horizontal color coordinates and vertical color coordinates, and the preset thresholds include a first sub-preset threshold and a second sub-preset threshold. The step of determining the partition as the second partition when the difference between the color coordinates of the partition and the color coordinates of the first partition is greater than or equal to a preset threshold specifically includes: When the absolute value of the difference between the horizontal color coordinate of the partition and the horizontal color coordinate of the first partition is greater than or equal to the first sub-preset threshold, and / or the absolute value of the difference between the vertical color coordinate of the partition and the vertical color coordinate of the first partition is greater than or equal to the second sub-preset threshold, the partition is determined as the second partition.

5. The method according to claim 4, characterized in that, The method further includes: When the absolute value of the difference between the horizontal color coordinate of the partition and the horizontal color coordinate of the first partition is less than the first sub-preset threshold, and the absolute value of the difference between the vertical color coordinate of the partition and the vertical color coordinate of the first partition is less than the second sub-preset threshold, the partition and the first partition are classified as the same partition.

6. The method according to claim 1, characterized in that, The calculation of the register value compensation coefficient for the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: When the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the register value of the sub-pixel in the second partition is adjusted until the difference between the color coordinates of the second partition and the color coordinates of the first partition is less than the preset threshold, so as to obtain the adjusted register value of the second partition corresponding to the first target gray level at the i-th brightness level. The register value compensation coefficient of the second partition corresponding to the first target grayscale at the i-th brightness level is obtained based on the adjusted register value of the second partition corresponding to the first target grayscale at the i-th brightness level and the register value of the first partition in the display panel corresponding to the first target grayscale at the i-th brightness level.

7. The method according to claim 6, characterized in that, The register value includes the first register value corresponding to the first color sub-pixel, the second register value corresponding to the second color sub-pixel, and / or the third register value corresponding to the third color sub-pixel; The color coordinates include horizontal color coordinates and vertical color coordinates, and the preset thresholds include a first sub-preset threshold and a second sub-preset threshold. When the difference between the color coordinates of the second partition and the color coordinates of the first partition is greater than or equal to a preset threshold, the register value of the sub-pixel in the second partition is adjusted, specifically including: If the brightness of the second partition is greater than or equal to the brightness of the first partition, the register value of the sub-pixel in the second partition is adjusted according to the first adjustment strategy. If the brightness of the second partition is less than that of the first partition, the register values ​​of the sub-pixels in the second partition are adjusted according to the second adjustment strategy.

8. The method according to claim 7, characterized in that, The first adjustment strategy includes: When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, decrease the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, decrease the value of the third register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, decrease the value of the first register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, or the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, decrease the value of the second register corresponding to the second partition; and / or When the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition, the value of the first register corresponding to the second partition is increased.

9. The method according to claim 7, characterized in that, The second adjustment strategy includes: When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, increase the value of the third register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, and the vertical coordinate of the second partition is less than the vertical coordinate of the first partition, increase the value of the first register corresponding to the second partition and the value of the second register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is greater than the horizontal coordinate of the first partition, increase the value of the second register corresponding to the second partition; and / or When the horizontal coordinate of the second partition is less than the horizontal coordinate of the first partition, or the vertical coordinate of the second partition is greater than the vertical coordinate of the first partition, increase the value of the first register corresponding to the second partition; and / or When the vertical color coordinate of the second partition is less than the vertical color coordinate of the first partition, the value of the second register corresponding to the second partition is increased.

10. The method according to claim 1, characterized in that, The calculation of the register value compensation coefficient for the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: Calculate the compensation coefficient of the first register value of the second partition corresponding to the first target grayscale at the first target brightness level and the compensation coefficient of the second register value of the second partition corresponding to the first target grayscale at the second target brightness level; The method further includes: Based on the second partition divided under the first target brightness level and / or the second partition divided under the second target brightness level, determine the second partition under the third target brightness level; Based on the first register value compensation coefficient and the second register value compensation coefficient, calculate the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level.

11. The method according to claim 10, characterized in that, The first register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale under the first target brightness level, and the second register value compensation coefficient includes the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale under the second target brightness level. The step of calculating the register value compensation coefficient of the second partition corresponding to the first target grayscale at the third target brightness level based on the first register value compensation coefficient and the second register value compensation coefficient specifically includes: Calculate the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level, based on the following expression: = in, This represents the register value compensation coefficient for the target color sub-pixel in the second partition corresponding to the first target grayscale at the third target brightness level. This represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the first target brightness level. This represents the register value compensation coefficient of the target color sub-pixel in the second partition corresponding to the first target grayscale at the second target brightness level. Indicates the brightness level of the first target. Indicates the second target brightness level. This indicates the brightness level of the third target.

12. The method according to claim 10, characterized in that, The step of determining the second partition under the third target brightness level based on the second partition divided under the first target brightness level and / or the second partition divided under the second target brightness level specifically includes: When the number of second partitions under the first target brightness level is greater than the number of second partitions under the second target brightness level, the second partitions under the third target brightness level are determined according to the second partitions under the first target brightness level. When the number of second partitions under the second target brightness level is greater than the number of second partitions under the first target brightness level, the second partitions under the third target brightness level are determined according to the second partitions under the second target brightness level.

13. The method according to claim 1, characterized in that, The step of obtaining the register value compensation coefficients of the second partition corresponding to each of the multiple gray levels at the i-th brightness level, based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level, and the register value compensation coefficient of the second partition corresponding to the first target gray level at at least one brightness level, specifically includes: Calculate the brightness interval corresponding to each unit brightness level based on the preset brightness level and the brightness corresponding to the preset brightness level. For any j-th gray level under the i-th brightness level, obtain the brightness corresponding to the j-th gray level, where j is a positive integer; The brightness level corresponding to the j-th gray level is determined based on the brightness corresponding to the j-th gray level and the brightness interval; The register value compensation coefficient of the second partition corresponding to the first target gray level under the brightness level corresponding to the j-th gray level is used as the register value compensation coefficient of the second partition corresponding to the j-th gray level under the i-th brightness level.

14. The method according to claim 1, characterized in that, The calculation of the register value compensation coefficient for the second partition corresponding to the first target grayscale at the i-th brightness level specifically includes: Calculate the brightness interval corresponding to each unit brightness level based on the preset brightness level and the brightness corresponding to the preset brightness level. When the difference between the brightness of the second partition and the brightness of the first partition is less than the brightness interval, the register value compensation coefficient of the second partition is set to 0.

15. An optical compensation device for a display panel, characterized in that, The display panel includes multiple partitions, each partition including at least one sub-pixel, and the device includes: The acquisition module is used to acquire the target brightness level to be displayed in the target partition and the target grayscale of the sub-pixels in the target partition to be displayed, wherein the target partition is at least one partition in the display panel; The first determining module is used to determine, for a sub-pixel in the target partition, a target register value compensation coefficient corresponding to the target grayscale under the target brightness level, based on a first correspondence between the brightness level, grayscale and register value compensation coefficient of the target partition. The compensation module is used to compensate the register values ​​of sub-pixels in the target partition based on the target register value compensation coefficient; Before the acquisition module acquires the target brightness level to be displayed in the target partition and the target grayscale of the sub-pixels in the target partition, the device further includes a second determination module: The second determining module is used to obtain the register value of the first partition in the display panel corresponding to the first target grayscale at any i-th brightness level among a plurality of preset brightness levels, where i is a positive integer; The second determining module is also used to determine the second zone in the display panel where color shift occurs; The second determining module is also used to calculate the register value compensation coefficient of the second partition corresponding to the first target gray level at the i-th brightness level; The second determining module is further configured to obtain the register value compensation coefficients of the second partition corresponding to each of the multiple gray levels at the i-th brightness level, based on the second correspondence between the brightness corresponding to the gray level and the brightness corresponding to the brightness level and the register value compensation coefficient of the second partition corresponding to the first target gray level at at least one brightness level. The second determining module is further configured to obtain a first correspondence between the brightness level, gray level and register value compensation coefficient of the second partition based on the register value compensation coefficient of the second partition corresponding to the multiple gray levels under at least one brightness level.

16. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the optical compensation method for the display panel as described in any one of claims 1 to 14.