Preprocessing method of data to be compensated, picture compensation method and related device

By performing special processing on the brightness data of the OLED display panel under low brightness conditions, the brightness difference between sub-pixels is amplified, the Mura phenomenon under low brightness is resolved, and a better compensation effect is achieved.

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

Patent Information

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

AI Technical Summary

Technical Problem

OLED display panels are prone to the Mura phenomenon in low-brightness scenes, and existing Demura algorithms have poor compensation effects.

Method used

By performing special processing on the brightness data of low-brightness images, the difference in brightness data between different sub-pixels is amplified. This includes region division and brightness data adjustment. The first part of the sub-pixels and the second part of the sub-pixels are determined, and their brightness data is adjusted respectively to amplify the difference.

Benefits of technology

It improves the contrast between light and dark areas, making the Mura details more apparent, thus matching more reasonable compensation data when calculating compensation data in the later stages, and achieving a better compensation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116564226B_ABST
    Figure CN116564226B_ABST
Patent Text Reader

Abstract

The application provides a pre-processing method of to-be-compensated data, a picture compensation method and related equipment. The pre-processing method of to-be-compensated data comprises the following steps: acquiring first luminance data of a plurality of sub-pixels in a display panel when a to-be-compensated picture with a display gray scale less than or equal to a preset gray scale; determining first part sub-pixels and second part sub-pixels from the plurality of sub-pixels, adjusting the first luminance data of the first part sub-pixels to second luminance data, and adjusting the first luminance data of the second part sub-pixels to third luminance data; wherein the second luminance data is greater than the first luminance data, and the third luminance data is less than the first luminance data. By adopting the scheme of the application, more reasonable compensation data can be obtained when Mura compensation is performed, and a better compensation effect can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a preprocessing method for data to be compensated, a screen compensation method, and related equipment, belonging to the field of display technology. Background Technology

[0002] OLED (Organic Light-Emitting Diode) has a series of advantages such as self-illumination, wide viewing angle, light weight, thinness, high brightness, low power consumption and fast response. Therefore, OLED display panels have become very popular display devices at home and abroad, with broad application prospects.

[0003] Current OLED display panels suffer from Mura (display unevenness) due to manufacturing processes and materials, which negatively impacts the user experience. This issue is particularly noticeable in low-brightness scenes. While Demura algorithms are commonly used to compensate for this, their effectiveness in compensating for Mura in low-brightness scenarios is limited. Summary of the Invention

[0004] This invention provides a screen compensation method, apparatus, device, and display device to solve the problem of noticeable mura in low-brightness screen scenes.

[0005] In a first aspect, embodiments of the present invention provide a preprocessing method for data to be compensated, applied in a compensation algorithm for compensating the display screen of a display panel, the method comprising:

[0006] Acquire the first brightness data of multiple sub-pixels in the display panel when the grayscale of the image to be compensated is less than or equal to the preset grayscale.

[0007] A first portion of sub-pixels and a second portion of sub-pixels are determined from the plurality of sub-pixels, and the first brightness data of the first portion of sub-pixels is adjusted to the second brightness data, and the first brightness data of the second portion of sub-pixels is adjusted to the third brightness data; wherein the second brightness data is greater than the first brightness data, and the third brightness data is less than the first brightness data.

[0008] Optionally, determining the first portion of sub-pixels and the second portion of sub-pixels from the plurality of sub-pixels includes:

[0009] The region where each of the sub-pixels is located is determined; wherein, the display area of ​​the display panel is pre-divided into a first region, a second region and a third region, the first region corresponds to the region where the acquisition device for acquiring the brightness data is located, the second region is located at the edge of the display area of ​​the display panel, and the third region is located between the first region and the second region;

[0010] The sub-pixels located in the third region are determined as the first part of sub-pixels, and the sub-pixels located in the second region are determined as the second part of sub-pixels.

[0011] Optionally, determining the first portion of sub-pixels and the second portion of sub-pixels from the plurality of sub-pixels includes:

[0012] Compare the first brightness data of each sub-pixel with the corresponding reference brightness data;

[0013] Subpixels whose first brightness data is greater than the corresponding reference brightness data are defined as the first part of subpixels, and subpixels whose first brightness data is less than the corresponding reference brightness data are defined as the second part of subpixels.

[0014] Optionally, determining the first portion of sub-pixels and the second portion of sub-pixels from the plurality of sub-pixels includes:

[0015] The region where each sub-pixel is located is determined, and the first brightness data of each sub-pixel is compared with the corresponding reference brightness data; wherein, the display area of ​​the display panel is pre-divided into a first area, a second area and a third area, the first area corresponds to the area where the acquisition device for acquiring the brightness data is located, the second area is located at the edge of the display area of ​​the display panel, and the third area is located between the first area and the second area;

[0016] The sub-pixels located in the third region and whose first brightness data is greater than or equal to the corresponding reference brightness data, and the sub-pixels located in the first region and whose first brightness data is greater than the corresponding reference brightness data, are determined as the first part of sub-pixels. The sub-pixels located in the second region and whose first brightness data is less than or equal to the corresponding reference brightness data, and the sub-pixels located in the first region and whose first brightness data is less than the corresponding reference brightness data, are determined as the second part of sub-pixels.

