Display panel compensation method and display device
By obtaining the brightness data of the edge and center areas of the display panel, calculating the black edge judgment threshold and performing compensation display, the problem of bright or dark bands at the edge of the display panel is solved, and a more uniform display effect is achieved.
Patent Information
- Application Number
- CN202311709005.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-12-11
AI Technical Summary
The display panel has bright or dark bands at the edges, resulting in uneven display. Existing demura compensation technology is not effective.
By acquiring the brightness data of the edge and center areas in the target image, calculating the black edge judgment threshold, identifying and compensating the black edge area of the display panel edge, and obtaining compensation data for compensation display.
Effectively eliminate the black edge area at the edge of the display panel, improve image quality, and enhance the uniformity and display effect of the display panel.
Smart Images

Figure CN117542326B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a compensation method for a display panel and a display device. Background Art
[0002] Due to differences in panel characteristics, some panels may experience uneven display (mura). Mura is usually addressed through external compensation technology, known as demura.
[0003] However, during the demura compensation process on the display panel, the compensation effect on the edge of the display panel is not ideal, resulting in bright bands or dark bands appearing on the edge of the display panel. Summary of the Invention
[0004] In view of this, the present application provides a compensation method for a display panel and a display device, which compensate for bright or dark bands that may appear at the edge of the display panel, thereby improving the uniformity of the panel and the image quality of the display panel.
[0005] In a first aspect, the present application provides a compensation method for a display panel, comprising:
[0006] Acquire first brightness data corresponding to four edge regions and second brightness data corresponding to a central region of a target image, wherein the target image includes a preset picture displayed by the display panel at a preset grayscale;
[0007] Obtaining a black edge determination threshold according to the first brightness data and the second brightness data;
[0008] Identifying whether a black border area exists in the edge area according to the first brightness data and the black border determination threshold;
[0009] If the black border area exists in the edge area, first compensation data corresponding to the black border area is acquired, and compensation display is performed according to the first compensation data.
[0010] In an optional embodiment of the present application, obtaining a black edge determination threshold according to the first brightness data and the second brightness data includes:
[0011] Obtaining edge brightness averages corresponding to the four edge regions according to the first brightness data corresponding to the four edge regions;
[0012] Obtaining a central brightness mean corresponding to the central area according to the second brightness data of the central area;
[0013] The center brightness mean and the edge brightness mean corresponding to the four edge regions are calculated respectively to obtain the black edge determination thresholds corresponding to the four edge regions.
[0014] In an optional embodiment of the present application, respectively calculating the center brightness mean and the edge brightness mean corresponding to the four edge regions to obtain the black edge determination threshold corresponding to each of the four edge regions includes:
[0015] Calculating the sum of the center brightness mean and the edge brightness mean;
[0016] The summation result is multiplied by a preset constant to obtain a black edge determination threshold corresponding to the edge area.
[0017] In an optional embodiment of the present application, identifying whether a black border area exists in the edge area according to the first brightness data and the black border determination threshold includes:
[0018] Comparing the edge brightness mean corresponding to the edge area with the black edge determination threshold corresponding to the edge area;
[0019] If the edge brightness mean reaches the black edge determination threshold, it is determined that the black edge area exists in the edge area;
[0020] If the edge brightness mean value does not reach the black edge determination threshold, it is determined that the black edge area does not exist in the edge area.
[0021] In an optional embodiment of the present application, obtaining first compensation data corresponding to the black border area and performing compensation display according to the first compensation data includes:
[0022] Obtaining original brightness values corresponding to a plurality of pixel points in a target direction, where the target edge region is the edge region where the black border region exists, the target direction is a direction in which the target edge region is away from the central region, and the target direction is parallel to a horizontal direction or a vertical direction of the display panel;
[0023] Calculating the first compensation data corresponding to all the pixels in the target edge area according to the original brightness values of the plurality of pixels;
[0024] The plurality of pixel points are compensated sequentially along the target direction according to the first compensation data corresponding to all the pixel points.
[0025] In an optional embodiment of the present application, calculating the first compensation data corresponding to each of the pixels in the target edge area according to the original brightness values of the plurality of pixels includes:
[0026] If the distance between the current pixel point in the target edge area and the center area along the target direction is not the farthest, obtain the first current brightness values of M first neighboring pixels adjacent to the current pixel point along the target direction, and the second current brightness values of N second neighboring pixels adjacent to the current pixel point along the target direction, where the first neighboring pixels are close to the center area along the target direction, and the second neighboring pixels are far away from the center area along the target direction, and the number of pixels in the edge area along the target direction is L, M and N are both less than L, L, M and N are all positive integers greater than 1, and N is less than M;
[0027] Performing a sum calculation based on the first current brightness values of the M first adjacent pixels and the second current brightness values of the N second adjacent pixels to obtain a sum result;
[0028] The first compensation data corresponding to the current pixel point is obtained by performing an average calculation based on the number and value of M, N and the sum result.
[0029] In an optional embodiment of the present application, the method further includes:
[0030] If the distance between the current pixel point in the target edge area and the center area along the target direction is the farthest, determine that the second current brightness value of the second neighboring pixel point adjacent to the current pixel point is equal to the first current brightness value of the first neighboring pixel point adjacent to the current pixel point.
[0031] In an optional embodiment of the present application, the method further includes:
[0032] If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the current pixel point located in the overlapping area between the first edge area and the first edge area is compensated and displayed based on the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, the average is calculated based on the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, and the current pixel point is compensated and displayed based on the average compensation data as the final compensation value.
[0033] In an optional embodiment of the present application, the method further includes:
[0034] If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the overlapping area is compensated according to the first compensation data corresponding to the current pixel point in any one of the first edge area and the second edge area located in the overlapping area between the first edge area and the first edge area, the first compensation data participating in the compensation in the first edge area and the second edge area is used as the final compensation value to compensate and display the current pixel point.
[0035] In a second aspect, the present application also provides a display device, comprising a display panel, a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the display panel compensation method described in the first aspect.
[0036] The present application provides a display panel compensation method and display device. The method obtains first brightness data corresponding to four edge regions in a target image, respectively, and second brightness data for a center region. The target image includes a display panel displaying a preset image at a preset grayscale. A black border determination threshold is obtained based on the first brightness data and the second brightness data. Based on the first brightness data and the black border determination threshold, it is determined whether a black border region exists in the edge region. If the black border region exists in the edge region, first compensation data corresponding to the black border region is obtained, and compensation display is performed based on the first compensation data. After the black border region is identified, the present application performs compensation display based on the first compensation data corresponding to the black border region. This method can eliminate the black border region of the image displayed by the display panel and improve the image quality of the display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 A schematic diagram of a scene in which a black border area appears when the display panel displays images.
[0039] Figure 2 A schematic flow chart of a compensation method for a display panel provided in an embodiment of the present application.
[0040] Figure 3 A schematic diagram of the edge area and center area of a display panel provided in an embodiment of the present application.
[0041] Figure 4 for Figure 3 Schematic diagram of the middle region Q1 and the enlarged central region.
[0042] Figure 5 for Figure 3 Schematic diagram of the middle region Q2 and the enlarged central region. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0044] In the description of this application, it should be understood that the orientation or positional relationship indicated by the terms "one end" and "the other end" is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of this application, "" means two or more, unless otherwise clearly and specifically defined.
[0045] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "connected" and "connection" should be understood in a broad sense. For example, it can mean a fixed connection, a detachable connection, or an integral connection; it can mean a mechanical connection, a connection, or the ability to communicate with each other; it can mean a direct connection, an indirect connection through an intermediate medium, or the internal communication between two elements or the interaction between two elements. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances.
[0046] The disclosure below provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. In addition, the present application may repeat reference numbers and / or reference letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or settings discussed. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0047] The liquid crystal display device includes: a liquid crystal display panel and a driving circuit, wherein the liquid crystal display panel includes multiple scan lines and multiple data lines, and two adjacent scan lines and two adjacent data lines intersect to form a pixel unit. For each pixel unit, its luminous brightness can be defined by "grayscale". Grayscale refers to the division of the luminous brightness of the pixel unit from the brightest to the darkest into several levels, and each grayscale represents a brightness level. Generally, each pixel unit in the display panel has a total of 256 grayscales from grayscale 0 to grayscale 255.
[0048] The basic principle of generating a demura compensation table (LUT) is to keep the brightness of the central area constant, so that all brightness in other areas converges towards the central area (smoothing to achieve uniformity in the overall display). During the optical demura adjustment stage, the display panel is illuminated, the image displayed on the display panel is captured, the original mura brightness difference is extracted, and demura technology is used to form a directional compensation difference table. The demura device provides data (i.e., the directional compensation difference table) to the Flash in the display panel, which stores the reverse compensation difference table. When the display panel displays the image, the TCON in the display panel reads the reverse difference compensation table from the Flash. The TCON loads the data corresponding to the image for demura processing and outputs the processed image to the display for display. After demura processing, the image displayed on the display will be free of mura (i.e., the compensated display effect will not have uneven brightness).
[0049] When the display panel displays images, you often see images with black edges. Figure 1 As shown, when the camera takes a picture, the edges of the picture will be dark due to the lens. This is due to the optical characteristics of the lens, that is, the energy attenuation from the center to the edge of the lens. Figure 1 The picture shown is provided to the display panel as image data for picture display. If the display panel is based on Figure 1 When an image with black edges is displayed on the screen, demura compensation is performed based on the image on the screen, which will lead to a poor demura compensation effect and significantly reduce the display effect of the display panel.
[0050] The present application provides a display panel compensation method and display device. The display panel in the embodiments of the present application can be used in mobile phones, tablet computers, desktop computers, laptop computers, e-readers, handheld computers, electronic display screens, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as terminal devices such as cellular phones, personal digital assistants (PDAs), augmented reality (AR) and virtual reality (VR) devices, media players, wearable devices, digital cameras, and car navigation systems.
[0051] The display panel may be a liquid crystal display panel. This application does not limit the type of liquid crystal display panel. The liquid crystal display panel provided in this application may be a horizontal electric field type liquid crystal display panel, such as a Fringe Field Switching (FFS) type liquid crystal display panel or an In-Plane Switching (IPS) type liquid crystal display panel, or a vertical electric field type liquid crystal display panel, such as a twisted nematic (TN) type liquid crystal display panel or a multi-domain vertical alignment (MVA) type liquid crystal display panel.
[0052] The compensation method for a display panel and a display device of the present application are described below with reference to the accompanying drawings to solve the above-mentioned problems.
[0053] See also Figure 2 A flow chart of a compensation method for a display panel provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the compensation method for the display panel includes the steps of:
[0054] S100 acquires first brightness data corresponding to four edge areas and second brightness data of a central area in a target image, wherein the target image includes a preset picture displayed by the display panel in a preset grayscale.
[0055] Specifically, the display panel includes a plurality of pixel units P arranged in an array, and each pixel unit P includes a plurality of sub-pixels (for example, red sub-pixel R, green sub-pixel G, and blue sub-pixel B). The executor of the compensation method of the display panel may be a processor of the display device, or a processor of a terminal device provided with a display panel. The compensation system of the display panel may be integrated in the terminal device, or may be provided in the display device. An imaging component is used to take a picture of the display panel displaying a preset picture, and an image of the display panel displaying the preset picture in a preset grayscale is obtained to obtain a target image including the display panel. When the imaging component is imaging, the coordinate information of each pixel point in the target image in the pixel coordinates can be obtained. After the compensation system obtains the target image, it can calculate the following: Figure 3 The first brightness data corresponding to the four edge regions B, C, D and E in the target image, and the second brightness data of the central region A are shown.
[0056] The first brightness data of each edge region includes the original brightness values of all pixels in the edge region and the coordinate information of the pixels in the edge region in the pixel coordinate system, and the second brightness data includes the original brightness values of all pixels in the center region and the coordinate information of the pixels in the center region in the pixel coordinate system. The pixel coordinate system is a two-dimensional coordinate system established with the upper left corner or the center point of the target image as the origin.
[0057] The imaging assembly can be a camera, a webcam, or other photographic device. The shortest distance between the optical center of the imaging assembly's lens and the display panel is less than the normal operating distance of the imaging assembly. In this embodiment, the normal operating distance of the imaging assembly is the working distance of the imaging assembly that ensures that the image of the display panel captured by the imaging assembly is free of image distortion or minimizes image distortion.
[0058] The compensation system can obtain a target image from the imaging component. After obtaining the target image, the compensation system extracts the original brightness values corresponding to each pixel in the target image. Brightness refers to the brightness of the image. For grayscale images, the grayscale value ranges from 0 to 255. The grayscale value is directly proportional to the original brightness value, that is, the higher the grayscale value, the brighter the image. Therefore, the target image can be grayscale processed to obtain the grayscale value of each pixel in the target image, and thus the corresponding original brightness value.
[0059] Of course, the process of obtaining the original brightness value can also be to extract the three primary color components of the target image. Each pixel has three components, which represent the grayscale values of red, blue, and green of the pixel color. The brightness of the pixel is calculated according to the three primary color components, that is, the original brightness value corresponding to the pixel is calculated according to the grayscale values of red, blue, and green after the pixel is converted. For example, the formula is:
[0060] L=a1*R+a2*G+a3*B
[0061] Wherein, R represents the grayscale value of red, G represents the grayscale value of green, B represents the grayscale value of blue, and a1, a2, and a3 are constants.
[0062] Preferably, since the imaging component may not be located directly in front of the display panel, there may be deviations in the brightness of different areas of the target image, resulting in distortion. Therefore, after the compensation system obtains the target image, it performs image preprocessing on the target image, wherein the image preprocessing includes perspective correction, brightness correction, etc., and then the compensation system extracts the brightness data corresponding to all pixels in the target image after image preprocessing. This can solve the problem of the compensation effect being affected by the image brightness distortion of the display panel.
[0063] S200 obtains a black edge determination threshold according to the first brightness data and the second brightness data.
[0064] Specifically, after the compensation system acquires the target image, the black edge determination threshold can be calculated according to the brightness data of each pixel in the target image with reference to S210 to S230 in the following embodiment.
[0065] In an optional embodiment of the present application, the step S200 of acquiring a black edge determination threshold according to the first brightness data and the second brightness data includes:
[0066] S210: acquiring edge brightness averages corresponding to the four edge regions according to the first brightness data corresponding to the four edge regions;
[0067] S220: acquiring a central brightness mean value corresponding to the central area according to the second brightness data of the central area;
[0068] S230 calculates the center brightness mean and the edge brightness mean corresponding to the four edge regions respectively to obtain the black edge determination threshold corresponding to each of the four edge regions.
[0069] Specifically, the first brightness data of any pixel point in the four edge areas corresponding to each edge area is represented by PBi(xi, yi, Image[i]), PCi(xi, yi, Image[i]), PDi(xi, yi, Image[i]) and PEi(xi, yi, Image[i]), and the second brightness data corresponding to the central area is represented by PAi(xi, yi, Image[i]). Among them, PA(xi, yi) represents the coordinate information of pixel point i, and PA(Image[i]) represents the original brightness value of pixel point i. Then, the second brightness data PAi(xi, yi, Image[i]) corresponding to all pixel points in the central area can be obtained, and the number N of all pixel points in the central area can be counted. PAi , sum up the original brightness values corresponding to all pixels in the central area to obtain the brightness sum value ΣPAi(Image[i]) of the central area, and divide the brightness sum value ΣPAi(Image[i]) of the central area by the number N of all pixels in the central area PAi Get the central brightness mean value corresponding to the central area △PAi=ΣPAi(Image[i]) / N PAi .
[0070] Similarly, we can refer to the above method to calculate the central brightness mean corresponding to the central area and calculate the following: Figure 4 The edge regions each correspond to the first brightness data of the edge region, and the edge brightness averages corresponding to the edge regions B, C, D and E are obtained as △PBi=ΣPBi(Image[i]) / N PBi , △PCi=ΣPCi(Image[i]) / N PCi ,△PDi=ΣPDi(Image[i]) / N PDi and △PEi=ΣPEi(Image[i]) / N PEi .
[0071] After the center brightness mean value and the edge brightness mean values corresponding to the four edge regions are calculated in the above manner, they are substituted into S231 to S232 in the following embodiment to calculate the black edge determination threshold values corresponding to the four edge regions.
[0072] In an optional embodiment of the present application, the step S230 calculates the center brightness mean and the edge brightness mean corresponding to the four edge regions, respectively, to obtain the black edge determination threshold corresponding to each of the four edge regions, including:
[0073] S231 calculates the sum of the center brightness mean and the edge brightness mean;
[0074] S232 multiplies the summation result by a preset constant to obtain a black edge determination threshold corresponding to the edge area.
[0075] Specifically, the black edge determination threshold of the edge region B can be calculated by substituting the center brightness mean and the edge brightness mean of the edge region B into the following formula:
[0076] Among them, Q B is the black edge determination threshold corresponding to the edge area B, α is the first constant and its value can be 2, β is the second constant and its value can be 0.4.
[0077] Similarly, the center brightness mean and the edge brightness mean of the C edge area can be substituted into the following formula to calculate the black edge judgment threshold of the C edge area:
[0078] Among them, Q C is the black edge determination threshold corresponding to the edge area of C, α is the first constant and its value can be 2, β is the second constant and its value can be 0.4.
[0079] Similarly, the black edge determination threshold of the D edge area can be calculated by substituting the center brightness mean and the edge brightness mean of the D edge area into the following formula:
[0080] Among them, Q D is the black edge determination threshold corresponding to the edge area of D, α is the first constant and its value can be 2, β is the second constant and its value can be 0.4.
[0081] Similarly, the black edge determination threshold of the E edge area can be calculated by substituting the center brightness mean and the edge brightness mean of the E edge area into the following formula:
[0082] Among them, Q E is the black edge determination threshold corresponding to the edge area of E, α is the first constant and its value can be 2, β is the second constant and its value can be 0.4.
[0083] It should be noted that α and β can be set to other values as needed. β can also be set to 0.5, 0.6, or other values greater than 0 and less than 1. Because the average of the edge brightness and the center brightness of any edge region is calculated, two values are involved in the calculation, so α is set to 2.
[0084] S300 identifies whether a black border area exists in the edge area according to the first brightness data and the black border determination threshold.
[0085] Specifically, the compensation system calculates the black edge determination thresholds corresponding to the four edge areas respectively through the above embodiment, and obtains the first brightness data corresponding to the four edge areas respectively through the target image. Then, according to S310 to S330 in the following embodiment, it can be identified and determined whether there is a black edge area in any of the four edge areas.
[0086] In an optional embodiment of the present application, the step S300 of identifying whether a black border region exists in the edge region according to the first brightness data and the black border determination threshold includes:
[0087] S310 compares the edge brightness mean value corresponding to the edge area with the black edge determination threshold value corresponding to the edge area;
[0088] S320: If the edge brightness mean reaches the black edge determination threshold, determine that the black edge area exists in the edge area;
[0089] S330: If the edge brightness mean value does not reach the black edge determination threshold, determine that the black edge area does not exist in the edge area.
[0090] Specifically, the compensation system is based on any edge area, e.g. Figure 3 The first brightness data corresponding to the edge area B shown in the figure is obtained. After obtaining the edge brightness mean △PBi corresponding to the edge area B, the edge brightness mean △PBi of the edge area B is compared with the black edge judgment threshold Q corresponding to the edge area B. B If the edge brightness mean △PBi of the B edge area reaches (i.e. is greater than or equal to) the black edge judgment threshold Q corresponding to the B edge area, B , that is, △PBi≥Q B , then the compensation system can determine that the black edge area exists in the edge area B. On the contrary, if the edge brightness mean △PBi of the edge area B does not reach (ie, is less than) the black edge determination threshold Q corresponding to the edge area B B , that is, △PBi<Q B , then the compensation system can determine that there is no black edge area in the edge area of B.
[0091] Similarly, the above process can be referred to to determine whether there are black edge areas in the C edge area, the D edge area, and the E edge area, which will not be described in detail here.
[0092] S400: If the edge area includes the black border area, first compensation data corresponding to the black border area is acquired, and compensation display is performed according to the first compensation data.
[0093] Specifically, after the compensation system determines that there is a black border area in the edge area through the above process, it determines that the edge area with the black border area is the target edge area, and the target edge area is the edge area of the black border area to be eliminated. Then, the compensation system calculates and obtains the first compensation data corresponding to the black border area through the following embodiments S410 to S430, and stores the first compensation data in the image data of the preset picture to be displayed. In this way, the display panel performs compensation display according to the picture data storing the first compensation data, and the black border area can be eliminated.
[0094] In an optional embodiment of the present application, the step S400 of acquiring first compensation data corresponding to the black border area and performing compensation display according to the first compensation data includes:
[0095] S410 obtains original brightness values corresponding to a plurality of pixel points in a target direction, wherein the target edge region is the edge region where the black border region exists, the target direction is the direction in which the target edge region is away from the central region, and the target direction is parallel to the horizontal direction or the vertical direction of the display panel;
[0096] S420: calculating, based on the original brightness values of the plurality of pixels, the first compensation data corresponding to each of the pixels in the target edge area;
[0097] S430 compensates the plurality of pixel points sequentially along the target direction according to the first compensation data corresponding to all the pixel points.
[0098] Specifically, assuming that the target edge region includes edge region B, edge region C, edge region D, and edge region E, the target direction may include: Figure 4 The edge area B shown is away from the first target direction S1 of the central area, as shown in FIG. Figure 4 The edge area of C shown is away from the second target direction S2 of the central area, as shown in FIG. Figure 4 The edge area D shown is away from the third target direction S3 of the central area, as shown in FIG. Figure 4 The edge region E is shown as being away from the fourth target direction S4 of the central region. The first target direction S1 and the second target direction S2 are both parallel to the horizontal direction X, and the third target direction S3 and the fourth target direction S4 are both parallel to the vertical direction Y.
[0099] Under the premise that a black edge region exists in an edge region, that is, when the compensation system determines that a target edge region exists in a target image, the compensation system obtains the original brightness values corresponding to multiple pixel points along the target direction, for example, Figure 4As shown, the original brightness values corresponding to the five pixels P1 to P5 in the first target direction S1 are obtained. Then, based on the original brightness values corresponding to the five pixels P1 to P5 in the first target direction S1, the compensation system uses steps S421 to S424 in the following embodiments to calculate the first compensation data corresponding to all pixels in the target edge area. Then, based on the first compensation data corresponding to all pixels, the compensation system sequentially compensates multiple pixels along the target direction. In short, the compensation system compensates the pixels in the edge area with black borders from the inside out.
[0100] For example, the compensation system compensates the pixels in the B edge area where there is a black border area in sequence from inside to outside (ie, from right to left) along the first target direction S1. Figure 4 As shown, taking edge region B as an example, if the number of pixels in edge region B along the first target direction S1 is 5, the compensation system sequentially compensates for pixels P5, P4, P3, P2, and P1 along the first target direction S1. That is, the compensation order is P5 → P4 → P3 → P2 → P1. Furthermore, for multiple rows of pixels in edge region B along the first target direction S2, compensation is performed from top to bottom. That is, the compensation system first sequentially compensates for pixels P5, P4, P3, P2, and P1 along the first target direction S1, and then sequentially compensates for pixels P8, P9, P10, P11, and P12 along the first target direction S1.
[0101] For example, the compensation system compensates pixels in the C edge region where a black border exists, sequentially from the inside out (i.e., from left to right) along the second target direction S2. Furthermore, for multiple rows of pixels in the C edge region arranged along the second target direction S2, the compensation system also compensates from top to bottom.
[0102] For example, the compensation system compensates pixels in edge region D where a black border exists, sequentially from the inside out (i.e., from bottom to top) along the third target direction S3. Furthermore, for multiple rows and columns of pixels in edge region D arranged along the third target direction S3, the compensation sequence is also from left to right.
[0103] For example, the compensation system compensates pixels in the edge region E where a black border exists, sequentially from the inside out (i.e., from top to bottom) along the fourth target direction S4. Furthermore, for pixels in multiple rows and columns of the edge region E arranged along the fourth target direction, the compensation system also compensates pixels from left to right.
[0104] In an optional embodiment of the present application, the step S420 of calculating, based on the original brightness values of the plurality of pixels, the first compensation data corresponding to each of the pixels in the target edge area includes:
[0105] S421: if the distance between the current pixel point in the target edge area and the center area along the target direction is not the farthest, obtain first current brightness values of M first neighboring pixel points adjacent to the current pixel point along the target direction, and second current brightness values of N second neighboring pixel points adjacent to the current pixel point along the target direction, wherein the first neighboring pixel points are close to the center area along the target direction, and the second neighboring pixel points are far from the center area along the target direction, and the number of pixel points in the edge area along the target direction is L, M and N are both less than L, L, M and N are all positive integers greater than 1, and N is less than M;
[0106] S422: performing a sum calculation based on the first current brightness values of the M first adjacent pixels and the second current brightness values of the N second adjacent pixels to obtain a sum result;
[0107] S423 performs mean calculation based on the number and value of M, N and the sum result to obtain the first compensation data corresponding to the current pixel point.
[0108] Specifically, the current brightness value includes the original brightness value or the latest brightness value updated after compensation based on the first compensation data. After obtaining the target image, the compensation system can identify the number of pixels in each edge region along the target direction, which is actually the number of pixel rows and pixel columns in the edge region. In this way, the compensation system can subsequently select the number of M first neighboring pixels to participate in the calculation and the number of N second neighboring pixels to participate in the calculation based on the number of pixels in each edge region along the target direction.
[0109] The compensation system first determines whether the current pixel point is farthest from the center area along the target direction. That is, the compensation system first determines whether the current pixel point in the target edge area is adjacent to the boundary line K1 farthest from the center area along the target direction. For example, Figure 4As shown, pixel points P1 and pixel point P8 both satisfy the requirement that they are the farthest from the center area along the first target direction S1, or are adjacent to the boundary line K1 that is the farthest from the center area along the first target direction. Conversely, pixel points P2 to P5 and pixel points P8 to P12 all satisfy the requirement that they are not the farthest from the center area along the first target direction S1, or are not adjacent to the boundary line K1 that is the farthest from the center area along the first target direction. Because the compensation values of pixel points closer to the center area of the display panel are more accurate, N is less than M, for example, M=N+1, that is, the number of first neighboring pixel points close to the center area along the target direction is equal to the number of second neighboring pixel points farther from the center area along the target direction plus one.
[0110] The compensation system obtains the first current brightness values of the M first neighboring pixels adjacent to the current pixel along the target direction, and the second current brightness values of the N second neighboring pixels adjacent to the current pixel along the target direction. The compensation system then sums the first current brightness values of the M first neighboring pixels with the second current brightness values of the N second neighboring pixels to obtain a sum value, and further sums M and N to obtain a quantitative sum value. The sum value is divided by the quantitative sum value to calculate the first compensation data corresponding to the current pixel.
[0111] For example, Figure 4 As shown, assuming that L=5, W=5, if M=2, N=1, that is, M+N=3, the compensation system can substitute the first current brightness values corresponding to the two first adjacent pixels and the second current brightness value corresponding to the second adjacent pixel into the following formula to calculate the first compensation data corresponding to the current pixel:
[0112]
[0113] For example, assuming that the width W of the edge region B is 5, then i = {1, 2, 3, 4, 5}. Thus, the first compensation data corresponding to the current pixel points P1 to P5 can be calculated according to the above compensation calculation formula:
[0114] The first compensation data of the current pixel P5
[0115] The first compensation data of the current pixel P4
[0116] The first compensation data of the current pixel P3
[0117] The first compensation data of the current pixel P2
[0118] The current brightness values of Image[P4], Image[P6], and Image[P7] in formula (1) are all original brightness values corresponding to pixel P4, pixel P6, and pixel P7 obtained from the target image.
[0119] Among them, the current brightness value Image[P5] of pixel point P5 in formula (2) is the brightness value after compensation and update based on the first compensation data calculated according to formula (1), and the current brightness values of Image[P3] and Image[P6] are both the original brightness values corresponding to pixel point P5 and pixel point P6 obtained according to the target image.
[0120] Among them, the current brightness value Image[P4] of pixel point P4 in formula (3) is the brightness value after compensation and update based on the first compensation data calculated according to formula (2), the current brightness value Image[P5] of pixel point P5 is the brightness value after compensation and update based on the first compensation data calculated according to formula (1), and the current brightness value Image[P2] is the original brightness value corresponding to pixel point P2 obtained according to the target image.
[0121] Among them, the current brightness value Image[P3] of the pixel point P3 in formula (4) is the brightness value after compensation and update based on the first compensation data calculated according to formula (3), the current brightness value Image[P4] of the pixel point P4 is the brightness value after compensation and update based on the first compensation data calculated according to formula (2), and the current brightness value Image[P1] is the original brightness value corresponding to the pixel point P1 obtained according to the target image.
[0122] In summary, for the B edge area where there is a black border area, the first compensation data can be obtained according to the above calculation formulas (1) to (4) and formula (5) in the embodiment below, and compensation display can be performed from the inside to the outside, that is, along the first target direction S1, in the order of Image[5]→Image[4]→Image[3]→Image[2]→Image[1], in the order of P5→P4→P3→P2→P1.
[0123] For example, Figure 5 As shown, assuming that L=5, W=5, if M=2, N=1, that is, M+N=3, the compensation system can substitute the first current brightness values corresponding to the two first adjacent pixels and the second current brightness value corresponding to the second adjacent pixel into the following formula to calculate the first compensation data corresponding to the current pixel:
[0124]
[0125] For example, assuming that the width W of the edge region C is 5, then i = {1, 2, 3, 4, 5}. Thus, the first compensation data corresponding to the current pixel points P17 to P21 can be calculated according to the above compensation calculation formula:
[0126] First compensation data of P17
[0127] First compensation data of P18
[0128] First compensation data of P19
[0129] The first compensation data of P20
[0130] The first compensation data of P21 is Image[P21]=Image[P20](10).
[0131] The current brightness values of Image[P15], Image[P16], and Image[P18] in formula (6) are all original brightness values corresponding to pixel point P15, pixel point P16, and pixel point P18 obtained from the target image.
[0132] Among them, the current brightness value Image[P17] of pixel point P17 in formula (7) is the brightness value after compensation and update based on the first compensation data calculated according to formula (6), and the current brightness values of Image[P16] and Image[P19] are both the original brightness values corresponding to pixel points P5 and pixel points P6 obtained according to the target image.
[0133] Among them, the current brightness value Image[P17] of the pixel point P17 in formula (8) is the brightness value after compensation and update by the first compensation data calculated according to formula (6), the current brightness value Image[P18] of the pixel point P18 is the brightness value after compensation and update by the first compensation data calculated according to formula (7), and the current brightness value Image[P2] is the original brightness value corresponding to the pixel point P2 obtained according to the target image.
[0134] Among them, the current brightness value Image[P18] of the pixel point P18 in formula (9) is the brightness value after compensation and update based on the first compensation data calculated according to formula (7), the current brightness value Image[P19] of the pixel point P19 is the brightness value after compensation and update based on the first compensation data calculated according to formula (8), and the current brightness value Image[P21] is the original brightness value corresponding to the pixel point P21 obtained according to the target image.
[0135] In summary, for the C edge area with a black border area, the first compensation data obtained according to the above calculation formulas (6) to (10) can be used to compensate and display from the inside to the outside, that is, along the second target direction S2, in the order of Image
[17] →Image
[18] →Image
[19] →Image
[20] →Image
[21] , in the order of P17→P18→P19→P20→P21.
[0136] Similarly, for the D edge area with a black border area or the E edge area with a black border area, the first compensation data can also be calculated according to the above process, and then compensation display can be performed based on the calculated first compensation data.
[0137] It should be noted that if the number of pixels in the edge area along the target direction is L=7, then the calculation formula for the first compensation data can be:
[0138]
[0139] Then, the calculation formula of the first compensation data can also be
[0140]
[0141] After identifying the black border area, the present application performs compensation display according to the first compensation data corresponding to the black border area, so that the black border transition is relatively smooth without obvious mutations, which is in line with the actual situation of the display panel. The demura compensation effect is good, and there is no miscorrection phenomenon. It can better achieve brightness uniformity, thereby effectively improving the display effect of the display panel.
[0142] In some embodiments, M may be equal to half of L, and N may be equal to half of L. Of course, M may not be equal to half of L, and N may not be equal to half of L, as long as M is greater than N and both are less than L.
[0143] In an optional embodiment of the present application, the method further includes:
[0144] S424 If the distance between the current pixel point in the target edge area and the center area along the target direction is the farthest, determine that the second current brightness value of the second neighboring pixel point adjacent to the current pixel point is equal to the first current brightness value of the first neighboring pixel point adjacent to the current pixel point.
[0145] Specifically, the compensation system first determines whether the current pixel point is farthest from the center area along the target direction. That is, the compensation system first determines whether the current pixel point in the target edge area is adjacent to the boundary line K1 farthest from the center area along the target direction. For example, Figure 4 As shown, both pixel point P1 and pixel point P8 satisfy the requirement of being the farthest from the center area along the first target direction S1, or being adjacent to the boundary line K1 that is the farthest from the center area along the first target direction. Then, when calculating the first compensation data of the current pixel point P1, when substituting into the following formula, since i=1, i-1=0, as shown in FIG. Figure 4 As shown, since the distance between the current pixel point P1 and the central area is the farthest, that is, the current pixel point P1 is adjacent to the boundary line K1 farthest from the central area, there is no pixel point P0 in the display area. Therefore, there is no second current brightness value of the second neighboring pixel point P0 adjacent to the current pixel point P1. Therefore, this application sets the second current brightness value of the second neighboring pixel point P0 adjacent to the current pixel point P1 to be equal to the first current brightness value of the first neighboring pixel point P2 adjacent to the current pixel point P1, that is, Image[P0]=Image[P2].
[0146] In an optional embodiment of the present application, the method further includes:
[0147] S500. If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the current pixel point located in the overlapping area between the first edge area and the second edge area is compensated and displayed according to the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, an average is calculated according to the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, and the current pixel point is compensated and displayed according to the average compensation data as the final compensation value.
[0148] Specifically, such as Figure 4 As shown, there is an overlapping area 10a between the B edge area and the D edge area, an overlapping area 10b between the B edge area and the E edge area, an overlapping area 10d between the D edge area and the C edge area, and an overlapping area 10d between the E edge area and the C edge area. The pixel units in these four overlapping areas 10d may have the problem of repeated compensation during compensation.
[0149] This application uses the example of a case where both edge regions B and D have black borders, i.e., edge region B is the first edge region and edge region D is the second edge region. Assuming that the current pixel P0 is located in the overlapping region 10a, referring to the embodiment corresponding to S400 above, first compensation data Image[P0B] corresponding to the current pixel P0 is obtained based on the first brightness data of edge region B, and first compensation data Image[P0D] corresponding to the current pixel P0 is obtained based on the first brightness data of edge region D. Current pixel P0 is compensated based on the first compensation data Image[P0B], and current pixel P0 is compensated based on the first compensation data Image[P0D]. Then, the two first compensation values for current pixel P0 are averaged to obtain average compensation data Image[P0BD] = (Image[P0B] + Image[P0D]) / 2. Finally, when the display panel displays, the average compensation data Image[P0BD] is used as the final compensation value for compensating and displaying the current pixel P0.
[0150] In an optional embodiment of the present application, the method further includes:
[0151] If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the overlapping area is compensated according to the first compensation data corresponding to the current pixel point in any one of the first edge area and the second edge area located in the overlapping area between the first edge area and the first edge area, the first compensation data participating in the compensation in the first edge area and the second edge area is used as the final compensation value to compensate and display the current pixel point.
[0152] Specifically, such as Figure 4 As shown, there is an overlapping area 10a between the B edge area and the D edge area, an overlapping area 10b between the B edge area and the E edge area, an overlapping area 10d between the D edge area and the C edge area, and an overlapping area 10d between the E edge area and the C edge area. The pixel units in these four overlapping areas 10d may have the problem of repeated compensation during compensation.
[0153] In this application, a case where both edge regions B and D have black borders is used as an example, i.e., edge region B is the first edge region and edge region D is the second edge region. Assuming that the current pixel P0 is located in the overlapping region 10a, referring to the embodiment corresponding to S400 above, only the first compensation data Image[P0B] corresponding to the current pixel P0 is obtained based on the first brightness data of edge region B, and the current pixel P0 is compensated based on the first compensation data Image[P0B]. In other words, the current pixel P0 is compensated only once, and only the first compensation data Image[P0B] is used as the final compensation value for compensating and displaying the current pixel P0. Of course, if referring to the embodiment corresponding to S400 above, only the first compensation data Image[P0D] corresponding to the current pixel P0 is obtained based on the first brightness data of edge region D, and the current pixel P0 is compensated based on the first compensation data Image[P0D]. In other words, the current pixel P0 is compensated only once, and only the first compensation data Image[P0D] is used as the final compensation value for compensating and displaying the current pixel P0. In summary, if any pixel is located in two adjacent edge areas and both edge areas have black border areas, and if compensation is performed only once on the pixel, the compensation value of this time is used as the final compensation value of the pixel.
[0154] In an optional embodiment of the present application, the method further includes:
[0155] S600: If the black border area does not exist in any of the four edge areas, obtain second compensation data according to the target image, and display according to the second compensation data.
[0156] Specifically, if there are no black border areas in the four edge areas, the compensation system can directly calculate the brightness differences between the four edge areas and the central area based on the target image, and then calculate the second compensation data based on the brightness differences between the edge areas and the central area. Then, the display panel performs compensation display based on the picture data stored with the second compensation data, which can eliminate Mura, thereby improving the compensation effect of the display panel and improving the problem of uneven display of the display panel.
[0157] According to the embodiment corresponding to the above-mentioned compensation method for the display panel, the embodiment of the present application also provides a display device, which includes a display panel, a memory and a processor, the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the compensation method for the display panel.
[0158] The memory is an internal storage unit of the display device, such as a hard disk or memory of the display device; or the memory is an external storage device of the display device, such as a plug-in hard disk equipped on the display device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory may include both an internal storage unit of the display device and an external storage device. The memory is used to store application software and various types of data installed on the display device, or to temporarily store data that has been output or is to be output. The memory stores computer-executable instructions that can be executed by a processor, thereby implementing the steps in the compensation method for the display panel in the present application.
[0159] According to the embodiment corresponding to the above-mentioned display panel compensation method, the embodiment of the present application further provides a storage medium, which stores multiple instructions, and the instructions are suitable for loading by a processor to execute the steps in the display panel compensation method.
[0160] The storage medium may include non-volatile and / or volatile memory, wherein the non-volatile memory may include read-only memory (ROM), programmable memory (PROM), electrically programmable memory (EPROM), electrically erasable programmable memory (EEPROM), or flash memory, etc.; the volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0161] It should be noted that the storage medium stores one or more computer programs, and the one or more computer programs are loaded by one or more processors to execute the steps in any display panel compensation method provided in the embodiments of the present application.
[0162] Since the computer program stored in the storage medium can execute the steps in any display panel compensation method provided in the embodiments of the present application, the beneficial effects that can be achieved by any display panel compensation method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0163] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0164] The above is a detailed introduction to a display panel compensation method and display device provided by the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, based on the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application. Moreover, for those skilled in the art, without departing from the principles of the present application, they can also make several improvements and modifications, and these improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A compensation method for a display panel, characterized in that: include: Acquire first brightness data corresponding to four edge regions and second brightness data corresponding to a central region of a target image, wherein the target image includes a preset picture displayed by the display panel at a preset grayscale; Obtaining a black edge determination threshold according to the first brightness data and the second brightness data; Identifying whether a black border area exists in the edge area according to the first brightness data and the black border determination threshold; If the black border area exists in the edge area, obtaining first compensation data corresponding to the black border area, and performing compensation display according to the first compensation data; The acquiring of first compensation data corresponding to the black edge area and performing compensation display according to the first compensation data includes: Obtaining original brightness values corresponding to a plurality of pixel points in a target direction, where the target edge region is the edge region where the black border region exists, the target direction is the direction in which the target edge region is away from the central region, and the target direction is parallel to the horizontal direction or the vertical direction of the display panel; Calculating the first compensation data corresponding to all the pixels in the target edge area according to the original brightness values of the plurality of pixels; Compensating the plurality of pixel points sequentially along the target direction according to the first compensation data corresponding to all the pixel points; The step of calculating, based on the original brightness values of the plurality of pixels, first compensation data corresponding to each of the pixels in the target edge area includes: If the distance between the current pixel point in the target edge area and the central area along the target direction is not the farthest, obtain the first current brightness values of M first neighboring pixels adjacent to the current pixel point along the target direction, and the second current brightness values of N second neighboring pixels adjacent to the current pixel point along the target direction, where the first neighboring pixels are close to the central area along the target direction, and the second neighboring pixels are far away from the central area along the target direction, and the number of pixels in the edge area along the target direction is L, M and N are both less than L, L, M and N are all positive integers greater than 1, and N is less than M; Performing a sum calculation based on the first current brightness values of the M first adjacent pixels and the second current brightness values of the N second adjacent pixels to obtain a sum result; Performing an average calculation based on the sum of the number of M and N and the sum result to obtain the first compensation data corresponding to the current pixel; If the distance between the current pixel point in the target edge area and the center area along the target direction is the farthest, determine that the second current brightness value of the second neighboring pixel point adjacent to the current pixel point is equal to the first current brightness value of the first neighboring pixel point adjacent to the current pixel point.
2. The display panel compensation method according to claim 1, wherein: The acquiring of a black edge determination threshold according to the first brightness data and the second brightness data includes: Obtaining edge brightness averages corresponding to the four edge regions according to the first brightness data corresponding to the four edge regions; Obtaining a central brightness mean corresponding to the central area according to the second brightness data of the central area; The center brightness mean and the edge brightness mean corresponding to the four edge regions are calculated respectively to obtain the black edge determination thresholds corresponding to the four edge regions.
3. The display panel compensation method according to claim 2, wherein: The step of calculating the center brightness mean and the edge brightness mean corresponding to the four edge regions to obtain the black edge determination thresholds corresponding to the four edge regions comprises: Calculating the sum of the center brightness mean and the edge brightness mean; The summation result is multiplied by a preset constant to obtain a black edge determination threshold corresponding to the edge area.
4. The display panel compensation method according to claim 2, wherein: The identifying, according to the first brightness data and the black edge determination threshold, whether the edge area has a black edge area includes: Comparing the edge brightness mean corresponding to the edge area with the black edge determination threshold corresponding to the edge area; If the edge brightness mean reaches the black edge determination threshold, it is determined that the black edge area exists in the edge area; If the edge brightness mean value does not reach the black edge determination threshold, it is determined that the black edge area does not exist in the edge area.
5. The display panel compensation method according to claim 1, wherein: Also includes: If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the current pixel point located in the overlapping area between the first edge area and the first edge area is compensated and displayed based on the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, the average is calculated based on the first compensation data corresponding to the current pixel point in the first edge area and the second edge area respectively, and the current pixel point is compensated and displayed based on the average compensation data as the final compensation value.
6. The display panel compensation method according to claim 1, wherein: Also includes: If the black edge area exists in both the first edge area and the second edge area adjacent to the first edge area, and the overlapping area is compensated according to the first compensation data corresponding to the current pixel point in any one of the first edge area and the second edge area located in the overlapping area between the first edge area and the first edge area, the first compensation data participating in the compensation in the first edge area and the second edge area is used as the final compensation value to compensate and display the current pixel point.
7. A display device, wherein: The display device includes a display panel, a memory, and a processor. The memory stores a computer program. The processor is configured to run the computer program in the memory to execute the steps of the display panel compensation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method used for compensating brightness of display panel, display panel, and display device
CN107039020A
Mura compensation method and device for display screen, computer device, and storage medium
CN108877631A