Pixel compensation method, device and storage medium

By calculating the target compensation value based on the sub-pixel proportion and screen average load value, targeted pixel compensation is solved, and the brightness inconsistency caused by the brightness difference between single-channel and non-single-channel sub-pixels in the new display screen is improved, and the display performance is improved .

CN118506712BActive Publication Date: 2024-11-05QINGDAO GOERPIXELS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410932213.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-05
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

In new display screens such as Micro OLED displays, there is a large difference in the display brightness of single-channel sub-pixels and non-single-channel sub-pixels under the same display parameters, resulting in the problem of inconsistent brightness after the simple pixel compensation value is applied.

Method used

By determining the sub-pixel proportion and screen average load value of the target sub-pixel in the target pixel, the applicable compensation value mapping relationship is determined based on the preset proportion interval, the target compensation value is calculated, and targeted compensation operations are performed to ensure that the difference is Type subpixels obtain different compensation values ​​for brightness uniformity.

Benefits of technology

It effectively avoids the problem of inaccurate brightness caused by unified compensation values, significantly improves the display performance of the entire screen, and ensures consistency of brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118506712B_ABST
    Figure CN118506712B_ABST
Patent Text Reader

Abstract

The present application discloses a pixel compensation method, device and storage medium, which relates to the field of display technology, including: determining the sub-pixel ratio of a target sub-pixel in a corresponding target pixel, and determining the average screen load value of the entire screen; determining the compensation value mapping relationship applicable to the target sub-pixel according to the preset ratio interval of the sub-pixel ratio; determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship; and performing compensation operations for the target sub-pixel based on the target compensation value. The purpose is to solve the problem of uneven brightness and color of the screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a pixel compensation method, device and storage medium. Background Art

[0002] Dynamic IR Drop (Electric Current Resistance Drop) refers to the phenomenon that when the local content of the picture frame in a display device changes, the voltage in the changed local area changes, causing the current in the unchanged area to change accordingly, thereby affecting the brightness, chromaticity and other properties of the unchanged area.

[0003] In order to reduce the impact of dynamic IR Drop, pixel compensation is usually used to adjust the display screen to maintain the consistency of display brightness and color.

[0004] However, for some new screens, such as Micro OLED displays (Micro Organic Light-Emitting Diode), due to the particularity of the manufacturing process, the single-channel sub-pixels and non-single-channel sub-pixels have large differences in display brightness under the same display parameters. If the same compensation value is simply applied to single-channel sub-pixels and non-single-channel sub-pixels, the different display performances of the two will lead to the problem of inconsistent screen brightness and color.

[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0006] The main purpose of this application is to provide a pixel compensation method, device and storage medium, aiming to solve the technical problem of uneven screen brightness and color.

[0007] To achieve the above object, the present application proposes a pixel compensation method, which includes:

[0008] Determine the sub-pixel ratio of the target sub-pixel in the corresponding target pixel, and determine the average screen load value of the entire screen;

[0009] Determining a compensation value mapping relationship applicable to the target sub-pixel according to a preset proportion interval in which the sub-pixel proportion lies;

[0010] Determining, according to the compensation value mapping relationship, a sub-pixel parameter of the target sub-pixel and a target compensation value corresponding to the average screen load value;

[0011] A compensation operation for the target sub-pixel is performed based on the target compensation value.

[0012] In one embodiment, the compensation value mapping relationship includes a hybrid dynamic lookup table and / or a single dynamic lookup table, and the step of determining the compensation value mapping relationship applicable to the target sub-pixel according to the preset proportion interval of the sub-pixel proportion includes:

[0013] If the sub-pixel ratio is less than or equal to a first preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the hybrid dynamic lookup table;

[0014] If the sub-pixel ratio is greater than or equal to a second preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the single dynamic lookup table;

[0015] If the sub-pixel ratio is greater than the first preset threshold and less than the second preset threshold, the compensation value mapping relationship applicable to the target sub-pixel is determined to be the hybrid dynamic lookup table and the single dynamic lookup table, wherein the first preset threshold is less than the second preset threshold.

[0016] In one embodiment, the step of determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship comprises:

[0017] Determining, according to the compensation value mapping relationship, a ordinate index corresponding to the sub-pixel parameter;

[0018] Determine, according to the compensation value mapping relationship, a horizontal coordinate index corresponding to the average screen load value;

[0019] The target compensation value of the target sub-pixel is obtained according to the ordinate index and the abscissa index.

[0020] In one embodiment, the compensation value mapping relationship includes a hybrid dynamic lookup table and a single dynamic lookup table, and the step of determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship includes:

[0021] Determining, according to the hybrid dynamic lookup table, a first intermediate compensation value corresponding to a sub-pixel parameter of the target sub-pixel and the average screen load value;