[0017] The difference degree data of sub-pixels located in the third region where the first brightness data is less than the corresponding reference brightness data is calculated to obtain the first difference degree data, and the difference degree data of sub-pixels located in the second region where the first brightness data is greater than the corresponding reference brightness data is calculated to obtain the second difference degree data; wherein, the difference degree data is the absolute value of the difference between the ratio of the brightness data to the corresponding reference brightness data and the preset adjustment ratio;

[0018] The sub-pixels whose first difference level data is less than the preset difference data and the sub-pixels whose second difference level data is greater than or equal to the preset difference data are determined as the first part of sub-pixels, and the sub-pixels whose first difference level data is greater than or equal to the preset difference data and the sub-pixels whose second difference level data is less than the preset difference data are determined as the second part of sub-pixels.

[0019] Optionally, the reference brightness data corresponding to any sub-pixel includes: the average of the first brightness data of all sub-pixels that have the same color and display the same grayscale as that sub-pixel.

[0020] Optionally, adjusting the first brightness data of the first portion of sub-pixels to second brightness data and adjusting the first brightness data of the second portion of sub-pixels to third brightness data includes:

[0021] The product of the first brightness data of the first part of the sub-pixels and the first adjustment ratio is calculated to obtain the second brightness data, and the product of the first brightness data of the second part of the sub-pixels and the second adjustment ratio is calculated to obtain the third brightness data; the first adjustment ratio is greater than 1, and the second adjustment ratio is less than 1.

[0022] Optionally, the method further includes:

[0023] The sub-pixels located in the first region are identified as the third part of the sub-pixels, and the first brightness data of the third part of the sub-pixels is kept unchanged.

[0024] Secondly, embodiments of the present invention also provide an image compensation method, the method comprising:

[0025] Obtain the second brightness data and the third brightness data obtained by processing the preprocessing method of the data to be compensated as described in any one of the first aspects;

[0026] The compensation data for the first part of the sub-pixels is calculated based on the second brightness data, the compensation data for the second part of the sub-pixels is calculated based on the third brightness data, and the compensation data is used to compensate the image to be compensated.

[0027] Thirdly, embodiments of the present invention also provide a processing device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the preprocessing method for data to be compensated as described in any one of the first aspects or the steps of the image compensation method as described in the second aspect.

[0028] Fourthly, embodiments of the present invention also provide a display device, which includes the processing device as described in the third aspect.

[0029] The preprocessing method for data to be compensated, the image compensation method, and the related device provided by this invention obtain first brightness data of multiple sub-pixels in the display panel when the displayed grayscale is less than or equal to a preset grayscale; determine a first part of sub-pixels and a second part of sub-pixels from the multiple sub-pixels; adjust the first brightness data of the first part of sub-pixels to a larger second brightness data, and adjust the first brightness data of the second part of sub-pixels to a smaller third brightness data, thereby expanding the difference between the brightness data of different sub-pixels, thereby improving the contrast between light and dark, better reflecting Mura details, and thus, when calculating compensation data in subsequent steps, more reasonable compensation data can be matched to achieve a better compensation effect. Attached Figure Description

[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention. Furthermore, these drawings and textual descriptions are not intended to limit the scope of the inventive concept in any way, but rather to illustrate the concept of the invention to those skilled in the art by reference to specific embodiments.

[0031] Figure 1 This is a flowchart illustrating a method for preprocessing data to be compensated according to an embodiment of the present invention;

[0032] Figure 2 This is a schematic diagram illustrating the area division of the display area of ​​a display panel in one embodiment of the present invention;

[0033] Figure 3 for Figure 1 A flowchart illustrating a specific implementation of step S102 in the method shown.

[0034] Figure 4 This is a schematic flowchart of an embodiment of the image compensation method of the present invention;

[0035] Figure 5 This is a schematic diagram of the structure of a preprocessing device for data to be compensated provided in one embodiment of the present invention;

[0036] Figure 6 This is a schematic diagram of the structure of an image compensation device provided in one embodiment of the present invention. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions in the embodiments of this invention will be clearly and completely described below in conjunction with the embodiments of this invention. Obviously, the described embodiments are only some embodiments of this invention, not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0038] Application Overview

[0039] In OLED display panels, due to limitations in manufacturing processes and materials, different sub-pixels exhibit varying brightness when emitting light under the same voltage and current. This results in Mura (irregular bright and dark spots or stripes, also known as uneven display) in the actual displayed image. Mura is particularly noticeable in low-brightness scenarios, thus impacting the user experience. To address this, display panel manufacturers typically employ Demura algorithms to compensate for Mura in the displayed image, thereby improving the display quality.

[0040] The current mainstream compensation method is to use the Demura algorithm for optical compensation. The principle is to collect the brightness data of each sub-pixel when it emits light through optical acquisition devices such as cameras, and then use the Demura algorithm to calculate the compensation data of each sub-pixel based on the differences in these brightness data. In this way, different brightness compensations are applied to each sub-pixel so that the final displayed brightness is consistent.

