A compensation method of a display panel, a display device and a storage medium
By multiplying the scaling ratio and the grayscale data to be compensated, the grayscale compensation data is calculated to compensate the sub-pixels of the display panel, thus solving the problem of uneven brightness of the display panel and improving the compensation accuracy and image quality.
Patent Information
- Application Number
- CN202310849594.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-07-11
AI Technical Summary
The existing display panels are prone to the Mura phenomenon during the manufacturing process, which leads to uneven brightness and affects the display effect. Existing compensation methods cannot effectively solve the problems of bright/dark spots and bright/dark patches caused by dirt in the backlight module.
By acquiring the scaling ratio and the grayscale data to be compensated, the transformed grayscale brightness is obtained through multiplication. Grayscale compensation data is then calculated, and the sub-pixels of the display panel are compensated for to improve the compensation accuracy.
It achieves synchronous compensation for all sub-pixels of the display panel, improving brightness uniformity and image quality, avoiding additional calculations and hardware replacements, and reducing production costs.
Smart Images

Figure CN117524144B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a compensation method for a display panel, a display device, and a storage medium. Background Technology
[0002] Currently, the manufacturing process is numerous and complex. Each step may result in uneven display due to improper operation, with common types of mura (spots or cloud-like patterns). These mura can be categorized as lines, blocks, or surfaces, thus affecting the display panel's performance.
[0003] Therefore, it is urgent to compensate for the grayscale in areas of uneven brightness on the display panel in order to eliminate the Mura phenomenon. Summary of the Invention
[0004] In view of this, this application provides a compensation method, display device, and storage medium for a display panel to improve compensation accuracy and enhance the image quality of the display panel.
[0005] In a first aspect, this application provides a compensation method for a display panel, comprising:
[0006] Obtain the scaling ratio and the grayscale data to be compensated;
[0007] The corresponding transformed grayscale brightness is obtained by multiplying the scaling ratio and the grayscale data to be compensated.
[0008] Grayscale compensation data is obtained by calculating the grayscale brightness after the transformation.
[0009] The sub-pixels in the display panel are compensated and displayed according to the grayscale compensation data.
[0010] In an optional embodiment of this application, the step of obtaining the grayscale data to be compensated includes:
[0011] Acquire a target image; the target image is image data including the display panel captured when the display panel displays a preset grayscale image at maximum grayscale brightness.
[0012] The maximum grayscale brightness corresponding to each pixel is obtained from the target image, and the maximum grayscale brightness is used as the grayscale data to be compensated.
[0013] In an optional embodiment of this application, obtaining the maximum grayscale brightness corresponding to each pixel in the target image includes:
[0014] Extract the grayscale image corresponding to the display area from the target image;
[0015] The maximum grayscale brightness corresponding to each pixel is obtained from the grayscale image.
[0016] In an optional embodiment of this application, obtaining the scaling ratio includes:
[0017] Obtain the preset grayscale brightness value corresponding to the preset display bit depth;
[0018] Obtain the maximum grayscale value corresponding to the actual number of display bits of the display panel;
[0019] The scaling ratio is calculated based on the preset display digits, the actual display digits, the preset grayscale brightness value, and the maximum grayscale value.
[0020] In an optional embodiment of this application, calculating the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes:
[0021] If the preset display bit depth is the same as the actual display bit depth, the scaling ratio is determined to be equal to the preset grayscale brightness value divided by the maximum grayscale value.
[0022] In an optional embodiment of this application, calculating the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes:
[0023] If the preset display bit depth is different from the actual display bit depth, the maximum grayscale value corresponding to the preset display bit depth is divided by the maximum grayscale value corresponding to the actual display bit depth to obtain the ratio value;
[0024] The calculation result is obtained by dividing the preset grayscale brightness value by the maximum grayscale value corresponding to the actual number of display bits, and the scaling ratio is determined to be equal to the product of the ratio value and the calculation result.
[0025] In an optional embodiment of this application, the step of calculating grayscale compensation data based on the transformed grayscale brightness includes:
[0026] Obtain the target grayscale brightness;
[0027] The grayscale compensation data is obtained by calculating the difference between the target grayscale brightness and the transformed grayscale brightness corresponding to each pixel.
[0028] In an optional embodiment of this application, obtaining the target grayscale brightness includes:
[0029] All the pixels are divided into blocks of size M*N to obtain corresponding compensation blocks; all the pixels are arranged in an array, where M and N are positive integers greater than 1, and both M and N are odd numbers;
[0030] The transformed grayscale brightness corresponding to the center pixel of the block to be compensated is determined as the target grayscale brightness.
[0031] Secondly, this application also provides a display device, the display device including a display panel, a memory and a processor, the memory storing a computer program, and the processor running the computer program in the memory to perform the steps in the compensation method for the display panel described in the first aspect.
[0032] Thirdly, this application also provides a storage medium storing a plurality of instructions adapted for loading by a processor to execute the steps in the compensation method for the display panel described in the first aspect.
[0033] This application provides a compensation method, display device, and storage medium for a display panel. The method involves acquiring a scaling ratio and grayscale data to be compensated, multiplying the scaling ratio and the grayscale data to obtain the corresponding transformed grayscale brightness, calculating grayscale compensation data based on the transformed grayscale brightness, and then compensating the sub-pixels in the display panel based on the grayscale compensation data. When the display bit depth of the display panel is already set or fixed, multiplying the grayscale data to be compensated based on the acquired scaling ratio performs a proportional linear scaling process. This allows multiple grayscale data to be simultaneously ablated or reduced to obtain the transformed grayscale brightness. Then, by obtaining the corresponding grayscale compensation data based on the transformed grayscale brightness and compensating the display panel, all sub-pixels of the display panel can be compensated synchronously or simultaneously, improving compensation accuracy and image quality. Attached Figure Description
[0034] 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.
[0035] Figure 1 This is a flowchart illustrating a compensation method for a display panel provided in an embodiment of this application.
[0036] Figure 2 A schematic diagram of the processor of the terminal device or display device provided in the embodiments of this application.
[0037] Figure 3 An example diagram of a compensation method for a display panel provided in an embodiment of this application. Detailed Implementation
[0038] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0039] In the description of this application, it should be understood that the terms "one end," "the other end," etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, 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, and therefore should not be construed as a limitation of 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, a feature defined with "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, the meaning of "" is two or more, unless otherwise explicitly specified.
[0040] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, a link, or a connection that allows for communication; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0041] The following disclosure provides many different implementations or examples for carrying out different structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. Of course, these are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various implementations and / or arrangements discussed. In the above embodiments, the descriptions of each embodiment have their own emphasis; parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments.
[0042] A liquid crystal display device includes a liquid crystal display panel and a driving circuit. The liquid crystal display panel includes multiple scan lines and multiple data lines, with two adjacent scan lines and two adjacent data lines intersecting to form a pixel unit. For each pixel unit, its luminance can be defined by "grayscale." Grayscale refers to dividing the luminance of the pixel unit from its brightest to its darkest point into several levels, with each grayscale representing a brightness level. Generally, each pixel unit in the display panel has 256 grayscale levels, from 0 to 255.
[0043] In OLED displays, the complex manufacturing process and the difficulty in achieving perfect flatness in the vapor deposition process result in significant differences in the luminance of each sub-pixel under the same external conditions, perceptible to the human eye—a phenomenon known as the Mura phenomenon. Therefore, to ensure a uniform and stable display, each sub-pixel needs compensation to meet panel display standards. Currently, display compensation methods mainly include internal and external compensation. External compensation can be further divided into optical and electrical extraction methods based on the method of extracting brightness data. Optical extraction involves capturing an image of the display panel in grayscale using a camera, and deriving grayscale compensation data based on the brightness differences in the image. After power-on, the timing controller (TCON IC) first compensates the grayscale data to be displayed using this grayscale compensation data, and then outputs the compensated grayscale data for display, thereby improving the brightness uniformity of the display panel. However, when there are bright / dark spots (single pixels) on the display panel, or when there is dust / dirt on the surface of the backlight module (BLU) that provides brightness (similar to dark spots on an LCD panel), if the grayscale compensation data calculated by the system for the difference between the brightness and darkness of the displayed image exceeds the maximum grayscale value corresponding to the number of display bits of the display panel, the TCON IC will use this grayscale compensation data for compensation before displaying. This will result in dark / bright blocky areas being formed after compensation for bright / dark spots and dirt, which cannot guarantee the uniformity of brightness and darkness of the display panel, and the display effect of the display panel will be greatly reduced.
[0044] This application provides a compensation method, display device, and storage medium for a display panel. The display panel in the embodiments of this application can be used in mobile phones, tablet computers, desktop computers, laptop computers, e-readers, handheld computers, electronic display screens, laptops, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, media players, wearable devices, digital cameras, car navigation systems, etc.
[0045] The display panel can 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 can 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.
[0046] The following description, in conjunction with the accompanying drawings, explains the compensation method for the display panel, the display device, and the storage medium of this application in order to solve the above-mentioned problems.
[0047] Please see Figure 1 A flowchart illustrating a compensation method for a display panel provided in an embodiment of this application is shown below. Figure 1 As shown, the compensation method for the display panel includes the following steps:
[0048] S100: Obtain the scaling ratio and grayscale data to be compensated;
[0049] S200. Based on the scaling ratio and the grayscale data to be compensated, perform a product calculation to obtain the corresponding transformed grayscale brightness.
[0050] S300. Calculate grayscale compensation data based on the transformed grayscale brightness.
[0051] S400. The sub-pixels in the display panel are compensated and displayed according to the grayscale compensation data.
[0052] Specifically, the display panel includes multiple pixel units P arranged in an array, and each pixel unit P includes multiple sub-pixels (e.g., red sub-pixel R, green sub-pixel G, and blue sub-pixel B).
[0053] Each display panel has a set number of display bits, and different display bits correspond to different grayscale levels. For example, display bits include 8-bit, 10-bit, 12-bit, or even larger. The maximum grayscale value for 8-bit is 255, for 10-bit it's 1020, and for 12-bit it's 4080. Therefore, when the display bit number of the display panel is set or fixed, the terminal device performs a product calculation on the grayscale data to be compensated based on the acquired scaling ratio. This first performs a proportional linear scaling process on the grayscale data to be compensated, simultaneously abbreviating or reducing multiple grayscale data to obtain the transformed grayscale brightness. Then, the corresponding grayscale compensation data is obtained based on the transformed grayscale brightness. The terminal device can send the grayscale compensation data to the display device for compensation display on the display panel. Of course, the terminal device can be replaced by a display device, which executes the above process of the terminal device to obtain grayscale compensation data and perform compensation display. In this way, by synchronously abbreviating or reducing multiple grayscale data to be compensated to obtain the grayscale compensation data after the transformation of grayscale brightness, all sub-pixels of the display panel can be synchronously or simultaneously compensated and displayed, thereby improving the compensation accuracy and improving the image quality of the display panel.
[0054] In some embodiments, the terminal device may include a mobile phone, tablet computer, desktop computer, laptop computer, e-reader, handheld computer, electronic display screen, laptop computer, media player, wearable device, server, etc.
[0055] like Figure 2 As shown, the processor of the terminal device or display device includes a transformation module 10 and a compensation module 20, and the display device includes a white balance module 30. The transformation module 10 performs a linear transformation by multiplying the grayscale data to be compensated and the scaling ratio to obtain the transformed grayscale brightness. Then, the compensation module 20 calculates the grayscale compensation data based on the transformed grayscale brightness and sends the grayscale compensation data to the white balance module 30 so that the white balance module 30 can compensate the display of each sub-pixel of the display panel.
[0056] In an optional embodiment of this application, the step of obtaining the grayscale data to be compensated includes:
[0057] S010. Acquire the target image; the target image is image data including the display panel captured when the display panel displays a preset grayscale image at maximum grayscale brightness.
[0058] S020. Obtain the maximum grayscale brightness corresponding to each pixel point according to the target image, and use the maximum grayscale brightness as the grayscale data to be compensated.
[0059] Specifically, an imaging component is used to photograph a display panel displaying a preset grayscale image. The image obtained is the target image when the display panel displays the preset grayscale image at maximum grayscale brightness. The imaging component can be a camera, webcam, or other photographic device. The shortest distance from the optical center of the lens of the imaging component to the display panel is less than the normal operating distance of the imaging component. In this embodiment, the normal operating distance of the imaging component is the distance at which the area of the display panel captured by the imaging component is free from image distortion or where image distortion is minimized.
[0060] Then, the terminal device can acquire the target image from the imaging component. After acquiring the target image, the terminal device performs image preprocessing, including viewing angle correction and brightness correction. Then, the terminal device extracts the maximum grayscale brightness corresponding to each pixel in the preprocessed target image. Thus, the terminal device uses the maximum grayscale brightness corresponding to all pixels in the target image as the grayscale data to be compensated. Since the imaging component is not located directly in front of the display panel, the brightness of different areas of the target image may deviate, causing distortion. Therefore, it is necessary to correct the brightness of the target image to solve the problem of the compensation effect being affected by the image brightness distortion of the display panel.
[0061] Of course, in some embodiments, the target image can be image data captured when the display panel displays a preset grayscale image at different grayscale brightness levels, and the grayscale data to be compensated can be the maximum grayscale brightness of the target image corresponding to different grayscale brightness levels. The grayscale brightness can be 16, 32, 48, 64, 94, 128, and 255, etc., with a maximum grayscale brightness of 255.
[0062] In an optional embodiment of this application, obtaining the maximum grayscale brightness corresponding to each pixel in the target image includes:
[0063] S021. Extract the grayscale image corresponding to the display area from the target image;
[0064] S022. Obtain the maximum grayscale brightness corresponding to each pixel point based on the grayscale image.
[0065] Specifically, the target image acquired by the imaging component may include not only the display area of the display panel but also non-display areas such as the panel's borders and even the background area where the display panel is located. Furthermore, since the display panel shows a grayscale image, the brightness of the display area differs from that of the non-display and background areas. Therefore, based on brightness differences and image edge detection algorithms (such as the Roberts+Cross operator, Prewitt operator, and Sobel operator), the display area can be identified from the target image. This allows for image segmentation of the target image to obtain the corresponding grayscale image of the display area. Subsequent compensation calculations based on this grayscale image of the display area not only eliminate interference from non-display and background areas, ensuring effective compensation for each sub-pixel in the display area, but also avoid wasting computational resources, thus improving compensation efficiency.
[0066] In an optional embodiment of this application, obtaining the scaling ratio includes:
[0067] Obtain the preset grayscale brightness value corresponding to the preset display bit depth;
[0068] Obtain the maximum grayscale value corresponding to the actual number of display bits of the display panel;
[0069] The scaling ratio is calculated based on the preset display digits, the actual display digits, the preset grayscale brightness value, and the maximum grayscale value.
[0070] Specifically, since the display panel's display bit depth is predetermined during manufacturing, the actual display bit depth of each display panel is a known condition, and therefore, the maximum grayscale value corresponding to the actual display bit depth of each display panel is also a known condition. This application allows for pre-setting a preset display bit depth and a corresponding preset grayscale brightness value. Then, the terminal device can calculate the corresponding scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value.
[0071] In an optional embodiment of this application, calculating the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes:
[0072] If the preset display bit depth is the same as the actual display bit depth, the scaling ratio is determined to be equal to the preset grayscale brightness value divided by the maximum grayscale value.
[0073] Specifically, after obtaining the preset display bit depth and the actual display bit depth through the above embodiments, the terminal device can compare whether the preset display bit depth and the actual display bit depth are the same. If the preset display bit depth and the actual display bit depth are the same, it means that the actual display bit depth of the display panel is sufficient to support the sub-pixels of the display panel to perform compensated display based on the calculated grayscale compensation data. Since the maximum grayscale value corresponding to the preset display bit depth divided by the maximum grayscale value corresponding to the actual display bit depth equals 1, the terminal device can directly determine that the scaling ratio is equal to the calculation result of the preset grayscale brightness value divided by the maximum grayscale value. That is, the scaling ratio. Where β is the scaling factor, max gray To preset grayscale brightness values, white gray N1 is the maximum grayscale value, N2 is the maximum grayscale value corresponding to the preset display bit depth, and α is the ratio value.
[0074] In an optional embodiment of this application, calculating the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes:
[0075] If the preset display bit depth is different from the actual display bit depth, the maximum grayscale value corresponding to the preset display bit depth is divided by the maximum grayscale value corresponding to the actual display bit depth to obtain the ratio value;
[0076] The calculation result is obtained by dividing the preset grayscale brightness value by the maximum grayscale value corresponding to the actual number of display bits, and the scaling ratio is determined to be equal to the product of the ratio value and the calculation result.
[0077] Specifically, after obtaining the preset display bit depth and the actual display bit depth through the above embodiments, the terminal device can compare whether the preset display bit depth and the actual display bit depth are the same. If the preset display bit depth and the actual display bit depth are different, it indicates that the actual display bit depth of the display panel is insufficient to support the sub-pixels of the display panel to perform compensation display based on the calculated grayscale compensation data. Therefore, the terminal device divides the maximum grayscale value corresponding to the preset display bit depth by the maximum grayscale value corresponding to the actual display bit depth to obtain a ratio value. Then, the terminal device divides the preset grayscale brightness value by the maximum grayscale value corresponding to the actual display bit depth to obtain a calculation result. Finally, the ratio value and the calculation result are multiplied to obtain the corresponding scaling ratio. That is, the scaling ratio. Where β is the scaling factor, max gray To preset grayscale brightness values, white grayN1 is the maximum grayscale value, N2 is the maximum grayscale value corresponding to the preset display bit depth, and α is the ratio value. Not equal to 1.
[0078] In an optional embodiment of this application, the step of calculating grayscale compensation data based on the transformed grayscale brightness includes:
[0079] Obtain the target grayscale brightness;
[0080] The grayscale compensation data is obtained by calculating the difference between the target grayscale brightness and the transformed grayscale brightness corresponding to each pixel.
[0081] Specifically, a target grayscale brightness can be preset. For example, the target grayscale brightness can be any set brightness value such as 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, etc. The target grayscale brightness can also be the average of the maximum grayscale brightness of all pixels in the target image. In summary, after obtaining the transformed grayscale brightness corresponding to the grayscale data to be compensated through the above embodiments, the grayscale compensation data corresponding to that pixel can be obtained by subtracting the target grayscale brightness from the transformed grayscale brightness of any pixel. That is, the grayscale compensation data △Demura... PiL =L1 Pi -L2 Pi L1 Pi For target grayscale brightness, L2 Pi △Demura represents the transformed grayscale brightness corresponding to pixel Pi. PiL This is the grayscale compensation data corresponding to pixel Pi. Similarly, we can obtain the grayscale compensation data for each of the grayscale data to be compensated.
[0082] In an optional embodiment of this application, obtaining the target grayscale brightness includes:
[0083] All the pixels are divided into blocks of size M*N to obtain corresponding compensation blocks; all the pixels are arranged in an array, where M and N are positive integers greater than 1, and both M and N are odd numbers;
[0084] The transformed grayscale brightness corresponding to the center pixel of the block to be compensated is determined as the target grayscale brightness.
[0085] Specifically, the target image consists of multiple pixels arranged in a matrix or array. Therefore, all pixels in the target image can be divided into blocks of size M*N, resulting in multiple compensation blocks. Each compensation block contains an odd number of pixels. For example, M*N could be 3*3, 3*5, 5*5, etc. Since each compensation block contains M*N pixels, and both M and N are odd, each compensation block is centrally symmetric. Therefore, the terminal device can find the corresponding center pixel in each compensation block, obtain the transformed grayscale brightness of the center pixel, and use this transformed grayscale brightness as the target grayscale brightness for the compensation block. This process is repeated to obtain the target grayscale brightness for each of the compensation blocks.
[0086] For example, suppose a display panel has an actual display bit depth of 8 bits and a maximum grayscale value of white. gray The value is 255, assuming the preset display bit depth is N2 = 8 bits and the preset grayscale brightness value is max. gray Since the value is 240, the ratio of the actual display bit depth corresponding to the maximum grayscale value N1 to the preset display bit depth corresponding to the maximum grayscale value N2 is equal to 1. Therefore, the scaling ratio is the preset grayscale brightness value max. gray Divide by the maximum grayscale value of any pixel (white) gray The target image is divided into 3x3 segments to obtain the following: Figure 3 Given a block to be compensated, and assuming an actual display bit depth of 8 bits, the maximum grayscale brightness of all pixels in this block, arranged from top to bottom and left to right, is {102, 105, 98, 96, 100, 103, 107, 106, 100}. Then, as shown... Figure 3 When the maximum grayscale brightness of the pixel shown is 102, its corresponding transformed grayscale brightness can be calculated by substituting into the following formula:
[0087]
[0088] Similarly, when the maximum grayscale brightness Input value of a pixel is 105, the corresponding grayscale brightness after transformation can be calculated by substituting it into the following formula to obtain the corresponding grayscale compensation data:
[0089]
[0090] Where Output is the grayscale compensation data for one pixel Pi, Input is the maximum grayscale brightness of one pixel Pi, α is the scaling factor, β is the scaling factor, N1 is the maximum grayscale value corresponding to the preset display bit depth, N2 is the maximum grayscale value corresponding to the actual display bit depth, and white gray The maximum value of the grayscale is max. gray The preset grayscale brightness values are: Output, Input, α, β, N1, N2, and white. gray ,max gray All are positive numbers.
[0091] In some embodiments, the transformed grayscale brightness of this application is an integer value. If the transformed grayscale brightness calculated according to the above calculation formula is a small value, the transformed grayscale brightness can be rounded to obtain the final transformed grayscale brightness.
[0092] In some examples, suppose a display panel has an actual display bit depth of 8 bits and a corresponding maximum grayscale value of whitegray of 255. Suppose the preset display bit depth is 10 bits and the preset grayscale brightness value maxgray is 960. The maximum grayscale value corresponding to the preset display bit depth is N2 = 1020. Therefore, the ratio of the actual maximum grayscale value N1 corresponding to the display bit depth to the preset maximum grayscale value N2 is equal to N1 / N2 = 255 ÷ 1020 = 0.25. Thus, the scaling ratio is the preset grayscale brightness value maxgray divided by the maximum grayscale value whitegray of any pixel. For example... Figure 3 When the maximum grayscale brightness of the pixel shown is 102, its corresponding transformed grayscale brightness can be calculated by substituting into the following formula:
[0093]
[0094] Similarly, when the maximum grayscale brightness Input value of a pixel is 105, its corresponding transformed grayscale brightness can be calculated by substituting into the following formula:
[0095]
[0096] After calculating the transformed grayscale brightness corresponding to each grayscale value to be compensated through the above process, such as... Figure 3 As shown, since the area to be compensated is arranged in a 3*3 array, the transformed grayscale brightness corresponding to the center pixel of the area to be compensated is taken as the target grayscale brightness of the area to be compensated. That is, the target grayscale brightness of the area to be compensated is equal to 94. Therefore, the difference between the transformed grayscale brightness of each pixel around the center pixel and the target grayscale brightness is calculated.
[0097] For example, if the maximum grayscale brightness Input of a pixel is 102, and the corresponding transformed grayscale brightness is 96 obtained through the above calculation process, then the grayscale compensation data △Demura for that pixel is... PiL =L1 Pi -L2 Pi =94-96=-2,
[0098] Similarly, if the maximum grayscale brightness Input of a pixel is 105, and its corresponding transformed grayscale brightness is 99 obtained through the above calculation process, then the grayscale compensation data △Demura for this pixel is... PiL =L1 Pi -L2 Pi =94-99=-5. And so on, the terminal device can obtain the grayscale compensation data corresponding to each pixel in all the blocks to be compensated.
[0099] For example, such as Figure 2 and Figure 3 As shown, the data before Demura compensation is read, which is the grayscale data to be compensated. The grayscale data to be compensated (i.e., the maximum grayscale brightness) is used as the Input to the transformation module 10.
[0100] Transformation module 10 performs a linear scaling transformation on the input maximum grayscale brightness using the following formula to obtain the transformed grayscale brightness:
[0101]
[0102] Among them, white gray The maximum value of the grayscale is max. gray To be with white gray The maximum grayscale value at a constant display depth, when the display depth changes. gray With white gray Appropriate scaling is required. Since the maximum grayscale value for 8 bits is 255, for 10 bits it's 1020, and for 12 bits it's 4080, therefore, white... gray The display digits are 8 bits, max gray When the display bit depth is 10 bits, α = 8 bits / 10 bits = 255 / 1020 = 255 / (255 * 2) 2 ) = 0.25. white gray The display digits are 8 bits, max gray When the display bit depth is 12 bits, α = 8 bits / 12 bits = 255 / 4080 = 255 / (255 * 2) 4= 0.0625. After obtaining the transformed grayscale brightness Output through the above calculation process, the transformed grayscale brightness Output is input into the compensation module 20. The compensation module 20 calculates the difference between the target grayscale brightness and the transformed grayscale brightness Output to obtain the corresponding grayscale compensation data.
[0103] Mura caused by dirt or dust obscuring the display area of the display panel can lead to inaccurate grayscale compensation data. This application calculates the scaling ratio using a preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value. The corresponding transformed grayscale brightness is then calculated by multiplying the scaling ratio and the grayscale data to be compensated. The difference between the target grayscale brightness and the transformed grayscale brightness is then calculated to obtain the corresponding grayscale compensation data. Finally, the sub-pixels in the display panel are compensated based on the grayscale compensation data. Thus, the compensation method of this application can correct brightness uniformity, ensuring the uniformity of brightness and darkness of the display panel without requiring additional calculations in the algorithm, improving compensation accuracy, enhancing the image quality of the display panel, avoiding the need for backlight hardware replacement, and reducing production costs.
[0104] In an optional embodiment of this application, grayscale compensation is performed on multiple sub-pixels located within the current level compensation block. The next level compensation block is determined based on the current level compensation block. Here, sub-pixels within the current level compensation block partially overlap with sub-pixels within the next level compensation block. Grayscale compensation is then performed on multiple sub-pixels located within the next level compensation block. Specifically, the current level compensation block can be shifted by X sub-pixels along a first direction in the target image to determine the next level compensation block, where X is a positive integer. Since sub-pixels within the current level compensation block partially overlap with sub-pixels within the next level compensation block, compensation is performed based on these partially overlapping current and next level compensation blocks. This avoids the separation of compensation blocks caused by segmenting the target image, resulting in smoother grayscale levels with less noticeable boundary differences in the compensated image, thereby improving the display panel's performance.
[0105] Based on the embodiments corresponding to the above-described display panel compensation method, this 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 display panel compensation method.
[0106] The memory refers to the internal storage unit of the display device, such as the hard disk or RAM; or it can be an external storage device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory can include both internal and external storage units. 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 will be output. The memory stores computer-executable instructions, which can be executed by a processor to implement the steps in the display panel compensation method of this application.
[0107] Based on the embodiments corresponding to the above-described display panel compensation method, this application also provides a storage medium storing a plurality of instructions adapted for loading by a processor to execute the steps in the display panel compensation method.
[0108] The storage medium may include non-volatile and / or volatile memory. 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. 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), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), direct memory bus RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and direct memory bus dynamic RAM (RDRAM), etc.
[0109] It should be noted that the storage medium stores one or more computer programs, which are loaded by one or more processors to execute the steps in any of the compensation methods for display panels provided in the embodiments of this application.
[0110] Since the computer program stored in the storage medium can execute the steps in any of the display panel compensation methods provided in the embodiments of this application, the beneficial effects that any of the display panel compensation methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0111] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0112] The foregoing has provided a detailed description of a compensation method for a display panel, the display panel, and the storage medium 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 embodiments above are merely for the purpose of helping to understand the method and its core ideas. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application. Moreover, those skilled in the art can make several improvements and modifications without departing from the principles of this application, and these improvements and modifications are also considered to be within the protection scope of this application.
Claims
1. A compensation method for a display panel, characterized in that, include: Obtain the scaling ratio and the grayscale data to be compensated; The corresponding transformed grayscale brightness is obtained by multiplying the scaling ratio and the grayscale data to be compensated. Grayscale compensation data is obtained by calculating the grayscale brightness after the transformation. The sub-pixels in the display panel are compensated and displayed according to the grayscale compensation data; The process of obtaining the scaling ratio includes: Obtain the preset grayscale brightness value corresponding to the preset display bit depth; Obtain the maximum grayscale value corresponding to the actual number of display bits of the display panel; The scaling ratio is calculated based on the preset display digits, the actual display digits, the preset grayscale brightness value, and the maximum grayscale value.
2. The compensation method for the display panel as described in claim 1, characterized in that, The steps for obtaining the grayscale data to be compensated include: Acquire a target image; the target image is image data including the display panel captured when the display panel displays a preset grayscale image at maximum grayscale brightness. The maximum grayscale brightness corresponding to each pixel is obtained from the target image, and the maximum grayscale brightness is used as the grayscale data to be compensated.
3. The compensation method for the display panel as described in claim 2, characterized in that, The step of obtaining the maximum grayscale brightness corresponding to each pixel in the target image includes: Extract the grayscale image corresponding to the display area from the target image; The maximum grayscale brightness corresponding to each pixel is obtained from the grayscale image.
4. The compensation method for the display panel as described in claim 1, characterized in that, The calculation of the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes: If the preset display bit depth is the same as the actual display bit depth, the scaling ratio is determined to be equal to the preset grayscale brightness value divided by the maximum grayscale value.
5. The compensation method for the display panel as described in claim 4, characterized in that, The calculation of the scaling ratio based on the preset display bit depth, the actual display bit depth, the preset grayscale brightness value, and the maximum grayscale value includes: If the preset display bit depth is different from the actual display bit depth, the maximum grayscale value corresponding to the preset display bit depth is divided by the maximum grayscale value corresponding to the actual display bit depth to obtain the ratio value; The calculation result is obtained by dividing the preset grayscale brightness value by the maximum grayscale value corresponding to the actual number of display bits, and the scaling ratio is determined to be equal to the product of the ratio value and the calculation result.
6. The compensation method for a display panel as described in any one of claims 1-5, characterized in that, The step of calculating grayscale compensation data based on the transformed grayscale brightness includes: Obtain the target grayscale brightness; The grayscale compensation data is obtained by calculating the difference between the target grayscale brightness and the transformed grayscale brightness corresponding to each pixel.
7. The compensation method for the display panel as described in claim 6, characterized in that, The acquisition of the target grayscale brightness includes: All the pixels are divided into blocks of size M*N to obtain corresponding compensation blocks; all the pixels are arranged in an array, where M and N are positive integers greater than 1, and both M and N are odd numbers; The transformed grayscale brightness corresponding to the center pixel of the block to be compensated is determined as the target grayscale brightness.
8. A display device, characterized in that, The display device includes a display panel, a memory, and a processor. The memory stores a computer program, and the processor runs the computer program in the memory to perform the steps in the compensation method for the display panel according to any one of claims 1 to 7.
9. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps in the compensation method for the display panel according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method, computer readable storage medium, and display device for display panel mura compensation
WO2019113791A1