[0022] Determining, according to the single dynamic lookup table, a second intermediate compensation value corresponding to the sub-pixel parameter of the target sub-pixel and the average screen load value;

[0023] Obtaining weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value;

[0024] Based on the weight value, a weighted sum of the first intermediate compensation value and the second intermediate compensation value is determined, and the weighted sum is used as the target compensation value.

[0025] In one embodiment, the step of obtaining weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value includes:

[0026] The weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value are determined according to the sub-pixel proportion, the first preset threshold and the second preset threshold.

[0027] In one embodiment, the step of determining the sub-pixel ratio of the target sub-pixel in the corresponding target pixel includes any one of the following:

[0028] The ratio of the grayscale value of the target sub-pixel to the grayscale value corresponding to the target pixel is used as the sub-pixel ratio;

[0029] The ratio of the brightness value of the target sub-pixel to the brightness value corresponding to the target pixel is used as the sub-pixel ratio;

[0030] The ratio of the load value of the target sub-pixel to the load value corresponding to the target pixel is used as the sub-pixel proportion;

[0031] The ratio of the actual current value of the target sub-pixel to the actual current value corresponding to the target pixel is used as the sub-pixel ratio.

[0032] In one embodiment, the step of determining the average screen load value of the entire screen includes:

[0033] Get the screen resolution and the current value of each sub-pixel;

[0034] Determining a total screen load value according to the current value of the sub-pixel;

[0035] The average screen load value of the entire screen is determined according to the total screen load value and the screen resolution.

[0036] In one embodiment, the step of determining the average screen load value of the entire screen includes any one of the following:

[0037] Obtaining an average screen grayscale value, and determining the average screen load value of the entire screen according to a preset mapping relationship between the average screen grayscale value and the average screen load value;

[0038] The grayscale values ​​of all sub-pixels are obtained, the load values ​​of all the sub-pixels are determined according to a preset mapping relationship between the grayscale value and the load value, and the load values ​​of all the sub-pixels are averaged to obtain the average load value of the screen.

[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a pixel compensation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the pixel compensation method described above.

[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the pixel compensation method described above are implemented.

[0041] The present application provides a pixel compensation method, which determines the applicable compensation value mapping relationship according to the preset ratio interval of the sub-pixel ratio of the target sub-pixel. Since the compensation value mapping relationship is customized according to the characteristics and display performance of the sub-pixels in the interval, the compensation value mapping relationship can more accurately reflect the compensation requirements of the target sub-pixel. Then, by searching for the corresponding input value in the compensation value mapping relationship, the compensation value for the target sub-pixel can be obtained. This compensation value is specially customized for the target sub-pixel, so it can more accurately correct its display deviation. Through the above steps, this solution uses different compensation values ​​for sub-pixels of different display structures, thereby effectively avoiding the problem of inaccurate brightness and color after compensation caused by a unified compensation value, and significantly improving the display performance of the entire screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A brief flowchart of the pixel compensation method of the present application is shown;

[0045] Figure 2 A schematic diagram of a flow chart provided for the first embodiment of the pixel compensation method of the present application;

[0046] Figure 3 A schematic diagram of a flow chart provided for the first embodiment of the pixel compensation method of the present application;

[0047] Figure 4 A schematic diagram of a flow chart provided for the first embodiment of the pixel compensation method of the present application;

[0048] Figure 5 A schematic diagram of a flow chart provided for the first embodiment of the pixel compensation method of the present application;

[0049] Figure 6 A schematic diagram of a flow chart provided for the first embodiment of the pixel compensation method of the present application;

[0050] Figure 7 This is a schematic diagram of a hybrid dynamic search provided in the first embodiment of the pixel compensation method of the present application;

[0051] Figure 8 A single dynamic search representation provided in the first embodiment of the pixel compensation method of the present application;

[0052] Fig. 9 A schematic diagram of a flow chart provided for the second embodiment of the pixel compensation method of the present application;

[0053] Fig.10 A flowchart of the third embodiment of the pixel compensation method of the present application is provided;

[0054] Fig.11 A flowchart diagram of a fourth embodiment of the pixel compensation method of the present application is provided;

[0055] Fig.12 This is a schematic diagram of the effect of the pixel compensation method of the present application;

[0056] Fig.13 Schematic diagram of the device structure of the hardware operating environment involved in the pixel compensation method in the embodiment of the present application.

[0057] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0058] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0059] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0060] The main solution of the embodiment of the present application is: determine the compensation value mapping relationship applicable to the target sub-pixel according to the preset proportion interval of the sub-pixel proportion of the target sub-pixel, and then input the sub-pixel parameters of the target sub-pixel and the average screen load value into the above compensation value mapping relationship, so as to obtain the target compensation value of the target sub-pixel, and then complete the compensation operation.