[0041] In practice, due to the limitations of the sub-pixels themselves, when the Demura algorithm uses a fixed compensation coefficient to compensate for brightness, the compensation effect for low-brightness images is poor. Therefore, some solutions will make special settings for the compensation coefficient of low-brightness grayscale, and calculate the final compensation data by magnification or reduction. However, in practical applications, the compensation effect is still relatively poor.

[0042] To address the aforementioned issues, this invention proposes a compensation scheme that employs a special bipolarization process on brightness data in low-brightness scenes to better reflect luminance details. This allows for the matching of more reasonable compensation data during calculation, resulting in a better compensation effect. The following examples and embodiments illustrate the specific implementation scheme in a non-limiting manner.

[0043] Exemplary methods

[0044] Reference Figure 1This invention provides a preprocessing method for data to be compensated. This preprocessing method can be applied to compensation algorithms that compensate for the display image of a display panel, making the final calculated compensation data more reasonable and achieving a better compensation effect. Figure 1 As shown, the preprocessing method for the data to be compensated in this embodiment includes the following steps:

[0045] Step S101: Obtain the first brightness data of multiple sub-pixels in the display panel when the grayscale of the image to be compensated is less than or equal to the preset grayscale.

[0046] Specifically, the solution in this embodiment is mainly used to compensate for Mura in displays with low grayscale (i.e., low brightness, where brightness is positively correlated with grayscale). Therefore, in practical applications, when using the Demura algorithm for compensation, the range of the current display grayscale can be determined first. When the display grayscale is greater than the preset grayscale, it indicates that the current display is a high grayscale image, and the conventional Demura algorithm can be used to calculate the compensation data. When the display grayscale is less than or equal to the preset grayscale, it indicates that the current display is a low grayscale image requiring special compensation processing. The specific value of the preset grayscale can be set according to actual needs. For example, for the common 0-255 grayscale division method, the preset grayscale value can be 10, 15, 20... or 50, etc. In practical applications, it can be preset at the factory or allowed to be adjusted by the user.

[0047] Furthermore, an acquisition device such as an optical camera can be pre-installed in the display device showing the image to be compensated, or an external acquisition device can be used. Then, when Mura compensation is required, the acquisition device is used to acquire the current brightness data of each sub-pixel. When the displayed grayscale is less than or equal to a preset grayscale, the brightness data acquired by the acquisition device is the first brightness data corresponding to each sub-pixel. This first brightness data can be stored in a memory as raw data for preprocessing in subsequent steps.

[0048] Step S102: Determine a first portion of sub-pixels and a second portion of sub-pixels from the plurality of sub-pixels, and adjust the first brightness data of the first portion of sub-pixels to the second brightness data, and adjust the first brightness data of the second portion of sub-pixels to the third brightness data. The second brightness data is greater than the first brightness data, and the third brightness data is less than the first brightness data.

[0049] Specifically, when displaying low grayscale levels, the overall brightness of the display device is low, and the brightness difference between different sub-pixels is also relatively small. Therefore, when calculating compensation data using conventional compensation algorithms, the compensation data corresponding to different sub-pixels are quite similar, resulting in an inability to effectively compensate for the difference between the brightness and darkness of the Mura. To address this, this step determines a first group of sub-pixels and a second group of sub-pixels from multiple sub-pixels. Then, the first brightness data of the first group of sub-pixels is increased to the second brightness data, and the first brightness data of the second group of sub-pixels is decreased to the third brightness data. In this way, the difference in brightness data between these two types of sub-pixels can be amplified, thus giving these two types of sub-pixels a more obvious difference between brightness and darkness, which is beneficial for highlighting the details of the Mura, so that more reasonable compensation data can be obtained in subsequent calculations.

[0050] In some embodiments, when determining the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels, the difference between different areas of the display panel during actual use can be taken into account.

[0051] More specifically, in one embodiment, firstly, considering that in actual display devices, when the acquisition device acquires brightness data in its corresponding area, it will not generate significant calculation errors due to the image distortion correction algorithm, and the obtained brightness data is close to the real data, this part of the area can be divided into a separate area as the first area. The first brightness data of the sub-pixels in the first area can remain unchanged in subsequent processing steps. Secondly, considering that irregular areas of the display device, such as blind holes, rounded corners, notches, etc., are generally located at the edge of the display area, the irregular structure of these irregular areas will increase the error of the acquired brightness data. Moreover, since these locations are relatively far from the acquisition device, the image distortion will be more severe, resulting in significant calculation errors due to the image distortion correction algorithm. Furthermore, the mura at the edge of most display devices is relatively more obvious. Therefore, this part of the area is divided into a separate area as the second area for special compensation processing. Furthermore, the area between the first and second regions is divided into a third region. The first brightness data of the sub-pixels in the third region is processed differently from that in the second region in subsequent processing steps. For example, if the first brightness data of the second region is reduced, the first brightness data of the third region can be increased to widen the difference in brightness data between the sub-pixels in the third region and the second region.

