Brightness compensation method and device of display panel
By generating a brightness model and adding virtual bound pixels for linear interpolation, the problem that the Demura compensation method cannot effectively repair point mura was solved, achieving accurate repair of uneven brightness in the display panel and improvement of display effect.
Patent Information
- Application Number
- CN202311271267.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2043-09-27
AI Technical Summary
Existing Demura compensation methods cannot effectively repair special shapes such as dot-like mura, leading to overcompensation or undercompensation, which affects the display effect.
By generating a brightness model, adding virtual bound pixels, and performing linear interpolation, uneven brightness defects can be accurately repaired, including obtaining compensation data of virtual bound pixels and performing brightness compensation.
It achieves precise repair of the uneven brightness defect that Demura could not fix, thus improving the display effect and grade of the display panel.
Smart Images

Figure CN117475954B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display control technology, specifically to a brightness compensation method and apparatus for a display panel. Background Technology
[0002] In the field of liquid crystal displays (LCDs), due to manufacturing processes, display panels may exhibit defects such as uneven brightness and color (i.e., mura). To improve display quality, demura treatment is typically performed on the display panel to correct this unevenness.
[0003] Traditional demura processing methods obtain a downsampled demura compensation matrix based on the luminance and chrominance compensation data of each pixel, and then compensate the luminance and chrominance of each pixel based on each block in the demura compensation matrix. However, for some special-shaped demuras, such as dot-shaped demuras, the brightness compensated by this method does not conform to the original characteristic curve of the demura, which can easily lead to overcompensation or undercompensation, resulting in poor display effects. Summary of the Invention
[0004] The embodiments of this application provide a brightness compensation method and apparatus for a display panel to solve the technical problem that existing demura compensation methods do not conform to the original characteristic curve of demura, which can easily lead to overcompensation or undercompensation, affecting the display effect.
[0005] To address the aforementioned technical problems, embodiments of this application disclose the following technical solutions:
[0006] In a first aspect, a brightness compensation method for a display panel is provided for repairing uneven brightness defects in the display panel, the method comprising:
[0007] A grayscale image of the display panel is obtained, wherein the display panel includes a plurality of first pixels, the grayscale image includes a plurality of second pixels, and the plurality of second pixels correspond one-to-one with the plurality of first pixels;
[0008] If the size of the area to be repaired is smaller than the set size, a first brightness model is generated based on the brightness of each second pixel in the area to be repaired along the first direction. The area to be repaired is the area on the grayscale image corresponding to the brightness unevenness defect.
[0009] Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, the first virtual binding point pixel and the compensation data of the first virtual binding point pixel are obtained, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixel.
[0010] Wherein, the binding point pixel is obtained based on the first pixel, the target pixel is the second pixel corresponding to the binding point pixel, and the correction area is the area that can cover the brightness unevenness defect.
[0011] In conjunction with the first aspect, the shape of the uneven brightness defect is circular or elliptical, and each of the first pixels along the first direction in the uneven brightness defect passes through the center of the circle and the brightness of each of the first pixels conforms to a Gaussian distribution.
[0012] The first brightness model has a center point, a first endpoint and a second endpoint distributed at both ends of the center point, a first bend point between the center point and the first endpoint, and a second bend point between the center point and the second endpoint.
[0013] In conjunction with the first aspect, the number of target pixels located in the area to be repaired and distributed along the first direction is L, satisfying: L = 3, and each of the target pixels is located at the center point, the first endpoint, and the second endpoint, respectively;
[0014] Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, the first virtual binding point pixel and the compensation data of the first virtual binding point pixel are obtained, including:
[0015] Based on the center point, the first endpoint, and the first brightness model, a first virtual target pixel is obtained, and the first virtual target pixel is close to the first bending point;
[0016] Based on the center point, the second endpoint, and the first brightness model, a second virtual target pixel is obtained, and the second virtual target pixel is located close to the second bending point;
[0017] Based on the grayscale image, obtain the first compensation data of the first virtual target pixel and the second compensation data of the second virtual target pixel;
[0018] The first compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the first virtual target pixel, and the second compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the second virtual target pixel.
[0019] In combination with the first aspect, the number of target pixels located in the to-be-repaired area and distributed along the first direction is L, satisfying: 0 < L ≤ 2, and each of the target pixels simultaneously avoids the positions of the center point, the first end point and the second end point;
[0020] Based on the first brightness model and the target pixels located in the to-be-repaired area and distributed along the first direction, obtaining a first virtual binding point pixel and compensation data of the first virtual binding point pixel, including:
[0021] Determine the center point as a third virtual target pixel;
[0022] Based on the grayscale picture, obtaining third compensation data of the third virtual target pixel;
[0023] Determine the third compensation data as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel.
[0024] In combination with the first aspect, the number of target pixels located in the to-be-repaired area and distributed along the first direction is L, satisfying: L = 0;
[0025] Based on the first brightness model and the target pixels located in the to-be-repaired area and distributed along the first direction, obtaining a first virtual binding point pixel and compensation data of the first virtual binding point pixel, including:
[0026] Determine the center point as a third virtual target pixel, determine the first end point as a fourth virtual target pixel, and determine the second end point as a fifth virtual target pixel;
[0027] Based on the grayscale picture, obtaining third compensation data of the third virtual target pixel, fourth compensation data of the fourth virtual target pixel, and fifth compensation data of the fifth virtual target pixel;
[0028] Determine the third compensation data, the fourth compensation data, and the fifth compensation data as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel, the compensation data of the first virtual binding point pixel corresponding to the fourth virtual target pixel, and the compensation data of the first virtual binding point pixel corresponding to the fifth virtual target pixel, respectively.
[0029] In combination with the first aspect, before the display panel compensates for the brightness non-uniformity defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixel, the method further includes:
[0030] If the size of the area to be repaired is smaller than the set size, a second brightness model is generated based on the brightness of each second pixel in the area to be repaired along the second direction, wherein the second direction intersects with the first direction;
[0031] Based on the second brightness model and the target pixels located in the area to be repaired and distributed along the second direction, the second virtual binding point pixels and the compensation data of the second virtual binding point pixels are obtained, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area, the compensation data of each first virtual binding point pixel and the compensation data of each second virtual binding point pixel.
[0032] In conjunction with the first aspect, the display panel includes a first repair module and a second repair module;
[0033] The first repair module is used to perform brightness compensation based on the compensation data of each of the bound point pixels. The second repair module is used to obtain the compensation data of the first virtual bound point pixels and the compensation data of the second virtual bound point pixels, and to compensate for the brightness unevenness defect based on the compensation data of each bound point pixel in the correction area, the compensation data of the first virtual bound point pixels and the compensation data of the second virtual bound point pixels.
[0034] In conjunction with the first aspect, the method further includes:
[0035] If the size of the area to be repaired is larger than the set size, then obtain each target pixel in the region corresponding to the correction area in the grayscale image;
[0036] Obtain the display grayscale deviation of each of the target pixels;
[0037] Based on the grayscale deviation, the compensation data of the corresponding bound pixel in the correction area is corrected so that the display panel can compensate for the brightness unevenness defect based on the corrected compensation data of each bound pixel in the correction area.
[0038] In conjunction with the first aspect, after obtaining the grayscale image of the display panel, the method further includes:
[0039] The uneven brightness areas identified on the grayscale image are marked using a marker box;
[0040] The grayscale image and the identification frame are loaded onto the display panel so that the display panel displays the corresponding image.
[0041] Based on the image displayed on the display panel, detect whether there is any uneven brightness defect on the display panel that needs to be repaired;
[0042] If it exists, the area with uneven brightness is identified as the area to be repaired.
[0043] Secondly, a brightness compensation device for a display panel is provided for repairing uneven brightness defects in the display panel, the device comprising:
[0044] The image acquisition module is used to acquire a grayscale image of the display panel. The display panel includes a plurality of first pixels, and the grayscale image includes a plurality of second pixels. The plurality of second pixels correspond one-to-one with the plurality of first pixels.
[0045] The model analysis module is used to generate a first brightness model based on the brightness of each second pixel along the first direction in the area to be repaired if the size of the area to be repaired is smaller than a set size. The area to be repaired is the area on the grayscale image corresponding to the brightness unevenness defect.
[0046] The defect repair module is used to obtain a first virtual binding point pixel and compensation data of the first virtual binding point pixel based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixel.
[0047] Wherein, the binding point pixel is obtained based on the first pixel, the target pixel is the second pixel corresponding to the binding point pixel, and the correction area is the area that can cover the brightness unevenness defect.
[0048] One of the above technical solutions has the following advantages or beneficial effects:
[0049] Compared with existing technologies, this application provides a brightness compensation method for a display panel, comprising: acquiring a grayscale image of the display panel; if the size of the area to be repaired in the grayscale image is smaller than a set size, generating a first brightness model based on the brightness of each second pixel distributed along a first direction in the area to be repaired; and acquiring a first virtual binding pixel and compensation data of the first virtual binding pixel based on the first brightness model and target pixels located in the area to be repaired and distributed along the first direction, so that the display panel can compensate for brightness unevenness defects based on the compensation data of each binding pixel in the repair area and the compensation data of the first virtual binding pixel. The brightness compensation method provided by this application can add at least one first virtual binding pixel according to the brightness distribution of each pixel along the first direction in the area to be repaired, thereby making the binding pixels and the first virtual binding pixels distributed along the first direction closer to the brightness model of the brightness unevenness defect. This allows the display panel to accurately repair brightness unevenness defects that Demura cannot compensate for based on the binding pixels and the first virtual binding pixels in the repair area, thereby greatly improving the display effect and enhancing the display level of the display panel. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic diagram showing the change in brightness of the display panel in the horizontal direction before and after Demura processing.
[0052] Figure 2 A schematic diagram of the Demura processing procedure;
[0053] Figure 3 This is a schematic diagram of the overall process of the brightness compensation method for the display panel according to an embodiment of this application;
[0054] Figure 4 This is a schematic diagram of the area to be repaired in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of the first brightness model in an embodiment of this application;
[0056] Figure 6a This is a schematic diagram illustrating an example of a positional relationship between a target pixel and a first brightness model in an embodiment of this application.
[0057] Figure 6b This is a schematic diagram illustrating another positional relationship between the target pixel and the first brightness model in an embodiment of this application.
[0058] Figure 6c This is a schematic diagram illustrating another example of the positional relationship between the target pixel and the first brightness model in an embodiment of this application;
[0059] Figure 7 This is a schematic diagram of the structure of the brightness compensation device for the display panel in an embodiment of this application;
[0060] Attached image labels: 701 - Image acquisition module; 702 - Model analysis module; 703 - Defect repair module. Detailed Implementation
[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0062] In this application, "De-" in Demura means removal. Demura refers to the removal of mura, which refers to the defect of uneven brightness and chromaticity.
[0063] Please see Figure 1 , Figure 1 The diagram illustrates the brightness change curves of the display panel in the horizontal direction before and after Demura processing. Demura technology can compensate for mura, that is, reduce the display brightness of bright mura defects and increase the display brightness of dark mura defects on the display panel, thereby improving the brightness uniformity of each pixel on the display panel.
[0064] Please see Figure 2 , Figure 2The diagram illustrates the Demura processing procedure. Typically, Demura processing employs block-based compensation. Taking a 3840×2160 resolution display panel as an example, the panel comprises 3840×2160 first pixels A1. Each first pixel has corresponding brightness compensation data. By downsampling the display panel in an 8×8 pattern, 481×271 bound pixels are obtained. Every four adjacent, concentric bound pixels form a correction unit block. In the actual compensation process, the compensation data for each bound pixel is burned into the display panel's storage container. The repair module (Demura IP) in the display panel reads the compensation data for each bound pixel and, for each correction unit block, uses bilinear interpolation based on the compensation data of the four bound pixels located at the four vertices of that correction unit block to compensate the brightness of each first pixel within that correction unit block.
[0065] However, the applicant noted that for some special-shaped muras, such as dot-shaped muras, if the size is small, they may be treated as foreign objects by the demura algorithm and avoided without compensation, resulting in uneven brightness on the display panel and affecting the display effect. Alternatively, the brightness compensated by the above method may not conform to the original characteristic curve of the mura, thus easily leading to overcompensation or undercompensation, resulting in poor display effect.
[0066] In view of this, embodiments of this application provide a brightness compensation method for a display panel. By adding virtual bound pixels, linear interpolation is performed to better conform to the brightness distribution law of dot-shaped mura, thereby accurately repairing dot-shaped mura that cannot be compensated by demura, and thus solving at least part of the above-mentioned technical problems.
[0067] The brightness compensation method for the display panel in this application embodiment is used to repair the uneven brightness defect of the display panel.
[0068] In some embodiments, the shape of the brightness unevenness defect can be circular or elliptical, and each first pixel distributed along the first direction X in the brightness unevenness defect passes through the center of the circle, and the brightness of each first pixel conforms to a Gaussian distribution. It is understood that when the shape of the brightness unevenness defect is circular, the brightness of the first pixels distributed along each direction passing through the center of the circle conforms to a Gaussian distribution. When the shape of the brightness unevenness defect is elliptical, the brightness of the first pixels distributed along the first direction X and the second direction Y passing through the center of the circle conforms to a Gaussian distribution. The first direction can be a horizontal direction parallel to the major axis of the ellipse, and the second direction Y can be a vertical direction parallel to the minor axis of the ellipse. It is also understood that the shape of the brightness unevenness defect can also be close to circular or close to elliptical, as long as it conforms to the point-like distribution pattern, it should be included within the protection scope of this application embodiment. For example, the first direction X can be a horizontal direction, the second direction Y can be a vertical direction, and the first direction X and the second direction Y can also be any other intersecting direction; there is no specific limitation on this.
[0069] Please see Figure 3 , Figure 3 This illustration shows the overall flow of a brightness compensation method for a display panel according to an embodiment of this application. The brightness compensation method for the display panel includes the following steps:
[0070] 301: Get the grayscale image of the display panel.
[0071] The display panel includes multiple first pixels, and the grayscale image includes multiple second pixels, with each second pixel corresponding to a first pixel.
[0072] For example, the display panel has undergone brightness compensation based on the compensation data of the bound pixels, that is, the display panel has been processed by Demura. The bound pixels are obtained based on multiple first pixels.
[0073] Specifically, the brightness of each first pixel on the display panel can be controlled to display a preset grayscale level, such as 128 grayscale levels. Then, a grayscale image of the display panel is captured by a camera, and the grayscale level corresponding to the grayscale image is 128 grayscale levels.
[0074] In some embodiments, after performing step 301 and before performing step 302, the method of this application embodiment may further include the following steps:
[0075] Step 1: Mark the areas of uneven brightness identified on the grayscale image using the marker boxes.
[0076] Specifically, algorithms, such as blob image processing algorithms, can be used to identify areas of uneven brightness in a grayscale image and mark them with bounding boxes. The position of the bounding box reflects the location of the uneven brightness area, and the size of the bounding box reflects the size of the uneven brightness area.
[0077] Step two: Load the grayscale image and the label box together onto the display panel so that the display panel displays the corresponding image.
[0078] Specifically, a new image composed of a grayscale image and a marker frame can be loaded onto the display panel through the signal generator on the display panel, so that each first pixel on the display panel emits light to display the corresponding image, allowing the operator to intuitively and vividly see the currently identified uneven brightness areas on the display panel.
[0079] Step 3: Based on the image displayed on the display panel, detect whether there are any uneven brightness defects on the display panel that need to be repaired.
[0080] Specifically, operators can determine whether the uneven brightness defect corresponding to the uneven brightness area needs repair based on relevant testing standards. In other words, operators can rule out uneven brightness defects caused by foreign objects in the display panel itself, thus eliminating the need for repair. This allows for a more accurate determination of the type of uneven brightness defect. Understandably, other methods can also be used to determine whether the uneven brightness defect corresponding to the uneven brightness area needs repair; specific methods are not limited to these.
[0081] Step four: If the uneven brightness area exists, it is identified as the area to be repaired. If it does not exist, it is determined that there is no area to be repaired on the grayscale image, and the process ends. In other words, the area to be repaired can be used to indicate that the display panel has uneven brightness defects.
[0082] By using the methods described above, defects that do not need to be repaired can be eliminated, thereby improving accuracy and processing efficiency.
[0083] 302: If the size of the area to be repaired is smaller than the set size, a first brightness model is generated based on the brightness of each second pixel along the first direction X in the area to be repaired.
[0084] The area to be repaired is the region on the grayscale image that corresponds to the uneven brightness defect.
[0085] Please see Figure 4 , Figure 4Schematically shows the area to be repaired in an embodiment of the present application. In some examples, the size of the area to be repaired Px is smaller than a set size, and the set size can be M×N, satisfying: 0<M≤M1, and 0<N≤N1, where M is the set long side size, N is the set wide side size, and M1×N1 is the size of the rectangular area surrounded by four adjacent and non-collinear correction units block. Exemplarily, if the size of the correction unit block is 8×8, then the size of the rectangular area surrounded by four adjacent and non-collinear correction units block can be 16×16, and then the set size range can be less than or equal to 16×16. Exemplarily, the range of the set long side size M is 1 to 16, for example: the set long side size M is any one or any range value between 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 16. The range of the set wide side size N is 1 to 16, for example: the set wide side size N is any one or any range value between 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 16.
[0086] Please refer to Figure 5 , Figure 5 Schematically shows the first brightness model in an embodiment of the present application. In some examples, for each first pixel distributed along the first direction X in the brightness unevenness defect, the first brightness model M has a center point O, a first end point M1 and a second end point M2 distributed at both ends of the center point O. There is a first bending point W1 between the center point O and the first end point M1, and a second bending point W2 between the center point O and the second end point M2. Figure 5 In , the abscissa x represents the position of the first pixel, and the ordinate y represents the brightness of the first pixel.
[0087] 303: Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction X, obtain the first virtual binding point pixels and the compensation data of the first virtual binding point pixels, so that the display panel compensates for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixels.
[0088] Among them, the target pixel is the second pixel corresponding to the binding point pixel, and the correction area is the area that can cover the brightness unevenness defect, which can be specifically surrounded by any four co-circular binding point pixels.
[0089] In some examples, for multiple areas that can cover the brightness unevenness defect surrounded by any four co-circular binding point pixels, the correction area can be the area with the smallest area among them. In this way, it is possible to minimize unnecessary areas for repair, improve processing efficiency and improve processing accuracy.
[0090] For example, for a brightness unevenness defect with a size of 3×3, if it is located at the center of a single correction unit block with a size of 8×8, then it can be understood that the 8×8 area, 16×8 area, 8×16 area, 16×16 area, and other areas larger than 16×16 area covering the brightness unevenness defect, or even the entire display panel, can be used as the correction area. In this embodiment, the 8×8 area can be taken as the specific correction area for repair, and the first pixel outside the correction area will not be repaired.
[0091] The following is combined Figure 5 The first brightness model shown is based on different positional relationships between the target pixel and the first brightness model. The implementation of step 303 will be illustrated in the following examples.
[0092] Please see Figure 6a , Figure 6a This illustration shows an example of a positional relationship between a target pixel and a first brightness model in an embodiment of this application. In one example, the number of target pixels T located in the area to be repaired and distributed along the first direction X is L, satisfying: L = 3, and each target pixel T is located at the center point O, the first endpoint M1, and the second endpoint M2, respectively.
[0093] In this example, step 303 is implemented through the following steps:
[0094] Step 1: Based on the center point O, the first endpoint M1, and the first brightness model, obtain the first virtual target pixel T1. The first virtual target pixel T1 is located near the first bending point W1.
[0095] Specifically, obtain a tangent line Q1 passing through the center point O, and obtain a tangent line Q2 passing through the first endpoint M1. The intersection of tangent lines Q1 and Q2 is determined as the first virtual target pixel T1.
[0096] Step two: Based on the center point O, the second endpoint M2, and the first brightness model, obtain the second virtual target pixel T2. The second virtual target pixel T2 is located near the second bending point W2.
[0097] Specifically, obtain another tangent line Q3 passing through the center point O, and obtain the tangent line Q4 passing through the second endpoint M2. The intersection of tangent lines Q3 and Q4 is determined as the second virtual target pixel T2.
[0098] Step 3: Based on the grayscale image, obtain the first compensation data of the first virtual target pixel T1 and the second compensation data of the second virtual target pixel T2.
[0099] Specifically, obtain the display gray level of the first virtual target pixel T1 from the gray-scale image, and use the difference between the display gray level and the gray level corresponding to the gray-scale image as the first compensation data for the first virtual target pixel T1. Obtain the display gray level of the second virtual target pixel T2 from the gray-scale image, and use the difference between the display gray level and the gray level corresponding to the gray-scale image as the second compensation data for the second virtual target pixel T2. Exemplarily, taking 128 gray levels as an example, the display gray level of the first virtual target pixel T1 in the gray-scale image is 127, and the display gray level of the second virtual target pixel T2 is 126. Then the first compensation data is +1 gray level, and the second compensation data is +2 gray levels.
[0100] Step 4: Determine the first compensation data as the compensation data for the first virtual binding pixel corresponding to the first virtual target pixel T1, and determine the second compensation data as the compensation data for the second virtual binding pixel corresponding to the second virtual target pixel T2.
[0101] Since the first pixel of the display panel corresponds to the second pixel of the gray-scale image one by one, the corresponding first virtual binding pixels on the display panel can be obtained respectively according to the first virtual target pixel and the second virtual target pixel on the gray-scale image.
[0102] Through the above method, two first virtual binding pixels can be added, so that the connection lines of the three target pixels and the newly added two first virtual binding pixels are more conforming to the first brightness model. Compared with the original scheme of using three target pixels for repair, more accurate repair can be performed.
[0103] Please refer to Figure 6b , Figure 6b which shows another example of the positional relationship between the target pixel and the first brightness model in the embodiment of the present application. In another example, the number of target pixels located in the area to be repaired and distributed along the first direction X is L, satisfying: 0 < L ≤ 2, and each target pixel T avoids the positions of the center point O, the first end point M1, and the second end point M2 at the same time.
[0104] Figure 6b Taking 2 target pixels T distributed at both ends of the center point O as an example for illustration. In this example, step 303 is specifically implemented through the following steps:
[0105] Step 1: Determine the center point O as the third virtual target pixel T3.
[0106] Step 2: Based on the gray-scale image, obtain the third compensation data of the third virtual target pixel T3.
[0107] Specifically, the display grayscale of the third virtual target pixel T3 is obtained from the grayscale image, and the difference between this display grayscale and the corresponding grayscale in the grayscale image is used as the third compensation data for the third virtual target pixel T3. For example, taking a 128 grayscale image as an example, if the display grayscale of the third virtual target pixel T3 in the grayscale image is 125, then the third compensation data is +3 grayscale.
[0108] Step 3: Determine the third compensation data as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel T3.
[0109] By using the above method, a first virtual binding point pixel can be added, so that the connection between the two target pixels and the newly added first virtual binding point pixel fits the first brightness model more closely. Compared with the solution that only uses two target pixels for repair, more accurate repair can be performed.
[0110] It is understood that, referring to the aforementioned embodiments, the first virtual target pixel T1 and the second virtual target pixel T2 can be obtained near the first bending point W1 and the second bending point W2 respectively, and linear interpolation can be performed together with the third virtual target pixel T3, so as to further fit the first brightness model and further improve the repair accuracy.
[0111] Please see Figure 6c , Figure 6c This illustration shows another example of the positional relationship between the target pixel and the first brightness model in an embodiment of this application. In this further example, the number of target pixels T located in the region to be repaired and distributed along the first direction X is L, satisfying: L = 0. That is to say, there are no target pixels T on the first brightness model.
[0112] In this example, step 303 is implemented through the following steps:
[0113] Step 1: Determine the center point O as the third virtual target pixel T3, the first endpoint M1 as the fourth virtual target pixel T4, and the second endpoint M2 as the fifth virtual target pixel T5.
[0114] Step 2: Based on the grayscale image, obtain the third compensation data of the third virtual target pixel T3, the fourth compensation data of the fourth virtual target pixel T4, and the fifth compensation data of the fifth virtual target pixel T5.
[0115] Step 3: The third compensation data, the fourth compensation data, and the fifth compensation data are respectively determined as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel T3, the compensation data of the first virtual binding point pixel corresponding to the fourth virtual target pixel T4, and the compensation data of the first virtual binding point pixel corresponding to the fifth virtual target pixel T5.
[0116] By using the above method, three new first virtual binding point pixels can be added, so that the connection between the three new first virtual binding point pixels fits the first brightness model more closely. Compared with the original solution of using correction unit blocks for repair, more accurate repair can be performed.
[0117] It is understood that, referring to the aforementioned embodiments, the first virtual target pixel T1 and the second virtual target pixel T2 can be obtained near the first bending point W1 and the second bending point W2, respectively, and then linearly interpolated together with the third virtual target pixel T3, the fourth virtual target pixel T4 and the fifth virtual target pixel T5, so as to further fit the first brightness model and further improve the repair accuracy.
[0118] In other examples, other positional relationships between the target pixel and the first brightness model can also be used. For example, the number of target pixels is 1, and it is located at the center point or at a certain endpoint. The specific virtual binding point pixels can be flexibly selected according to the actual situation. This application embodiment does not make specific limitations on this.
[0119] In some embodiments, please continue reading Figure 4 Before the display panel compensates for the brightness unevenness defect in the area to be repaired based on the compensation data of each bound pixel in the correction area and the compensation data of the first virtual bound pixel, the brightness compensation method of this application embodiment further includes the following steps:
[0120] Step 1: If the size of the area to be repaired is smaller than the set size, then a second brightness model is generated based on the brightness of each second pixel distributed along the second direction Y in the area to be repaired.
[0121] For example, the second brightness model also has a shape similar to the first brightness model. For instance, each first pixel distributed along the second direction Y in the brightness unevenness defect passes through the center of the circle. The second brightness model has a center point, first endpoints and second endpoints distributed at both ends of the center point, a first bend point between the center point and the first endpoints, and a second bend point between the center point and the second endpoints.
[0122] Step 2: Based on the second brightness model and the target pixels located in the area to be repaired and distributed along the second direction Y, obtain the second virtual binding point pixels and the compensation data of the second virtual binding point pixels, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area, the compensation data of each first virtual binding point pixel and the compensation data of each second virtual binding point pixel.
[0123] Specifically, referring to step 303 above, which describes the different positional relationships between the target pixel and the second brightness model, different positions and numbers of second virtual binding point pixels can be obtained. This will not be repeated here.
[0124] In other words, if virtual binding points are added in two directions, the display panel will ultimately use bilinear interpolation based on the compensation data of each binding point pixel in the correction area and all the newly added virtual binding points pixels to compensate for uneven brightness. This results in a more accurate repair.
[0125] In some embodiments, the display panel may include a first repair module and a second repair module. The first repair module is used to perform brightness compensation based on the compensation data of each bound pixel, and the second repair module is used to obtain the compensation data of the first virtual bound pixel and the compensation data of the second virtual bound pixel, and to compensate for the uneven brightness defect based on the compensation data of each bound pixel in the correction area and the compensation data of the first virtual bound pixel.
[0126] Specifically, the display panel's workflow is as follows: After burning the compensation data of each bound pixel into the display panel's storage data container, the display panel reads the compensation data of each bound pixel through the first repair module and compensates the brightness of each first pixel within each correction unit block using linear interpolation. For the display panel after Demura processing, in this embodiment, after adding virtual bound pixels, the display panel reads the newly added virtual bound pixels and the compensation data of each bound pixel within the correction area through the second repair module and compensates the brightness of each first pixel within the correction area using linear interpolation. Thus, the first repair module is used for conventional Demura processing, and the second repair module is used for precise repair of dot-like mura, making it easier to implement.
[0127] Understandably, if virtual binding points are added in two or more directions, the display panel will ultimately use bilinear interpolation based on the compensation data of each binding point pixel in the correction area and all the newly added virtual binding points pixels to compensate for uneven brightness.
[0128] In some embodiments, the method provided in this application may further include the following steps that can be performed in parallel with step 302:
[0129] Step 1: If the size of the area to be repaired is larger than the set size, then obtain each target pixel in the area corresponding to the area to be repaired in the grayscale image.
[0130] Step 2: Obtain the display grayscale deviation of each target pixel.
[0131] Step 3: Based on the grayscale deviation, correct the compensation data of the corresponding bound pixel in the correction area so that the display panel can compensate for the uneven brightness defect based on the corrected compensation data of each bound pixel in the correction area.
[0132] For example, taking 128 gray levels as an example, if the display gray level of a certain target pixel is 126, then the display gray level deviation is +2 gray levels. If the compensation data of the binding pixel corresponding to the target pixel has been burned in is +1 gray level, then the compensation data after the binding pixel is corrected is +3 gray level. That is to say, after the binding pixel is corrected, the final display gray level is 131 gray level to achieve the brightness corresponding to 128 gray levels.
[0133] By using the above method, we can avoid the pressure on storage and processing caused by a large correction area when the size of the uneven brightness defect is large, which would result in a large number of virtual bound pixels. We can also achieve more accurate compensation and higher processing efficiency.
[0134] It is understood that the brightness compensation method provided in this application can add at least one first virtual binding point pixel according to the brightness distribution of each pixel along the first direction X in the area to be repaired. This makes the binding point pixels and the first virtual binding point pixels distributed along the first direction X more closely resemble the brightness model of the brightness unevenness defect. As a result, the display panel can accurately repair the brightness unevenness defect that Demura cannot compensate for based on the binding point pixels and the first virtual binding point pixels in the correction area, thereby greatly improving the display effect and enhancing the display level of the display panel.
[0135] Accordingly, please refer to Figure 7 , Figure 7 This diagram illustrates the structure of a brightness compensation device for a display panel according to an embodiment of this application. The brightness compensation device for a display panel provided in this embodiment is used to repair uneven brightness defects in a display panel. Specifically, the device includes an image acquisition module 701, a model analysis module 702, and a defect repair module 703.
[0136] Image acquisition module 701 is used to acquire grayscale images of the display panel. The display panel includes multiple first pixels, and the grayscale image includes multiple second pixels, with each second pixel corresponding to one of the multiple first pixels.
[0137] The model analysis module 702 is used to generate a first brightness model based on the brightness of each second pixel along the first direction in the area to be repaired if the size of the area to be repaired is smaller than a set size. The area to be repaired is the area on the grayscale image corresponding to the brightness unevenness defect.
[0138] The defect repair module 703 is configured to obtain a first virtual binding point pixel and compensation data of the first virtual binding point pixel based on a first brightness model and target pixels located in the to-be-repaired area and distributed along a first direction, so that the display panel compensates for the brightness non-uniformity defect based on the compensation data of each binding point pixel and the compensation data of the first virtual binding point pixel in the correction area.
[0139] Among them, the binding point pixels are obtained based on the first pixels, the target pixels are the second pixels corresponding to the binding point pixels, and the correction area is an area that can cover the brightness non-uniformity defect.
[0140] In some embodiments, the shape of the brightness non-uniformity defect is circular or elliptical, and for each first pixel along the first direction in the brightness non-uniformity defect, it passes through the center of the circle and the brightness of each first pixel conforms to a Gaussian distribution.
[0141] The first brightness model has a center point, a first end point and a second end point distributed at both ends of the center point. There is a first bending point between the center point and the first end point, and a second bending point between the center point and the second end point.
[0142] In some embodiments, the number of target pixels located in the to-be-repaired area and distributed along the first direction X is L, and it satisfies: L = 3, and each target pixel is respectively located at the positions of the center point, the first end point and the second end point.
[0143] The defect repair module 703 is specifically configured to:
[0144] Based on the center point, the first end point, and the first brightness model, obtain a first virtual target pixel, and the first virtual target pixel is close to the first bending point.
[0145] Based on the center point, the second end point, and the first brightness model, obtain a second virtual target pixel, and the second virtual target pixel is close to the second bending point.
[0146] Based on the grayscale image, obtain first compensation data of the first virtual target pixel and second compensation data of the second virtual target pixel.
[0147] Determine the first compensation data as the compensation data of the first virtual binding point pixel corresponding to the first virtual target pixel, and determine the second compensation data as the compensation data of the first virtual binding point pixel corresponding to the second virtual target pixel.
[0148] In some embodiments, the number of target pixels located in the to-be-repaired area and distributed along the first direction X is L, and it satisfies: 0 < L ≤ 2, and each target pixel simultaneously avoids the positions of the center point, the first end point and the second end point.
[0149] The defect repair module 703 is specifically configured to:
[0150] The center point is determined as the third virtual target pixel.
[0151] Based on the grayscale image, obtain the third compensation data for the third virtual target pixel.
[0152] The third compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel.
[0153] In some embodiments, the number of target pixels located in the region to be repaired and distributed along the first direction X is L, satisfying: L = 0.
[0154] Defect Repair Module 703 is specifically used for:
[0155] The center point is determined as the third virtual target pixel, the first endpoint is determined as the fourth virtual target pixel, and the second endpoint is determined as the fifth virtual target pixel.
[0156] Based on the grayscale image, obtain the third compensation data of the third virtual target pixel, the fourth compensation data of the fourth virtual target pixel, and the fifth compensation data of the fifth virtual target pixel.
[0157] The third, fourth, and fifth compensation data are respectively determined as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel, the compensation data of the first virtual binding point pixel corresponding to the fourth virtual target pixel, and the compensation data of the first virtual binding point pixel corresponding to the fifth virtual target pixel.
[0158] In some embodiments, the model analysis module 702 is further configured to generate a second brightness model based on the brightness of each second pixel distributed along the second direction Y in the area to be repaired if the size of the area to be repaired is smaller than a set size, wherein the second direction intersects with the first direction.
[0159] The defect repair module 703 is also used to obtain second virtual binding point pixels and compensation data of second virtual binding point pixels based on the second brightness model and the target pixels located in the area to be repaired and distributed along the second direction Y, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area, the compensation data of each first virtual binding point pixel and the compensation data of each second virtual binding point pixel.
[0160] In some embodiments, the display panel includes a first repair module and a second repair module.
[0161] The first repair module is used to perform brightness compensation based on the compensation data of each bound pixel. The second repair module is used to obtain the compensation data of the first virtual bound pixel and the second virtual bound pixel, and to compensate for the uneven brightness defect based on the compensation data of each bound pixel in the correction area, the compensation data of the first virtual bound pixel, and the compensation data of the second virtual bound pixel.
[0162] In some embodiments, the defect repair module 703 is further configured to:
[0163] If the size of the area to be repaired is larger than the set size, then obtain each target pixel in the area corresponding to the area to be repaired in the grayscale image.
[0164] Obtain the display grayscale deviation of each target pixel.
[0165] Based on the grayscale deviation, the compensation data of the corresponding bound pixel in the correction area is corrected so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each bound pixel in the correction area.
[0166] In some embodiments, after the image acquisition module 701, the device further includes:
[0167] The defect identification module is used to mark areas of uneven brightness identified on a grayscale image using bounding boxes. It then loads the grayscale image and the bounding boxes onto the display panel to display the corresponding image. Based on the displayed image, it detects whether there are any uneven brightness defects on the display panel that need repair. If so, the uneven brightness area is identified as the area to be repaired.
[0168] It is understood that the brightness compensation device provided in this application can add at least one first virtual binding point pixel according to the brightness distribution of each pixel along the first direction X in the area to be repaired, so that each binding point pixel and the first virtual binding point pixel distributed along the first direction X can be closer to the brightness model of the brightness unevenness defect, thereby enabling the display panel to accurately repair the brightness unevenness defect that Demura cannot compensate for based on each binding point pixel and the first virtual binding point pixel in the correction area, thereby greatly improving the display effect and improving the display level of the display panel.
[0169] The above provides a detailed description of a brightness compensation method and apparatus for a display panel provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. Those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A brightness compensation method for a display panel, characterized in that, For repairing the brightness non-uniformity defect of a display panel, the method includes: Obtaining a grayscale image of the display panel, where the display panel includes multiple first pixels, and the grayscale image includes multiple second pixels, and the multiple second pixels correspond to the multiple first pixels one by one; If the size of the area to be repaired is smaller than a set size, based on the brightness of each of the second pixels along a first direction in the area to be repaired, a first brightness model is generated. The area to be repaired is the area on the grayscale image corresponding to the brightness non-uniformity defect, the shape of the brightness non-uniformity defect is circular or elliptical, and for each of the first pixels along the first direction in the brightness non-uniformity defect, it passes through the center of the circle and the brightness of each of the first pixels conforms to a Gaussian distribution. The first brightness model has a center point, a first end point and a second end point distributed at both ends of the center point, a first bending point between the center point and the first end point, and a second bending point between the center point and the second end point; Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, a first virtual binding point pixel and compensation data of the first virtual binding point pixel are obtained, so that the display panel compensates for the brightness non-uniformity defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixel; Wherein, the binding point pixels are obtained based on the first pixels, the target pixels are the second pixels corresponding to the binding point pixels, and the correction area is an area that can cover the brightness non-uniformity defect.
2. The brightness compensation method for a display panel according to claim 1, characterized in that, The number of target pixels located in the area to be repaired and distributed along the first direction is L, satisfying: L = 3, and each of the target pixels is located at the positions of the center point, the first end point and the second end point respectively; Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, obtaining a first virtual binding point pixel and compensation data of the first virtual binding point pixel includes: Based on the center point, the first end point, and the first brightness model, a first virtual target pixel is obtained, and the first virtual target pixel is close to the first bending point; Based on the center point, the second end point, and the first brightness model, a second virtual target pixel is obtained, and the second virtual target pixel is close to the second bending point; Based on the grayscale image, first compensation data of the first virtual target pixel and second compensation data of the second virtual target pixel are obtained; The first compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the first virtual target pixel, and the second compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the second virtual target pixel.
3. The brightness compensation method for a display panel according to claim 1, characterized in that, The number of target pixels located in the area to be repaired and distributed along the first direction is L, satisfying: 0 < L ≤ 2, and each of the target pixels simultaneously avoids the positions of the center point, the first end point and the second end point; Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, the first virtual binding point pixel and the compensation data of the first virtual binding point pixel are obtained, including: The center point is determined as the third virtual target pixel; Based on the grayscale image, obtain the third compensation data for the third virtual target pixel; The third compensation data is determined as the compensation data of the first virtual binding point pixel corresponding to the third virtual target pixel.
4. The brightness compensation method for a display panel according to claim 1, characterized in that, The number of target pixels located in the area to be repaired and distributed along the first direction is L, satisfying: L=0; Based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, the first virtual binding point pixel and the compensation data of the first virtual binding point pixel are obtained, including: The center point is determined as the third virtual target pixel, the first endpoint is determined as the fourth virtual target pixel, and the second endpoint is determined as the fifth virtual target pixel; Based on the grayscale image, obtain the third compensation data of the third virtual target pixel, the fourth compensation data of the fourth virtual target pixel, and the fifth compensation data of the fifth virtual target pixel; The third compensation data, the fourth compensation data, and the fifth compensation data are respectively determined as compensation data for the first virtual binding point pixel corresponding to the third virtual target pixel, compensation data for the first virtual binding point pixel corresponding to the fourth virtual target pixel, and compensation data for the first virtual binding point pixel corresponding to the fifth virtual target pixel.
5. The brightness compensation method for a display panel according to claim 1, characterized in that, Before the display panel compensates for the brightness unevenness defect based on the compensation data of each bound pixel in the correction area and the compensation data of the first virtual bound pixel, the method further includes: If the size of the area to be repaired is smaller than the set size, a second brightness model is generated based on the brightness of each second pixel in the area to be repaired along the second direction, wherein the second direction intersects with the first direction; Based on the second brightness model and the target pixels located in the area to be repaired and distributed along the second direction, the second virtual binding point pixels and the compensation data of the second virtual binding point pixels are obtained, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area, the compensation data of each first virtual binding point pixel and the compensation data of each second virtual binding point pixel.
6. The brightness compensation method for a display panel according to claim 5, characterized in that, The display panel includes a first repair module and a second repair module; The first repair module is used to perform brightness compensation based on the compensation data of each of the bound point pixels. The second repair module is used to obtain the compensation data of the first virtual bound point pixels and the compensation data of the second virtual bound point pixels, and to compensate for the brightness unevenness defect based on the compensation data of each bound point pixel in the correction area, the compensation data of the first virtual bound point pixels and the compensation data of the second virtual bound point pixels.
7. The brightness compensation method for a display panel according to claim 1, characterized in that, The method further includes: If the size of the area to be repaired is larger than the set size, then obtain each target pixel in the region corresponding to the correction area in the grayscale image; Obtain the display grayscale deviation of each of the target pixels; Based on the grayscale deviation, the compensation data of the corresponding bound pixel in the correction area is corrected so that the display panel can compensate for the brightness unevenness defect based on the corrected compensation data of each bound pixel in the correction area.
8. The brightness compensation method for a display panel according to any one of claims 1-7, characterized in that, After obtaining the grayscale image of the display panel, the method further includes: The uneven brightness areas identified on the grayscale image are marked using a marker box; The grayscale image and the identification frame are loaded onto the display panel so that the display panel displays the corresponding image. Based on the image displayed on the display panel, detect whether there is any uneven brightness defect on the display panel that needs to be repaired; If it exists, the area with uneven brightness is identified as the area to be repaired.
9. A brightness compensation device for a display panel, characterized in that, The device is used to repair uneven brightness defects in a display panel, and includes: The image acquisition module is used to acquire a grayscale image of the display panel. The display panel includes a plurality of first pixels, and the grayscale image includes a plurality of second pixels. The plurality of second pixels correspond one-to-one with the plurality of first pixels. The model analysis module is used to generate a first brightness model based on the brightness of each second pixel along the first direction in the area to be repaired if the size of the area to be repaired is smaller than a set size. The area to be repaired is the area on the grayscale image corresponding to the brightness unevenness defect. The shape of the brightness unevenness defect is circular or elliptical. Each first pixel along the first direction in the brightness unevenness defect passes through the center of the circle and the brightness of each first pixel conforms to a Gaussian distribution. The first brightness model has a center point, first endpoints and second endpoints distributed at both ends of the center point, a first bend point between the center point and the first endpoints, and a second bend point between the center point and the second endpoints. The defect repair module is used to obtain a first virtual binding point pixel and compensation data of the first virtual binding point pixel based on the first brightness model and the target pixels located in the area to be repaired and distributed along the first direction, so that the display panel can compensate for the brightness unevenness defect based on the compensation data of each binding point pixel in the correction area and the compensation data of the first virtual binding point pixel. Wherein, the binding point pixel is obtained based on the first pixel, the target pixel is the second pixel corresponding to the binding point pixel, and the correction area is the area that can cover the brightness unevenness defect.
Citation Information
Patent Citations
Display screen product detection method and device
CN108847170A
Brightness compensation method and device and computer readable storage medium
CN115985269A