[0061] The types of device screens are becoming increasingly diverse, including traditional displays such as LCD (Liquid Crystal Display), AMOLED (Active-matrix organic light-emitting diode), and new displays such as Micro OLED.

[0062] There are single-channel sub-pixels and non-single-channel sub-pixels in the display screen:

[0063] It is known that a pixel is usually composed of three channels: red R, green G, and blue B, and each channel has a sub-pixel to represent the brightness or intensity of the color.

[0064] When only one sub-pixel value of a pixel in the three RGB channels is non-0, the non-0 sub-pixel is called a single-channel sub-pixel. For example, in a pixel, if the sub-pixel value of the R channel is 255, and the sub-pixel values ​​of the G and B channels are both 0, then the R sub-pixel is a single-channel sub-pixel.

[0065] If a pixel has two or three non-zero sub-pixel values ​​in the RGB channels, then all non-zero sub-pixels in the pixel are called non-single-channel sub-pixels. For example, in a pixel, if the sub-pixel value of the R channel is 255, the sub-pixel value of the G channel is 128, and the sub-pixel value of the B channel is 100, then the R sub-pixel, G sub-pixel, and B sub-pixel in the pixel are all non-single-channel sub-pixels.

[0066] In particular, traditional displays and new displays differ in their dynamic IR Drop performance, mainly because due to the particularity of pixel circuit design and light-emitting devices, when the screen load and grayscale value are the same, the brightness difference between single-channel sub-pixels and non-single-channel sub-pixels in the new display is much greater than the brightness difference between single-channel sub-pixels and non-single-channel sub-pixels in the traditional display.

[0067] If the same compensation value is simply applied to single-channel sub-pixels and non-single-channel sub-pixels, the different display performances of the two will lead to the problem of inconsistent screen brightness and color. Therefore, a more accurate algorithm is needed to calculate the compensation value of each pixel.

[0068] To solve the above problems, the present application adopts a scheme of calculating compensation values ​​on a sub-pixel basis, referring to Figure 1, calculate the sub-pixel ratio of the target sub-pixel, and determine the compensation value mapping relationship suitable for the target sub-pixel according to the interval in which it is located. Then, input the sub-pixel parameters and the average screen load value into the compensation value mapping relationship to obtain a suitable target compensation value. In this way, different compensation values ​​can be provided for different types of sub-pixels, so that they can be compensated from different display brightness to a unified display brightness.

[0069] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a pixel compensation device capable of realizing the above functions, etc. The following takes the pixel compensation device as an example to illustrate this embodiment and the following embodiments.

[0070] Based on this, the present application embodiment provides a pixel compensation method, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a pixel compensation method of the present application.

[0071] In this embodiment, the pixel compensation method includes steps S10 to S40:

[0072] Step S10, determining the sub-pixel ratio of the target sub-pixel in the corresponding target pixel, and determining the average screen load value of the entire screen;

[0073] It should be noted that pixels are the basic units that constitute digital images, while sub-pixels are components of pixels and are the smallest units used to display a single color. For example, in an RGB display, a pixel is composed of three sub-pixels, corresponding to red R, green G, and blue B respectively.

[0074] In a feasible implementation manner, the step of determining the sub-pixel ratio of the target sub-pixel in the corresponding target pixel includes any one of A10 to A40:

[0075] Step A10, taking the ratio of the grayscale value of the target sub-pixel to the grayscale value corresponding to the target pixel as the sub-pixel ratio;

[0076] Step A20, taking the ratio of the brightness value of the target sub-pixel to the brightness value corresponding to the target pixel as the sub-pixel ratio;

[0077] Step A30, taking the ratio of the load value of the target sub-pixel to the load value corresponding to the target pixel as the sub-pixel proportion;

[0078] Step A40: taking the ratio of the measured current value of the target sub-pixel to the measured current value corresponding to the target pixel as the sub-pixel ratio.

[0079] It should be noted that sub-pixel parameters usually refer to specific values ​​associated with each color channel in a pixel, including but not limited to grayscale value, brightness value, load value and measured current value. Among them, the grayscale value is used to represent the color depth or grayscale level of the pixel, and can be represented by an integer between 0 and 255, where 0 represents black, 255 represents white, and the intermediate value represents different degrees of gray; the brightness value is used to represent the brightness of the sub-pixel in the image, and can be represented by an integer between 0 and 255, where 0 represents no brightness and 255 represents the highest brightness; the load value is the rated value associated with the sub-pixel, such as the rated current value, which is a specified theoretical value and is used to represent the design parameters of the device or component; the measured current value is the current passing through the sub-pixel directly obtained by the measuring device, which is used to represent the actual situation of the device or component.

[0080] Optionally, based on the grayscale value or color channel value of adjacent pixels, an interpolation algorithm such as linear interpolation or bilinear interpolation is used to obtain the grayscale value and / or brightness value of the sub-pixel; or, the load value of the sub-pixel is obtained by referring to the specification parameters or data sheet of the device or component; or, the actual current value displayed by the measuring device is read.