[0052] For example, refer to Figure 2As shown, in one embodiment, the display area of ​​the display panel is divided into a first region R1, a second region R2, and a third region R3. These regions R1, R2, and R3 can all display images. The first region corresponds to the location of the acquisition device and is situated in the center of the display area (to facilitate the acquisition device's collection of the first brightness data of sub-pixels at various locations within the display area, the acquisition device is generally considered to be located in the center of the display area); the second region is located at the four edges of the display area, corresponding to the irregularly shaped areas of the display panel; the area between the first and second regions is designated as the third region.

[0053] Through the above region division, in step S102, when determining the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels, sub-pixels located in the second region can be designated as the first part of sub-pixels, that is, the first brightness data of the sub-pixels in the second region is reduced. This allows for subsequent increases in the compensation data for that region, improving the compensation effect. Simultaneously, sub-pixels located in the third region are designated as the second part of sub-pixels, that is, the first brightness data of the sub-pixels in the third region is increased. This increases the difference in brightness data between the sub-pixels in the second and third regions, facilitating the subsequent calculation of more reasonable compensation data. Furthermore, sub-pixels in the first region can also be designated as the third part of sub-pixels. Since the brightness data corresponding to the first region is closer to reality, the first brightness data of the third part of sub-pixels can be kept unchanged. Subsequently, the compensation data for the third part of sub-pixels can be directly calculated based on the first brightness data of the third part of sub-pixels, and the compensation of the image to be compensated can be performed based on the compensation data of the third part of sub-pixels.

[0054] In addition, in some other embodiments, when determining the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels in step S102, another implementation method may include: comparing the size of the first brightness data of each sub-pixel with the corresponding reference brightness data; determining the sub-pixels whose first brightness data is greater than the corresponding reference brightness data as the first part of sub-pixels, and determining the sub-pixels whose first brightness data is less than the corresponding reference brightness data as the second part of sub-pixels.

[0055] Specifically, as mentioned above, the purpose of this step is to amplify the difference in brightness data between the first part of the sub-pixels and the second part of the sub-pixels, thus making the difference in brightness between these two types of sub-pixels more obvious. Therefore, in addition to adopting the implementation scheme in the aforementioned embodiments (determining the first part of the sub-pixels and the second part of the sub-pixels according to the difference between different areas of the display panel in actual use), in this embodiment, the first part of the sub-pixels and the second part of the sub-pixels can be determined according to the difference in the original first brightness data of each sub-pixel. Specifically, the sub-pixels whose first brightness data is greater than the corresponding reference brightness data, that is, the relatively bright sub-pixels, are determined as the first part of the sub-pixels. At the same time, the sub-pixels whose first brightness data is less than the corresponding reference brightness data, that is, the relatively dark sub-pixels, are determined as the second part of the sub-pixels. Thus, in subsequent steps, the first brightness data of the first part of the sub-pixels and the second part of the sub-pixels can be amplified and reduced respectively, so as to amplify the difference in brightness data between these two types of sub-pixels. For sub-pixels whose first brightness data is exactly equal to the corresponding reference brightness data, they can be identified as the third sub-pixel. The first brightness data of the third sub-pixel can remain unchanged. Subsequently, the compensation data of the third sub-pixel can be calculated directly based on the first brightness data of the third sub-pixel, and the compensation data of the third sub-pixel can be used to compensate the image to be compensated.

[0056] In practice, the ratio of the first brightness data to the reference brightness data of each sub-pixel can be calculated. Sub-pixels with a ratio greater than 1 are the first part of sub-pixels, while sub-pixels with a ratio less than 1 are the second part of sub-pixels.

[0057] In some embodiments, the reference brightness data corresponding to any sub-pixel includes: the average of the first brightness data of all sub-pixels that have the same color and display the same grayscale as the sub-pixel.

[0058] Specifically, in practice, when calculating compensation data, the display panel is first controlled to display a pure color image with the same grayscale (e.g., a pure red image corresponding to 10 grayscale levels). Then, the first brightness data of all luminous sub-pixels is collected. Ideally, the first brightness data of these sub-pixels should be exactly the same. However, in reality, due to various reasons, some sub-pixels will have relatively high brightness, while others will have relatively low brightness. These brightness differences, when captured by the human eye, are called Mura.

[0059] Therefore, in this embodiment, during brightness data acquisition and preprocessing, the first brightness data of all sub-pixels of the same color at the current display grayscale can be obtained, and the average value of these first brightness data can be calculated as the reference brightness data of that color sub-pixel at the current display grayscale. In this case, sub-pixels with first brightness data greater than the average value of the brightness data are considered brighter sub-pixels, while sub-pixels with first brightness data less than the average value of the brightness data are considered darker sub-pixels.

[0060] In other embodiments, the reference brightness data corresponding to any sub-pixel can also be a pre-set fixed value. Specifically, since brightness data is positively correlated with grayscale, a fixed brightness data corresponding to each grayscale value less than or equal to a preset grayscale can be directly and individually set as the corresponding reference brightness data. For example, for grayscale a1, the reference brightness data can be set to lum1, for grayscale a2, the reference brightness data can be set to lum2, and so on.

[0061] Of course, it is understandable that other methods can be used to determine the reference brightness data, as long as it is convenient to determine the first part of the sub-pixels and the second part of the sub-pixels according to the size of the first brightness data, there are no restrictions on this.

[0062] Furthermore, in step S102, when determining the first part of the sub-pixels and the second part of the sub-pixels, the two methods of the two aforementioned embodiments can be combined.

[0063] For example, in some embodiments, when determining the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels in step S102, such as Figure 3 As shown, the specific process may include the following steps:

[0064] Step S1021: Determine the region where each sub-pixel is located, and compare the first brightness data of each sub-pixel with the corresponding reference brightness data.

[0065] In this embodiment, the display area of ​​the display panel can be pre-divided into a first region, a second region, and a third region. That is, the first region corresponds to the area where the brightness data acquisition device is located, the second region is located at the edge of the display area of ​​the display panel, and the third region is located between the first and second regions. Then, the region where each sub-pixel is located is determined based on this.

[0066] In addition, the reference brightness data can also be determined using the scheme of the aforementioned embodiments. For example, the average value of the first brightness data of each color sub-pixel under the current display grayscale can be used as the reference brightness data corresponding to that color sub-pixel under the current display grayscale.

[0067] Step S1022: The sub-pixels located in the third region with brightness data greater than or equal to the corresponding reference brightness data and the sub-pixels located in the first region with first brightness data greater than the corresponding reference brightness data are determined as the first part of sub-pixels. The sub-pixels located in the second region with brightness data less than or equal to the corresponding reference brightness data and the sub-pixels located in the first region with first brightness data less than the corresponding reference brightness data are determined as the second part of sub-pixels.

[0068] Specifically, as described in the foregoing embodiments, the first luminance data of sub-pixels located in the third region needs to be enlarged. Simultaneously, the first luminance data of sub-pixels whose first luminance data is greater than the corresponding reference luminance data also needs to be enlarged. Therefore, for sub-pixels located in the third region and sub-pixels whose first luminance data is greater than the corresponding reference luminance data, their luminance data adjustment methods are consistent. Thus, sub-pixels that simultaneously satisfy both conditions can be determined as the first part of sub-pixels. Similarly, for sub-pixels located in the second region and sub-pixels whose first luminance data is less than the corresponding reference luminance data, their luminance data adjustment methods are consistent (the corresponding luminance data needs to be reduced). Therefore, sub-pixels that simultaneously satisfy both conditions can be determined as the second part of sub-pixels.

[0069] Additionally, for sub-pixels located in the third region but whose first brightness data equals the corresponding reference brightness data, they can also be assigned to the first part of sub-pixels to amplify the brightness difference between sub-pixels. Similarly, for sub-pixels located in the second region but whose first brightness data equals the corresponding reference brightness data, they can also be assigned to the second part of sub-pixels to amplify the brightness difference between sub-pixels.

[0070] Additionally, for sub-pixels located in the first region whose first brightness data is greater than the corresponding reference brightness data, they can also be classified into the first part of sub-pixels to amplify the brightness difference between sub-pixels. Similarly, for sub-pixels located in the first region whose first brightness data is less than the corresponding reference brightness data, they can also be classified into the second part of sub-pixels to amplify the brightness difference between sub-pixels.

[0071] Step S1023: Calculate the difference degree data of sub-pixels located in the third region where the first brightness data is less than the corresponding reference brightness data to obtain the first difference degree data, and calculate the difference degree data of sub-pixels located in the second region where the first brightness data is greater than the corresponding reference brightness data to obtain the second difference degree data; wherein, the difference degree data is the absolute value of the difference between the ratio of the first brightness data to the corresponding reference brightness data and the preset adjustment ratio.

[0072] Specifically, the adjustment methods for sub-pixels located in the third region are inconsistent with those for sub-pixels whose first brightness data is less than the corresponding reference brightness data. Therefore, for sub-pixels located in the third region but whose first brightness data is less than the corresponding reference brightness data, there is a conflict when determining the first part of the sub-pixels and the second part of the sub-pixels according to the two methods of the aforementioned embodiments. Similarly, for sub-pixels located in the second region but whose first brightness data is greater than the corresponding reference brightness data, there is also a conflict when determining the first part of the sub-pixels and the second part of the sub-pixels according to the two methods of the aforementioned embodiments. Therefore, for these conflicting sub-pixels, it is necessary to further determine whether they should be the first part of the sub-pixels or the second part of the sub-pixels.

[0073] In this embodiment, the rule is to calculate the difference level data of these sub-pixels, specifically the absolute value of the difference between the ratio of the first brightness data to the corresponding reference brightness data and the preset adjustment ratio. The formula is as follows:

[0074]

[0075] In the formula, x represents the degree of difference data, lum1 represents the first brightness data of the sub-pixel, lum0 represents the reference brightness data, and ratio i This indicates the preset adjustment ratio. Specifically, the preset adjustment ratio is `ratio`. i This represents the adjustment ratio when adjusting the brightness data. At that time, the adjustment was to expand according to the adjustment ratio. i The value is ratio1, where ratio1 > 1; when At that time, the adjustment was to reduce the size according to the adjustment ratio. i The value is ratio2, where ratio2 < 1. Generally, ratio1 can be set to around 1.02, and ratio2 can be set to around 0.98. The specific values ​​can be adjusted according to the actual grayscale values, and there is no restriction to two decimal places.

[0076] The parameter "difference level data x" can characterize the amount of adjustment when the first brightness data is adjusted to the second brightness data or the third brightness data according to the relationship between the first brightness data and the corresponding reference brightness data.

[0077] Generally, when the adjustment amount is large, it is more reasonable to determine the first and second sub-pixels based on the relationship between the first brightness data and the corresponding reference brightness data. This is because this method involves actual parameter calculation, resulting in relatively small errors. Conversely, determining the first and second sub-pixels based on their regions involves significant errors due to the inherent complexity of dividing the second and third regions. However, determining the first and second sub-pixels based on their regions is significantly faster. Therefore, when the adjustment amount is small, region division can be used to shorten processing time, while ensuring that any errors remain within acceptable limits.

[0078] Step S1024: Determine the sub-pixels whose first difference level data is less than the preset difference data and the sub-pixels whose second difference level data is greater than or equal to the preset difference data as the first part of sub-pixels, and determine the sub-pixels whose first difference level data is greater than or equal to the preset difference data and the sub-pixels whose second difference level data is less than the preset difference data as the second part of sub-pixels.

[0079] The preset difference data refers to pre-defined parameters. For example, if ratio1 is set to approximately 1.02 and ratio2 to approximately 0.98, the preset difference data could be set to approximately 0.05. Of course, the specific value of the preset difference data can be adjusted according to actual needs. Generally, the larger the specific value of the preset difference data, the faster the actual processing speed, but the greater the error in the result.

[0080] Specifically, according to the aforementioned principle, since the parameter of difference degree data x can characterize the magnitude of the adjustment amount when adjusting the brightness data according to the relationship between the first brightness data and the corresponding reference brightness data, and when the adjustment amount is large, it is more reasonable to determine the first part of sub-pixels and the second part of sub-pixels according to the relationship between the first brightness data and the corresponding reference brightness data. Therefore, this step is equivalent to determining the first part of sub-pixels and the second part of sub-pixels according to the relationship between the first brightness data and the corresponding reference brightness data when the adjustment amount is large, and determining the first part of sub-pixels and the second part of sub-pixels according to the region where the sub-pixels are located when the adjustment amount is small.

[0081] After determining the first and second sub-pixels, the brightness data of these two types of sub-pixels needs to be further adjusted to increase the difference in brightness data between the sub-pixels.

[0082] In some embodiments, adjusting the first brightness data of the first portion of sub-pixels to second brightness data and adjusting the first brightness data of the second portion of sub-pixels to third brightness data specifically includes: calculating the product of the first brightness data of the first portion of sub-pixels and a first adjustment ratio to obtain the second brightness data; and calculating the product of the first brightness data of the second portion of sub-pixels and a second adjustment ratio to obtain the third brightness data. Here, the first adjustment ratio is also known as ratio1 mentioned above, which is greater than 1, and the second adjustment ratio is also known as ratio2 mentioned above, which is less than 1.

[0083] By adjusting proportionally, the first brightness data of the first part of the sub-pixels and the second part of the sub-pixels can be easily adjusted to appropriate values, thereby increasing the difference in brightness data between sub-pixels.

[0084] Understandably, when making specific adjustments, in addition to directly calculating the product of the first brightness data and the first adjustment ratio or the second adjustment ratio, other reasonable adjustment methods can be used or combined, such as summing with the set adjustment amount, etc. As long as the difference in brightness data between sub-pixels can be increased, there are no restrictions on this.

[0085] By using the above preprocessing scheme, the difference between the brightness data of different sub-pixels can be amplified, thereby improving the contrast between light and dark, better reflecting the Mura details, and thus matching more reasonable compensation data in subsequent compensation data calculations, achieving a better compensation effect.

[0086] Based on the aforementioned solution, this embodiment of the invention also provides an image compensation method. (Refer to...) Figure 4 , Figure 4 This is a schematic flowchart of an embodiment of the image compensation method of the present invention. Figure 4 As shown, the image compensation method in this embodiment includes the following steps:

[0087] Step S201: Obtain the second and third luminance data of the sub-pixel. The second and third luminance data are obtained by processing the data to be compensated using the preprocessing method described in any of the foregoing embodiments.

[0088] Step S202: Calculate the compensation data for the first part of the sub-pixels based on the second brightness data, calculate the compensation data for the second part of the sub-pixels based on the third brightness data, and compensate the image to be compensated based on the compensation data.

[0089] In this step, compensation data for each sub-pixel is calculated based on the brightness data adjusted in the previous steps. Since the adjustment process expands the difference between the brightness data of different sub-pixels, the contrast between light and dark can be improved, better reflecting the Mura details. As a result, when calculating the compensation data, more reasonable compensation data can be matched to achieve a better compensation effect.

[0090] The process of calculating the compensation data can be implemented using the existing Demura compensation algorithm, which will not be elaborated here.

[0091] Exemplary device

[0092] Reference Figure 5 , Figure 5 This is a schematic diagram of a preprocessing device for data to be compensated provided in one embodiment of the present invention. Figure 5 As shown, the image compensation device provided in this embodiment of the invention includes: an acquisition module 300 and an adjustment module 310; wherein,

[0093] The acquisition module 300 is used to acquire the first brightness data of multiple sub-pixels in the display panel when the grayscale of the image to be compensated is less than or equal to the preset grayscale.

[0094] The adjustment module 310 is used to determine a first part of sub-pixels and a second part of sub-pixels from multiple sub-pixels, adjust the first brightness data of the first part of sub-pixels to the second brightness data, and adjust the first brightness data of the second part of sub-pixels to the third brightness data; the second brightness data is greater than the first brightness data, and the third brightness data is less than the first brightness data.

[0095] The preprocessing device for the data to be compensated provided by the present invention distinguishes sub-pixels in low grayscale (i.e., less than or equal to a preset grayscale) images and then adjusts the first brightness data of different sub-pixels to expand the difference between the brightness data of different sub-pixels, thereby improving the contrast between light and dark, better reflecting Mura details, and thus matching more reasonable compensation data when calculating compensation data, achieving a better compensation effect.

[0096] In some embodiments, when the adjustment module 310 determines the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels, it is specifically used to: determine the region where each sub-pixel is located; determine the sub-pixels located in the third region as the first part of sub-pixels, and determine the sub-pixels located in the second region as the second part of sub-pixels; wherein, the display area of ​​the display panel is pre-divided into a first region, a second region and a third region, the first region corresponds to the region where the acquisition device for acquiring brightness data is located, the second region is located at the edge of the display area of ​​the display panel, and the third region is located between the first region and the second region.

[0097] In some embodiments, when the adjustment module 310 determines the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels, it is specifically used to: compare the size of the first brightness data of each sub-pixel with the corresponding reference brightness data; determine the sub-pixels whose first brightness data is greater than the corresponding reference brightness data as the first part of sub-pixels, and determine the sub-pixels whose first brightness data is less than the corresponding reference brightness data as the second part of sub-pixels.

[0098] In some embodiments, when the adjustment module 310 determines the first part of sub-pixels and the second part of sub-pixels from multiple sub-pixels, it is specifically used to: determine the region where each sub-pixel is located, and compare the size of the first brightness data of each sub-pixel with the corresponding reference brightness data; determine the sub-pixels located in the third region whose first brightness data is greater than or equal to the corresponding reference brightness data and the sub-pixels located in the first region whose first brightness data is greater than the corresponding reference brightness data as the first part of sub-pixels; determine the sub-pixels located in the second region whose first brightness data is less than or equal to the corresponding reference brightness data and the sub-pixels located in the first region whose first brightness data is less than the corresponding reference brightness data as the second part of sub-pixels; calculate the degree of difference data of the sub-pixels located in the third region whose first brightness data is less than the corresponding reference brightness data to obtain the first degree of difference data, and calculate... The difference degree data of sub-pixels located in the second region where the first brightness data is greater than the corresponding reference brightness data is used to obtain the second difference degree data. Sub-pixels whose first difference degree data is less than a preset difference data and whose second difference degree data is greater than or equal to the preset difference data are determined as the first part of sub-pixels, and sub-pixels whose first difference degree data is greater than or equal to the preset difference data and whose second difference degree data is less than the preset difference data are determined as the second part of sub-pixels. The display area of ​​the display panel is pre-divided into a first region, a second region, and a third region. The first region corresponds to the area where the brightness data acquisition device is located, the second region is located at the edge of the display area of ​​the display panel, and the third region is located between the first region and the second region. The difference degree data is the absolute value of the difference between the ratio of the first brightness data to the corresponding reference brightness data and the preset adjustment ratio.

[0099] In some embodiments, the reference brightness data corresponding to any sub-pixel includes the average of the first brightness data of all sub-pixels that have the same color and display the same grayscale as that sub-pixel.

[0100] In some embodiments, when adjusting the first brightness data of the first part of the sub-pixels to the second brightness data and adjusting the first brightness data of the second part of the sub-pixels to the third brightness data, the adjustment module 310 is specifically used to: calculate the product of the first brightness data of the first part of the sub-pixels and the first adjustment ratio to obtain the second brightness data, and calculate the product of the first brightness data of the second part of the sub-pixels and the second adjustment ratio to obtain the third brightness data; the first adjustment ratio is greater than 1 and the second adjustment ratio is less than 1.

[0101] In some embodiments, the adjustment module 310 is further configured to: determine the sub-pixels located in the first region as the third part of the sub-pixels, and maintain the first brightness data of the third part of the sub-pixels unchanged.

[0102] Specific limitations regarding the preprocessing device for the data to be compensated can be found in the limitations of the preprocessing method for the data to be compensated mentioned above, and will not be repeated here. Each module in the aforementioned image compensation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0103] In addition, refer to Figure 6 , Figure 6 This is a schematic diagram of the structure of an image compensation device provided in one embodiment of the present invention. Figure 6 As shown, the image compensation device provided in this embodiment of the invention includes: an acquisition module 300, an adjustment module 310, and a compensation module 320; wherein, the acquisition module 300 and the adjustment module 310 can respectively be used as... Figure 5 The embodiment shown includes an acquisition module 300 and an adjustment module 310. The compensation module 320 is at least used for: calculating compensation data for a first portion of sub-pixels based on the second brightness data processed by the adjustment module 310, calculating compensation data for a second portion of sub-pixels based on the third brightness data processed by the adjustment module 310, and compensating the image to be compensated based on the compensation data.

[0104] Since the image compensation device in this embodiment includes a corresponding module of the preprocessing device for the data to be compensated in any of the preceding embodiments, it can obtain more reasonable compensation data and achieve a better compensation effect when calculating the compensation data.

[0105] Exemplary processing devices and display apparatus

[0106] This invention also provides a processing device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the steps of preprocessing the data to be compensated or the steps of the screen compensation method, as described in any of the exemplary method sections. The processing device may be a processing chip disposed within a display device or a separate device communicatively connected to the display device.

[0107] Based on this, embodiments of the present invention also provide a display device, which includes the processing device described above. This display device can be a smartphone, tablet computer, or the like.

[0108] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this invention should have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in the embodiments of this invention do not indicate any order, quantity, or importance, but are merely used to avoid confusion of the constituent elements.

[0109] Unless the context otherwise requires, throughout this specification, the term "comprising" is interpreted as open-ended and encompassing, meaning "including, but not limited to." In the description of this specification, terms such as "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples," etc., are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this disclosure. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics mentioned may be included in any suitable manner in any one or more embodiments or examples.

Claims

1. A preprocessing method for data to be compensated, characterized in that, In a compensation algorithm applied to compensate for the display image of a display panel, the method includes: Acquire the first brightness data of multiple sub-pixels in the display panel when the grayscale of the image to be compensated is less than or equal to the preset grayscale. A first portion of sub-pixels and a second portion of sub-pixels are determined from the plurality of sub-pixels, and the first brightness data of the first portion of sub-pixels is adjusted to the second brightness data, and the first brightness data of the second portion of sub-pixels is adjusted to the third brightness data; wherein, the second brightness data is greater than the first brightness data, and the third brightness data is less than the first brightness data; The step of determining the first portion of sub-pixels and the second portion of sub-pixels from the plurality of sub-pixels includes: The region where each sub-pixel is located is determined, and the first brightness data of each sub-pixel is compared with the corresponding reference brightness data; wherein, the display area of ​​the display panel is pre-divided into a first area, a second area and a third area, the first area corresponds to the area where the acquisition device for acquiring the brightness data is located, the second area is located at the edge of the display area of ​​the display panel, and the third area is located between the first area and the second area; The sub-pixels located in the third region and whose first brightness data is greater than or equal to the corresponding reference brightness data, and the sub-pixels located in the first region and whose first brightness data is greater than the corresponding reference brightness data, are determined as the first part of sub-pixels. The sub-pixels located in the second region and whose first brightness data is less than or equal to the corresponding reference brightness data, and the sub-pixels located in the first region and whose first brightness data is less than the corresponding reference brightness data, are determined as the second part of sub-pixels. The difference degree data of sub-pixels located in the third region where the first brightness data is less than the corresponding reference brightness data is calculated to obtain the first difference degree data, and the difference degree data of sub-pixels located in the second region where the first brightness data is greater than the corresponding reference brightness data is calculated to obtain the second difference degree data; wherein, the difference degree data is the absolute value of the difference between the ratio of the first brightness data to the corresponding reference brightness data and the preset adjustment ratio; The sub-pixels whose first difference level data is less than the preset difference data and the sub-pixels whose second difference level data is greater than or equal to the preset difference data are determined as the first part of sub-pixels, and the sub-pixels whose first difference level data is greater than or equal to the preset difference data and the sub-pixels whose second difference level data is less than the preset difference data are determined as the second part of sub-pixels.