[0081] For example, refer to Figure 3 Based on the above principle, the grayscale value of the target sub-pixel is obtained, and the grayscale values ​​of the other two sub-pixels are divided, and the above data are summarized to obtain the grayscale value corresponding to the target pixel.

[0082] Furthermore, the ratio of the grayscale value of the target sub-pixel to the grayscale value corresponding to the target pixel is calculated to obtain the sub-pixel ratio of the target sub-pixel.

[0083] Exemplarily, assuming that the target sub-pixel refers to the sub-pixel of the R channel, the calculation is performed according to the following formula:

[0084]

[0085] Among them, R_ratio is the grayscale value ratio of the target sub-pixel, R_grey_level is the grayscale value of the target sub-pixel, G_grey_level and B_grey_level are the grayscale values ​​of other sub-pixels, and the denominator is the total grayscale value.

[0086] It can be seen that when the target sub-pixel is a single-channel sub-pixel, its calculated proportion is 1. When the grayscale values ​​of the three-channel sub-pixels in the pixel are equal, the proportion of the sub-pixel of a certain channel should be 0.33.

[0087] It can be understood that by considering ratio calculations in different dimensions, this solution can improve the accuracy and adaptability of the calculations, help better reflect the actual proportion of the target sub-pixel in the target pixel, and thus improve the quality of image processing results.

[0088] In another feasible implementation, the specific area where the target sub-pixel is located can be a square centered on the target sub-pixel, such as a 5x5 or 7x7 pixel area is selected as the specific area. The sub-pixel ratio of the feature area is determined and used as the sub-pixel ratio of the target sub-pixel.

[0089] The average screen load value is an indicator to measure the overall power consumption of the screen. This value can be used to evaluate the load level of the display device.

[0090] In one possible implementation, refer to Figure 4 The step of determining the average screen load value of the entire screen includes B10 to B30:

[0091] Step B10, obtaining the screen resolution and the current value of each sub-pixel;

[0092] Step B20, determining a total screen load value according to the current value of the sub-pixel;

[0093] Step B30: determining the average screen load value of the entire screen according to the total screen load value and the screen resolution.

[0094] Screen resolution refers to the number of pixels displayed horizontally and vertically on the screen, usually expressed in the form of "horizontal × vertical". In terms of technical implementation, it can be obtained by querying the hardware information of the display device or the interface provided by the operating system.

[0095] It is known that the current value is a physical quantity that describes the flow of electrons. In display technology, it is directly related to the power consumption of the screen. Higher current means brighter display brightness and higher display power consumption. In terms of technical implementation, the current value of a single sub-pixel can be determined based on the measuring device, and then the sum of the current values ​​of all R channel sub-pixels, G channel sub-pixels and B channel sub-pixels are counted, and the total screen load value is obtained by summing up.

[0096] Finally, divide the screen resolution by the screen load value to get the average screen load value for the entire screen.

[0097] The specific formula is as follows:

[0098]

[0099]

[0100]

[0101]

[0102] Among them, h is the vertical resolution of the screen, w is the horizontal resolution of the screen, I_R is the sum of the currents of all R channel sub-pixels in the displayed image, I_G is the sum of the currents of all G channel sub-pixels in the displayed image, I_B is the sum of the currents of all B channel sub-pixels in the displayed image, and avg_loading is the average load value of the screen.

[0103] It can be understood that this solution directly focuses on the current consumption of each pixel on the screen, avoiding the simple average calculation of the current value of the entire system, thereby more accurately reflecting the actual load condition of the screen, and thus accurately calculating the load value of the entire screen.

[0104] In another feasible implementation manner, the step of determining the average screen load value of the entire screen includes C10 or C20:

[0105] Step C10, obtaining the average grayscale value of the screen, and determining the average screen load value of the entire screen according to a preset mapping relationship between the average grayscale value of the screen and the average screen load value;

[0106] When the maximum brightness that the screen can display is determined, the brightness of the screen is usually determined by the grayscale value, that is, the higher the grayscale value, the higher the brightness of the screen. The brightness of the screen directly affects the display power consumption of the screen, because higher brightness usually requires more energy supply. Therefore, there is an obvious correlation between the grayscale value of the screen and the energy consumption, that is, when the maximum brightness that the screen can display is determined, the higher the grayscale value, the greater the display power consumption is usually.

[0107] Through experiments and data analysis in advance, the load values ​​corresponding to different grayscale values ​​are modeled and recorded. This mapping relationship can be linear, nonlinear or defined by an empirical formula.

[0108] Reference Figure 5 First, use image processing technology or screen driver to traverse each pixel in the grayscale image, add up their grayscale values, and then divide them by the total number of pixels to get the average grayscale value of the screen.

[0109] Furthermore, by using a preset mapping relationship between the average grayscale value of the screen and the average load value of the screen, the corresponding average load value can be determined according to the average grayscale value of the entire screen.

[0110] Step C20, obtaining the grayscale values ​​of all sub-pixels, determining the load values ​​of all the sub-pixels according to a preset mapping relationship between the grayscale value and the load value, and averaging the load values ​​of all the sub-pixels to obtain the average load value of the screen.

[0111] Reference Figure 6, traverse each sub-pixel to obtain the corresponding grayscale value, determine the load value of each sub-pixel based on the preset mapping relationship between the grayscale value and the load value, add up all the load values ​​and take the average to get the average load value of the screen.

[0112] It can be understood that this solution directly derives the load value according to the grayscale value through a preset mapping relationship, which is simple and fast, does not require real-time monitoring of data and complex calculations, and reduces the complexity of implementation.

[0113] In addition, a specific area of ​​the screen may be selected, such as a central pixel area of ​​5x5 or 7x7, as the specific area, and the average load value of the characteristic area may be determined and used as the average load value of the entire screen.

[0114] The above are only several feasible implementations of step S10 provided in this embodiment, and this embodiment does not specifically limit the specific implementation of step S10.

[0115] Step S20, determining a compensation value mapping relationship applicable to the target sub-pixel according to the preset proportion interval in which the sub-pixel proportion lies;

[0116] It should be noted that the compensation value mapping relationship is used to store the compensation value of a specific sub-pixel under different average screen loads, which is specifically expressed as a DLUT (Dynamic Look-Up Table) or other data structures. For ease of understanding, DLUT will be used for explanation in the following.

[0117] It is understandable that the display performance of non-single-channel sub-pixels and single-channel sub-pixels is different, that is, for a sub-pixel, the sub-pixel value is the same, but the brightness and color displayed are different when it belongs to a non-single-channel sub-pixel and a single-channel sub-pixel. Therefore, this solution sets up mix DLUT (Mixed Look-Up Table) and sigDLUT (Single Look-Up Table). The table stores the compensation values ​​corresponding to several specific sub-pixel parameters under several specific screen average loads. The ordinate of the table corresponds to the sub-pixel parameters, and the abscissa corresponds to the screen average load value, where the sub-pixel parameters can be grayscale values.

[0118] Figure 7 Mix DLUT stores the compensation amount required for the pixel value when the brightness corresponding to a non-single-channel sub-pixel is adjusted to the target brightness; Figure 8 sig DLUT stores the compensation amount required for the pixel value when the brightness corresponding to a single-channel sub-pixel is adjusted to the target brightness. The pictures corresponding to the four corners are the measurement pictures required to construct DLUT.

[0119] Optionally, two or more intervals are set, and each interval is associated with a different compensation rule, or a different dynamic lookup table is used, or a different calculation method is used.

[0120] Exemplarily, a threshold is set to distinguish two intervals. Assuming the threshold is 0.5, when the sub-pixel ratio is in the first interval [0, 0.5), the compensation value mapping relationship is determined to be mix DLUT; when the sub-pixel ratio is in the second interval [0.5, 1], the compensation value mapping relationship is determined to be sig DLUT.

[0121] Step S30, determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship;

[0122] Optionally, the sub-pixel parameters and the average screen load value are used as input and searched in the compensation value mapping relationship. The system compares the difference between the input parameters and the existing parameters in the lookup table to find the closest match. Once a match is found, the system takes out the corresponding compensation value as the output result.

[0123] Step S40: performing a compensation operation on the target sub-pixel based on the target compensation value.

[0124] For the target sub-pixel, corresponding adjustments are made according to the compensation value, such as adjusting its grayscale value. Specifically, different degrees of adjustment can be made through three channels to achieve adjustment of the brightness and color of the entire pixel.

[0125] The present embodiment provides a pixel compensation method, which determines the compensation value mapping relationship applicable to the target sub-pixel according to the preset ratio interval of the sub-pixel ratio of the target sub-pixel, and then inputs the sub-pixel parameters of the target sub-pixel and the average screen load value into the above compensation value mapping relationship to obtain the compensation value of the target sub-pixel, thereby completing the compensation operation.

[0126] This embodiment provides a pixel compensation method, which determines the applicable compensation value mapping relationship according to the preset ratio interval of the sub-pixel ratio of the target sub-pixel. Since the compensation value mapping relationship is customized according to the characteristics and display performance of the sub-pixels in the interval, the compensation value mapping relationship can more accurately reflect the compensation requirements of the target sub-pixels. Then, by searching for the corresponding input value in the compensation value mapping relationship, the compensation value for the target sub-pixel can be obtained. This compensation value is specially customized for the target sub-pixel, so it can more accurately correct its display deviation. Through the above steps, this scheme uses different compensation values ​​for sub-pixels of different display structures, thereby effectively avoiding the problem of inaccurate brightness and color after compensation caused by a unified compensation value, and significantly improving the display performance of the entire screen.