2. The method according to claim 1, characterized in that, The reference brightness data corresponding to any sub-pixel includes: the average of the first brightness data of all sub-pixels that have the same color and display the same grayscale as that sub-pixel.

3. The method according to claim 1, characterized in that, The step of adjusting the first brightness data of the first portion of sub-pixels to the second brightness data, and adjusting the first brightness data of the second portion of sub-pixels to the third brightness data, includes: The product of the first brightness data of the first part of the sub-pixels and the first adjustment ratio is calculated to obtain the second brightness data, and the product of the first brightness data of the second part of the sub-pixels and the second adjustment ratio is calculated to obtain the third brightness data; the first adjustment ratio is greater than 1, and the second adjustment ratio is less than 1.

4. A method for image compensation, characterized in that, include: Obtain the second brightness data and the third brightness data obtained by processing the data to be compensated using the preprocessing method of any one of claims 1 to 3; The compensation data for the first part of the sub-pixels is calculated based on the second brightness data, the compensation data for the second part of the sub-pixels is calculated based on the third brightness data, and the compensation data is used to compensate the image to be compensated.

5. A processing device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the steps of the preprocessing method for the data to be compensated as described in any one of claims 1 to 3, or the steps of the image compensation method as described in claim 4.

6. A display device, characterized in that, Includes the processing equipment as described in claim 5.