[0127] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Fig. 9 , step S20 includes steps D10 to D30:

[0128] Step D10, if the sub-pixel ratio is less than or equal to a first preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the hybrid dynamic lookup table;

[0129] Step D20, if the sub-pixel ratio is greater than or equal to a second preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the single dynamic lookup table;

[0130] Step D30, if the sub-pixel ratio is greater than the first preset threshold and less than the second preset threshold, determine that the compensation value mapping relationship applicable to the target sub-pixel is the hybrid dynamic lookup table and the single dynamic lookup table, wherein the first preset threshold is less than the second preset threshold.

[0131] It should be noted that the preset threshold is a threshold value preset according to the characteristics of display technology and design requirements, and is used to distinguish different sub-pixel proportion ranges. The value of the first preset threshold thr1 is, for example, 0.33, and the value of the second preset threshold thr2 is, for example, 1.

[0132] If the sub-pixel ratio is less than or equal to the first preset threshold, that is, the sub-pixel ratio is very small, it means that the sub-pixels of a certain color in the image are very rare. In this case, it means that the sub-pixel ratio of other channels may be large. Affected by the physical structure of the new screen, the brightness of the sub-pixel is greatly affected by the mutual influence between channels, so the use of the mixed dynamic lookup table mix DLUT can be more effectively processed.

[0133] If the sub-pixel ratio is greater than or equal to the second preset threshold, that is, the sub-pixel ratio is large, it means that the sub-pixel of this color dominates the image. In this case, therefore, using a single dynamic lookup table sig DLUT can perform more accurate and effective processing for this dominant type of sub-pixel to achieve better visual effects.

[0134] If the sub-pixel ratio is greater than the first preset threshold and less than the second preset threshold, in this case, using either the mixed or single dynamic lookup table alone may not achieve the best effect. Therefore, using both the mixed dynamic lookup table mixDLUT and the single dynamic lookup table sig DLUT can balance the needs of different sub-pixel types and achieve more comprehensive image processing.

[0135] The present embodiment provides a pixel compensation method, which can better process different areas and colors in an image by selecting a suitable dynamic lookup table according to the sub-pixel ratio. Specifically, when the sub-pixel ratio is low, the sub-pixels are more affected by the mutual influence between channels, and the use of a mixed dynamic lookup table can more accurately compensate for the brightness and chromaticity errors in this case; when the sub-pixel ratio is high, the sub-pixels are relatively weakly affected by the mutual influence between channels, and the use of a single dynamic lookup table can more accurately compensate for the brightness and chromaticity errors in this case; when the sub-pixel ratio is moderate, both the mixed dynamic lookup table and the single dynamic lookup table are applicable, supporting a smooth transition of the compensation results between single-channel sub-pixels and non-single-channel sub-pixels, so that two sub-pixels with similar brightness will not have a brightness gap after compensation because they belong to different channel classifications.

[0136] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Fig.10 , step S30 includes steps E10 to E30:

[0137] Step E10, determining the vertical coordinate index corresponding to the sub-pixel parameter according to the compensation value mapping relationship;

[0138] Step E20, determining the horizontal coordinate index corresponding to the average screen load value according to the compensation value mapping relationship;

[0139] Step E30: obtaining the target compensation value of the target sub-pixel according to the ordinate index and the abscissa index.

[0140] On the one hand, the sub-pixel parameters describe the current state or attributes of the sub-pixel. By substituting them into the compensation value mapping relationship, the corresponding vertical coordinate index can be obtained. This index value mainly focuses on the display characteristics of the sub-pixel itself and can be used to adjust the brightness, color, etc. of the sub-pixel to compensate for the display unevenness caused by physical aging, manufacturing errors and other factors.

[0141] On the other hand, the average load value of the screen reflects the overall usage status of the screen. By substituting it into the compensation value mapping relationship, the corresponding horizontal axis index can be obtained. This index value mainly focuses on the overall current intensity of the screen and can be used to adjust the display status of sub-pixels to match the overall display effect of the screen.

[0142] Finally, based on the horizontal and vertical coordinate index values, the interpolation position of the sub-pixel point in the lookup table can be obtained. The compensation value of the sub-pixel is obtained by interpolation from the lookup table based on the interpolation position. This compensation value takes into account the display characteristics of the sub-pixel itself and the overall current intensity of the screen to achieve more accurate display adjustment.

[0143] This embodiment provides a pixel compensation method, which can accurately calculate the compensation value of the sub-pixel by using the horizontal and vertical coordinate index values ​​to determine the interpolation position and combining the data in the lookup table, thereby making the display adjustment more accurate.

[0144] Based on the first embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be described in detail later. Fig.11 , step S30 includes steps F10 to F40:

[0145] Step F10, determining, according to the hybrid dynamic lookup table, a first intermediate compensation value corresponding to the sub-pixel parameter of the target sub-pixel and the average screen load value;

[0146] Step F20, determining, according to the single dynamic lookup table, a second intermediate compensation value corresponding to the sub-pixel parameter of the target sub-pixel and the average screen load value;

[0147] Step F30, obtaining weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value;

[0148] Step F40 : determining a weighted sum of the first intermediate compensation value and the second intermediate compensation value based on the weight value, and using the weighted sum as the target compensation value.

[0149] When the target sub-pixel is suitable for the hybrid dynamic lookup table, the target compensation value is determined in the following manner. The specific manner can be referred to in the third embodiment and will not be described in detail here:

[0150] Substitute the target channel parameters and the average screen load value into the mixed dynamic lookup table to find the compensation value comp_mix, and output the value as the final result comp_res:

[0151] When a single dynamic lookup table is used for the target sub-pixel, the target compensation value is determined as follows:

[0152] Substitute the target channel parameters and the average screen load value into a single dynamic lookup table to find the compensation value comp_sig, and output the value as the final result comp_res:

[0153] When the target sub-pixel is applicable to the hybrid dynamic lookup table and the single dynamic lookup table, the target compensation value is calculated as follows:

[0154] Substitute the target channel parameters and the average screen load value into the mixed dynamic lookup table to obtain the first intermediate compensation value comp_mix, and substitute the target channel parameters and the average screen load value into the single dynamic lookup table to obtain the second intermediate compensation value comp_sig.

[0155] Furthermore, a weight value corresponding to the first intermediate compensation value and the second intermediate compensation value is obtained. The weight value may be a fixed value or may be calculated based on current data, which is not specifically limited in this embodiment.

[0156] Exemplarily, the weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value are both 0.5, so the weighted sum of the first intermediate compensation value and the second intermediate compensation value is (0.5*first intermediate compensation value+0.5*second intermediate compensation value), which is the target compensation value.

[0157] Exemplarily, according to the sub-pixel ratio, the first preset threshold and the second preset threshold, the weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value are determined, and then the target compensation value is calculated. The specific formula is as follows:

[0158]

[0159] Among them, comp_res is the target compensation value, pix_ratio is the sub-pixel ratio, thr1 is the first preset threshold, thr2 is the second preset threshold, comp_mix is ​​the first intermediate compensation value, and comp_sig is the second intermediate compensation value.

[0160] It is understandable that as the data is updated and changed, the weight value calculated based on the current data can be automatically adjusted accordingly, so that the final target compensation value is more in line with the actual situation.

[0161] From the above content, it can be seen that under the same screen load, the same sub-pixel value will get different compensation values ​​when it has different pixel ratios.

[0162] This embodiment provides a pixel compensation method, the hybrid dynamic lookup table may include more scenes and factors, and the single dynamic lookup table may more accurately compensate pixels in certain specific situations. When the sub-pixel ratio is moderate, by using these two lookup tables in coordination, a balance can be found between accuracy and comprehensiveness, giving full play to their advantages.

[0163] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the pixel compensation method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0164] Reference Fig.12, which is the average value of DeltaE2000 measurement data applied to a 24-color card by adding the processing method of applying different compensation values ​​to single-channel and non-single-channel sub-pixels described in the present invention and the solution without adding the processing method.

[0165] It can be seen from the data that the improved IR Drop compensation according to the present invention has a better effect, that is, higher brightness and color consistency.

[0166] The present application provides a pixel compensation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the pixel compensation method in the above-mentioned embodiment one.

[0167] Reference below Fig.13 , which shows a schematic diagram of the structure of a pixel compensation device suitable for implementing the embodiment of the present application. The pixel compensation device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.13 The pixel compensation device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0168] like Fig.13As shown, the pixel compensation device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the pixel compensation device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the pixel compensation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a pixel compensation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0169] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0170] The pixel compensation device provided by the present application adopts the pixel compensation method in the above embodiment to solve the technical problem of uneven screen brightness and color. Compared with the prior art, the beneficial effects of the pixel compensation device provided by the present application are the same as the beneficial effects of the pixel compensation method provided by the above embodiment, and the other technical features in the pixel compensation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0171] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0172] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0173] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the pixel compensation method in the above-mentioned embodiment.

[0174] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0175] The computer-readable storage medium may be included in the pixel compensation device; or may exist independently without being assembled into the pixel compensation device.

[0176] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the pixel compensation device, the pixel compensation device: determines the sub-pixel ratio of the target sub-pixel in the corresponding target pixel, and determines the screen average load value of the entire screen; determines the compensation value mapping relationship applicable to the target sub-pixel according to the preset ratio interval in which the sub-pixel ratio is located; determines the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the screen average load value according to the compensation value mapping relationship; and performs compensation operation for the target sub-pixel based on the target compensation value.

[0177] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0178] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0179] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0180] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned pixel compensation method, and can solve the technical problem of uneven brightness and color of the screen. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the pixel compensation method provided in the above-mentioned embodiment, and will not be described in detail here.

[0181] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A pixel compensation method, characterized in that: The method comprises: Determine a sub-pixel ratio of a target sub-pixel parameter in a corresponding target pixel, and determine an average screen load value of the entire screen, wherein the sub-pixel parameter is a specific value associated with each color channel in a pixel; Determining a compensation value mapping relationship applicable to the target sub-pixel according to a preset proportion interval in which the sub-pixel proportion lies; Determining, according to the compensation value mapping relationship, a sub-pixel parameter of the target sub-pixel and a target compensation value corresponding to the average screen load value; A compensation operation for the target sub-pixel is performed based on the target compensation value.

2. The method according to claim 1, characterized in that The compensation value mapping relationship includes a hybrid dynamic lookup table and / or a single dynamic lookup table, and the step of determining the compensation value mapping relationship applicable to the target sub-pixel according to the preset proportion interval of the sub-pixel proportion includes: If the sub-pixel ratio is less than or equal to a first preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the hybrid dynamic lookup table; If the sub-pixel ratio is greater than or equal to a second preset threshold, determining that the compensation value mapping relationship applicable to the target sub-pixel is the single dynamic lookup table; If the sub-pixel ratio is greater than the first preset threshold and less than the second preset threshold, the compensation value mapping relationship applicable to the target sub-pixel is determined to be the hybrid dynamic lookup table and the single dynamic lookup table, wherein the first preset threshold is less than the second preset threshold.

3. The method according to claim 1, characterized in that The step of determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship comprises: Determining, according to the compensation value mapping relationship, a ordinate index corresponding to the sub-pixel parameter; Determine, according to the compensation value mapping relationship, a horizontal coordinate index corresponding to the average screen load value; The target compensation value of the target sub-pixel is obtained according to the ordinate index and the abscissa index.

4. The method according to claim 1, characterized in that The compensation value mapping relationship includes a hybrid dynamic lookup table and a single dynamic lookup table. The step of determining the sub-pixel parameter of the target sub-pixel and the target compensation value corresponding to the average screen load value according to the compensation value mapping relationship includes: Determining, according to the hybrid dynamic lookup table, a first intermediate compensation value corresponding to a sub-pixel parameter of the target sub-pixel and the average screen load value; Determining, according to the single dynamic lookup table, a second intermediate compensation value corresponding to the sub-pixel parameter of the target sub-pixel and the average screen load value; Obtaining weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value; Based on the weight value, a weighted sum of the first intermediate compensation value and the second intermediate compensation value is determined, and the weighted sum is used as the target compensation value.

5. The method according to claim 4, characterized in that The step of obtaining weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value comprises: The weight values ​​corresponding to the first intermediate compensation value and the second intermediate compensation value are determined according to the sub-pixel proportion, the first preset threshold and the second preset threshold.

6. The method according to claim 1, characterized in that The step of determining the sub-pixel ratio of the target sub-pixel parameter in the corresponding target pixel includes any one of the following: The ratio of the grayscale value of the target sub-pixel to the grayscale value corresponding to the target pixel is used as the sub-pixel ratio; The ratio of the brightness value of the target sub-pixel to the brightness value corresponding to the target pixel is used as the sub-pixel ratio; The ratio of the load value of the target sub-pixel to the load value corresponding to the target pixel is used as the sub-pixel proportion; The ratio of the actual current value of the target sub-pixel to the actual current value corresponding to the target pixel is used as the sub-pixel ratio.

7. The method according to claim 1, characterized in that The step of determining the average screen load value of the entire screen comprises: Get the screen resolution and the current value of each sub-pixel; Determining a total screen load value according to the current value of the sub-pixel; The average screen load value of the entire screen is determined according to the total screen load value and the screen resolution.

8. The method according to claim 1, characterized in that The step of determining the average screen load value of the entire screen includes any one of the following: Obtaining an average screen grayscale value, and determining the average screen load value of the entire screen according to a preset mapping relationship between the average screen grayscale value and the average screen load value; The grayscale values ​​of all sub-pixels are obtained, the load values ​​of all the sub-pixels are determined according to a preset mapping relationship between the grayscale value and the load value, and the load values ​​of all the sub-pixels are averaged to obtain the average load value of the screen.

9. A pixel compensation device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the pixel compensation method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the pixel compensation method according to any one of claims 1 to 8 are implemented.