A pixel compensation method, device and electronic equipment
By constructing lookup tables to compensate for the static and dynamic voltage drops of AMOLED displays, the problem of inaccurate brightness in existing technologies is solved, achieving high-precision pixel compensation and stable display effects while reducing hardware costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-15
- Publication Date
- 2026-03-20
AI Technical Summary
In existing technologies, the pixel compensation methods for AMOLED displays cannot effectively compensate for both static and dynamic IR drop simultaneously, resulting in inaccurate display brightness and limited compensation accuracy.
By constructing a first lookup table and a second lookup table, static compensation coefficients and dynamic compensation coefficients are obtained respectively, and the static voltage drop and dynamic voltage drop of the target pixel are accurately compensated, thereby improving the pixel compensation accuracy.
It achieves precise pixel brightness compensation for AMOLED displays, ensuring stable brightness and maintaining a constant gamma curve when image content changes, thereby reducing hardware computational complexity and cost.
Smart Images

Figure CN115605941B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a pixel compensation method and device and electronic equipment. BACKGROUND
[0002] An active matrix organic light emitting diode (AMOLED) display screen uses a pixel circuit composed of two or more thin film transistors (TFTs) to drive a light emitting device (for example, an organic light emitting diode (OLED)) in a pixel to realize display function. Generally, when the pixel is addressed by a scanning line, a data voltage (V Data ) drives a transistor to generate a current (Idata) flowing through the OLED in the pixel, so that the pixel emits light.
[0003] The pixel has a static voltage drop (IR dorp) and a dynamic voltage drop IR drop in the light emitting process. The static IR dorp is caused by different internal wiring resistances of different lengths when Idata flows through internal wiring of the display screen. The static IR dorp causes the display brightness of the pixel on the image of the display screen to fail to reach the standard brightness corresponding to the pixel value. The dynamic voltage drop is the influence on the display brightness of the pixel in the region that does not change when the image content of the display screen changes.
[0004] In the prior art, the compensation of the pixel only considers the compensation of the static IR dorp. Alternatively, a compensation voltage is calculated by constructing an expected current lookup table of the pixel position, or a compensation coefficient is calculated pixel by pixel by calculating the load of the display screen and the maximum voltage drop of the pixel, so as to compensate the static IR dorp and the dynamic IR drop together, and the compensation accuracy is limited. SUMMARY
[0005] The present application provides a pixel compensation method, device and electronic equipment, which can improve the accuracy of pixel compensation.
[0006] In a first aspect, the embodiments of the present application provide a pixel compensation method. The pixel compensation method is applied to a pixel compensation device, which can be an electronic device itself or a chip or functional entity arranged in the electronic device. The pixel compensation method comprises the following steps: first, obtaining a position coordinate of a target pixel in a current image displayed by a display screen and an initial pixel value of the target pixel; according to the position information of the target pixel and the initial pixel value of the target pixel, searching for a static compensation coefficient in a first lookup table, generating a first pixel value by compensating a static IR drop of the target pixel through the static compensation coefficient, the first lookup table containing a corresponding relationship between position information of a pixel and a pixel value of the pixel and the static compensation coefficient; then, according to the first pixel value, querying a dynamic compensation coefficient in a second lookup table, wherein the second lookup table contains a corresponding relationship between a pixel value of a pixel and the dynamic compensation coefficient; finally, generating a compensated pixel value of the target pixel by compensating a dynamic IR drop of the target pixel through the dynamic compensation coefficient.
[0007] In this way, the pixel compensation device first obtains the position coordinate of the target pixel in the current image displayed by the display screen and the initial pixel value of the target pixel, then according to the position information of the target pixel and the initial pixel value of the target pixel, searches for the static compensation coefficient in the first lookup table, finally generates the first pixel value by compensating the static IR drop of the target pixel through the static compensation coefficient, and completes the compensation of the static IR drop of the target pixel; then, according to the first pixel value, queries the dynamic compensation coefficient in the second lookup table, finally generates the compensated pixel value of the target pixel by compensating the dynamic IR drop of the target pixel through the dynamic compensation coefficient, and completes the compensation of the dynamic IR drop of the target pixel. In the prior art, if only the static IR drop is considered, the dynamic IR drop cannot be compensated, and if the static IR drop and the dynamic IR drop are compensated through one compensation voltage or one compensation coefficient, the load of the image on the display screen will change after the static compensation process, and the accuracy of the pixel compensation cannot be guaranteed. In the above process provided by the present application, the static compensation coefficient is determined through the first lookup table, the dynamic compensation coefficient is determined through the second lookup table, then the static IR drop is compensated based on the static compensation coefficient, and the dynamic IR drop is compensated based on the dynamic compensation coefficient, respectively, and the accuracy of the pixel compensation is improved.
[0008] In a possible design, since the dynamic IR drop mainly manifests as an impact on the display brightness of pixels in regions that do not change when the image content of the display screen changes, compensation for the dynamic IR drop mainly considers the relationship between the brightness of a background region of a current image and the brightness of a target pixel. Therefore, before the dynamic compensation coefficient is queried in the second lookup table according to the first pixel value, the method further includes: obtaining a first average load of a background region of the current image and a load of the target pixel, where the background region of the current image is a region of the current image other than the target pixel, and the first average load is an average value of the loads of pixels in the background region of the current image; and querying the dynamic compensation coefficient in the second lookup table according to the first pixel value, including: querying the dynamic compensation coefficient in the second lookup table according to the first pixel value, the first average load, and the load of the target pixel, where the second lookup table contains a corresponding relationship between a pixel value of a pixel, a first average load, and a load of a target pixel and a dynamic compensation coefficient.
[0009] In a possible design, in the field of display technology, a pixel usually contains one or more sub-pixels, for example, when a pixel contains three sub-pixels, the current image is a three-channel image; when a pixel contains four sub-pixels, the current image is a four-channel image; of course, in an actual solution, a target pixel can contain one or more sub-pixels. For example, when a target pixel includes a first sub-pixel and a second sub-pixel, the initial pixel value includes a pixel value of the first sub-pixel and a pixel value of the second sub-pixel; and the static compensation coefficient is queried in the first lookup table according to the position information of the target pixel and the initial pixel value of the target pixel, including: querying a static compensation coefficient of the first sub-pixel in the first lookup table according to the position information of the target pixel and the pixel value of the first sub-pixel of the target pixel; and querying a static compensation coefficient of the second sub-pixel in the first lookup table according to the position information of the target pixel and the pixel value of the second sub-pixel of the target pixel.
[0010] In a possible design, a specific method for obtaining the correspondence between the pixel value of a pixel and the load is further provided. For example, obtaining the first average load of a background region of a current image and the load of a target pixel includes: obtaining the load of a first pixel in the background region according to the pixel value of the first pixel in the third lookup table, the first pixel being any pixel in the background region; and obtaining the load of the target pixel according to the pixel value of the target pixel in the third lookup table; wherein the third lookup table contains the correspondence between the pixel value of a pixel and the load. The pixel includes at least one sub-pixel; the specific method for obtaining the correspondence between the pixel value of a pixel and the load includes: fixing the ratio between the pixel values of the at least one sub-pixel of the pixel as a preset conversion ratio, wherein when the ratio between the pixel values of the at least one sub-pixel of the pixel is the preset conversion ratio, the pixel values of the sub-pixels of the pixel correspond to the same load; and adjusting the pixel values of the sub-pixels of the pixel to obtain the correspondence between the pixel values of the sub-pixels of the pixel and the load.
[0011] In a possible design, the target pixel includes at least one sub-pixel, and before the static compensation coefficient is looked up in the first lookup table according to the position information of the target pixel and the initial pixel value of the target pixel, the method further includes: obtaining the position information of any pixel in a first feature image, the first feature image being a single-channel image including only one kind of sub-pixel, and the pixel values of all pixels in the first feature image being the same; obtaining the standard brightness of any pixel and the display brightness of any pixel on the display screen; calculating a gamma value according to the pixel value and the display brightness of any pixel; calculating a first compensation pixel value according to the gamma value and the standard brightness; generating a static compensation coefficient of any pixel according to the first compensation pixel value and the pixel value of any pixel; and writing the position information of any pixel, the pixel value of any pixel, and the static compensation coefficient of any pixel into the first lookup table correspondingly.
[0012] The gamma value is calculated according to the pixel value and the display brightness of any pixel, including: calculating the gamma value according to the following formula: (gray1 / 255)^ gamma Lv255=Lva; wherein Lva is the display brightness, the gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; the first compensation pixel value is calculated according to the gamma value and the standard brightness, including: calculating the first compensation pixel value according to the following formula: (gray2 / 255)^ gamma Lv255=Lvb; wherein Lvb is the standard brightness, gray2 is the first compensation pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
[0013] Thus, the first lookup table contains the correspondence between the position information of the pixel and the pixel value of the pixel and the static compensation coefficient. For example, when the pixel contains sub-pixels RGB, the first lookup table can contain three lookup tables about sub-pixels R, G and B respectively. For example, for sub-pixel R, the first lookup table contains the correspondence between the position information of the pixel and the pixel value of the sub-pixel R of the pixel and the static compensation coefficient; for sub-pixel G, the first lookup table contains the correspondence between the position information of the pixel and the pixel value of the sub-pixel G of the pixel and the static compensation coefficient; for sub-pixel B, the first lookup table contains the correspondence between the position information of the pixel and the pixel value of the sub-pixel B of the pixel and the static compensation coefficient. Thus, since the conversion between the pixel value of the pixel and the brightness occurs twice in the process of forming the static compensation coefficient, the gamma value is calculated by the display brightness and the pixel value in the first conversion, and the compensated pixel value is obtained according to the standard brightness by using the same gamma value as that in the last conversion in the second conversion. Thus, when the pixel is displayed on the display screen according to the compensated pixel value, the brightness is the standard brightness, so that the static voltage drop is compensated and the original gamma curve of the display screen is ensured, thereby ensuring the accuracy of the pixel compensation. In addition, the calculation of the static compensation coefficient only needs to be generated by calculating the first characteristic image of different pixels, and the calculation complexity is low, which is conducive to reducing the hardware cost.
[0014] In a possible design, the target pixel includes at least one sub-pixel, and the dynamic compensation coefficient is queried in the second lookup table according to the first pixel value and the load of the target pixel and the first average load, and the foregoing includes: obtaining a second average load of a background region of a second characteristic image displayed on the display screen and a third average load of a target region in the second characteristic image; the target region in the second characteristic image is a single-channel image including only one kind of sub-pixel, and the pixel values of all pixels in the background region of the second characteristic image are the same; the second average load is an average value of the loads of the pixels in the background region of the second characteristic image, and the third average load is an average value of the loads of the pixels in the target region of the second characteristic image; obtaining a pixel value of any pixel in the target region of the second characteristic image; obtaining a standard brightness of the pixel value of any pixel and a display brightness of any pixel on the display screen; calculating a gamma value according to the pixel value of any pixel and the display brightness; calculating a second compensated pixel value according to the gamma value and the standard brightness; generating the dynamic compensation coefficient of any pixel according to the second compensated pixel value and the pixel value of any pixel; and writing the second average load, the third average load, the pixel value of any pixel and the dynamic compensation coefficient of any pixel into the second lookup table correspondingly.
[0015] In a possible design, the gamma value is calculated according to the pixel value of any pixel and the display brightness, and the calculation includes: calculating the gamma value according to the following formula: (gray1 / 255)^ gammaLv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; calculating the second compensation pixel value according to the gamma value and the standard brightness, including: calculating the second compensation pixel value according to the following formula: (gray3 / 255)^ gamma Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; calculating the second compensation pixel value according to the gamma value and the standard brightness, including: calculating the second compensation pixel value according to the following formula: (gray3 / 255)^
[0016] Thus, the second lookup table contains the corresponding relationship of the second average load, the third average load, the pixel value of any pixel in the target area, and the dynamic compensation coefficient. When the pixel contains sub-pixels RGB, the second lookup table can contain three lookup tables about sub-pixels R, G, and B, respectively. For example, the second lookup table for sub-pixel R contains the pixel value R of sub-pixel R, the corresponding relationship of the second average load and the third average load of sub-pixel R, and the dynamic compensation coefficient. The principle for sub-pixel G and sub-pixel R is the same and is not described here. Thus, because there are two conversions of the pixel value and the brightness in the process of forming the dynamic compensation coefficient, the gamma value is calculated by the display brightness and the pixel value in the first conversion, and the compensated pixel value is obtained according to the standard brightness using the same gamma value as in the first conversion in the second conversion. Thus, when the pixel is displayed on the display screen according to the compensated pixel value, the brightness is the standard brightness, which compensates for the dynamic voltage drop and does not change the gamma value, thereby ensuring the original gamma curve of the display screen and ensuring the accuracy of pixel compensation. In addition, the calculation of the dynamic compensation coefficient only needs to generate the second characteristic image of different pixel values, which has low calculation complexity and is conducive to reducing the hardware cost.
[0017] In a second aspect, a pixel compensation device is provided for implementing the various methods described above. The pixel compensation device includes modules, units, or means for implementing the corresponding methods described above, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the functions described above.
[0018] In a third aspect, a pixel compensation device is provided, including a processor and a memory; the memory is used to store computer instructions, when the processor executes the instructions, to make the pixel compensation device execute the method of any of the aspects described above.
[0019] In a fourth aspect, a pixel compensation device is provided, including a processor and a transmission interface; the processor is configured to call program instructions stored in the memory to execute the method of any of the aspects described above.
[0020] In a possible design, the pixel compensation apparatus further includes a memory configured to store necessary program instructions and data. When the pixel compensation apparatus is a chip system, the chip system can be formed by a chip or can include the chip and other discrete devices.
[0021] In a fifth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores program instructions. When the program instructions are executed on a computer or a processor, the computer or the processor can execute the method in any of the aspects above.
[0022] In a sixth aspect, a computer program product is provided, and the computer program product includes instructions. When the instructions are executed on a computer or a processor, the computer or the processor can execute the method in any of the aspects above.
[0023] In a seventh aspect, an electronic device is provided, and the electronic device includes the pixel compensation apparatus.
[0024] The technical effects brought by any of the designs in the second aspect to the seventh aspect can refer to the technical effects brought by the different designs in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 A structural schematic diagram of an electronic device provided for an embodiment of the present application is shown in FIG. 1;
[0026] Figure 2 A structural schematic diagram of a display screen provided for an embodiment of the present application is shown in FIG. 2;
[0027] Figure 3 A pixel circuit structural schematic diagram provided for an embodiment of the present application is shown in FIG. 3;
[0028] Figure 4 A pixel circuit structural schematic diagram provided for another embodiment of the present application is shown in FIG. 4;
[0029] Figure 5 An image schematic diagram of a black background provided for an embodiment of the present application is shown in FIG. 5;
[0030] Figure 6 An image schematic diagram of a white background provided for an embodiment of the present application is shown in FIG. 6;
[0031] Figure 7 A flowchart of a pixel compensation method provided for an embodiment of the present application is shown in FIG. 7;
[0032] Figure 8 A schematic diagram of a first lookup table provided for an embodiment of the present application is shown in FIG. 8;
[0033] Figure 9A schematic diagram of a first lookup table provided for another embodiment of the present application;
[0034] Figure 10 A schematic diagram of a feature map provided for an embodiment of the present application;
[0035] Figure 11 A schematic diagram of a feature map provided for another embodiment of the present application;
[0036] Figure 12 A schematic diagram of a feature map provided for yet another embodiment of the present application;
[0037] Figure 13 A schematic diagram of a second lookup table provided for an embodiment of the present application;
[0038] Figure 14 A schematic diagram of a second lookup table provided for another embodiment of the present application;
[0039] Figure 15 A schematic diagram of a first feature map provided for an embodiment of the present application;
[0040] Figure 16 A schematic diagram of a first feature map provided for another embodiment of the present application;
[0041] Figure 17 A schematic diagram of a first feature map provided for yet another embodiment of the present application;
[0042] Figure 18 A schematic diagram of a second feature map provided for an embodiment of the present application;
[0043] Figure 19 A schematic diagram of a second feature map provided for another embodiment of the present application;
[0044] Figure 20 A schematic diagram of a second feature map provided for yet another embodiment of the present application;
[0045] Figure 21 A schematic diagram of a pixel compensation device provided for an embodiment of the present application;
[0046] Figure 22 A schematic diagram of a pixel compensation device provided for another embodiment of the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application.
[0048] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems. Hereinafter, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0049] First, some concepts involved in the pixel compensation method and apparatus provided in the embodiments of this application will be explained.
[0050] Pixel value: Represents the average brightness information or average reflectance (transmission) density information of the smallest unit in an image. Pixel value can also be expressed as grayscale.
[0051] Standard brightness: refers to the brightness corresponding to the current pixel value calculated according to Grassmann's law. For example, taking a pixel containing three sub-pixels (RGB), according to Grassmann's fourth law, the intensity of mixed light is the sum of the intensities of each component. Therefore, the following formula applies:
[0052] Wherein, the standard brightness of sub-pixel R is Y r The standard brightness of sub-pixel G is Y. g The standard brightness of sub-pixel B is Y. b For a pixel whose current pixel value is RGB, the standard brightness of each sub-pixel can be calculated based on the above formula, where x and y represent color coordinates, x... r y r This represents the chromaticity information of sub-pixel R at the x and y color coordinates, where x... g y g This represents the chromaticity information of sub-pixel G at x and y color coordinates, where x b y b This represents the chromaticity information of sub-pixel B at the x and y color coordinates, where W is white, and x...W , y W represents the chrominance information of W in x, y color coordinates, and the standard brightness of W is Y W ; in this way, a three-channel picture with all pixel values being RGB can be made according to the current pixel value RGB of the pixel, and a picture of white color W can be made, and then the aforementioned color coordinates x r , y r , x g , y g , x b , y b , x W , y W and Y W are substituted into the above formula to calculate Y r , Y g , Y b .
[0053] Display brightness: the brightness measured by a measuring device when the current pixel value is displayed on the screen.
[0054] Embodiments of the present application provide a pixel compensation method and device, which can be applied to an electronic device with a display screen. The electronic device with a display screen can be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a vehicle-mounted mobile device, etc.
[0055] Figure 1 An exemplary device architecture diagram is provided for embodiments of the present application. As shown in FIG. 1, the device 01 includes a processor 11, a radio frequency (RF) circuit 12, a power supply 13, a memory 14, an input unit 15, a display unit 16, an audio circuit 17, etc. Those skilled in the art can understand that the structure of the device shown in FIG. 1 does not constitute a limitation on the device, and the device can include more or fewer components than those shown in FIG. 1, or can combine some of the components shown in FIG. 1, or can be arranged differently from the components shown in FIG. 1. Figure 1 Figure 1 Figure 1 Figure 1 Figure 1
[0056] The processor 11 is the control center of the device, which connects each part of the device through various interfaces and lines, performs various functions of the device and processes data by running or executing software programs and / or modules stored in the memory 14 and calling data stored in the memory 14, thereby overall monitoring the device. Optionally, the processor 11 can include one or more processing units; preferably, the processor 11 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 11.
[0057] The RF circuit 12 can be used for receiving and sending signals in the process of information or communication, especially receiving the downlink information of the base station for the processor 11 to process, and sending the uplink data to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 12 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
[0058] The device includes a power supply 13 (such as a battery) for supplying power to each component. Optionally, the power supply can be logically connected to the processor 11 through a power management system, so as to realize the functions of managing charging, discharging and power consumption management through the power management system.
[0059] The memory 14 can be used to store software programs and modules. The processor 11 executes various functional applications and data processing of the device by running the software programs and modules stored in the memory 14. The memory 14 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, image data, phonebook, etc.). In addition, the memory 14 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0060] The input unit 15 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the device. Specifically, the input unit 15 may include a touch screen 151 and other input devices 152. The touch screen 151, also known as a touch panel, can collect touch operations performed by the user on or near the touch screen (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch screen 151), and drive the corresponding connected devices according to a pre-set program. Optionally, the touch screen 151 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 11, and can receive and execute commands sent by the processor 11. In addition, the touch screen 151 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Other input devices 152 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackball, mouse, joystick, etc.
[0061] The display unit 16 can be used to display information input by the user or information provided to the user, as well as various menus of the device. The display unit 16 may include a display panel 161, which, in this application, may be configured using an AMOLED display. Furthermore, a touchscreen 151 may cover the display panel 161. When the touchscreen 151 detects a touch operation on or near the touchscreen 151, it transmits the information to the processor 11 to determine the type of touch event. Subsequently, the processor 11 provides corresponding visual output on the display panel 161 based on the type of touch event. Although in Figure 1 In this embodiment, the touch screen 151 and the display panel 161 are two separate components to realize the input and output functions of the device. However, in some embodiments, the touch screen 151 and the display panel 161 can be integrated to realize the input and output functions of the device.
[0062] Audio circuit 17, speaker 171, and microphone 172 provide an audio interface between the user and the device. Audio circuit 17 converts received audio data into electrical signals and transmits them to speaker 171, where speaker 171 converts them into sound signals for output. On the other hand, microphone 172 converts collected sound signals into electrical signals, which are then received by audio circuit 17, converted into audio data, and output to RF circuit 12 for transmission to, for example, another device, or to memory 14 for further processing.
[0063] Optional, such as Figure 1 The device shown can also include various sensors, such as gyroscope sensors, hygrometer sensors, infrared sensors, magnetometer sensors, etc., which will not be elaborated here. Optional, such as Figure 1 The device shown may also include a wireless fidelity (WiFi) module, a Bluetooth module, etc., which will not be described in detail here.
[0064] It is understood that in the embodiments of this application, electronic devices (such as those described above) Figure 1 The apparatus shown can perform some or all of the steps in the embodiments of this application. These steps or operations are merely examples, and the embodiments of this application can also perform other operations or variations thereof. Furthermore, the steps can be performed in different orders as presented in the embodiments of this application, and it is not necessary to perform all the operations in the embodiments of this application. The embodiments of this application can be implemented individually or in any combination, and this application does not limit this.
[0065] In AMOLED displays, pixel circuits composed of two or more TFTs typically drive the light-emitting devices (e.g., OLEDs) within the pixels to achieve the display function. For example... Figure 2 As shown, the display screen 10 includes an active display area (AA) 100 and a non-display area 101 surrounding the AA 100. The AA 100 includes a plurality of pixels 21. For ease of explanation, the plurality of pixels 21 are described in this application as an example of being arranged in a matrix.
[0066] It should be noted that, in the embodiments of this application, Figure 2 Pixels 21 arranged in a row along the horizontal direction X are called pixels in the same row, and pixels 21 arranged in a row along the vertical direction Y are called pixels in the same column.
[0067] In the embodiments of this application, the display screen 10 is an OLED display screen. This OLED display screen is capable of self-illumination. In this case, within the pixel 21 of the AA area 100, there are as follows...Figure 3 The OLED device shown includes a pixel circuit 201 for driving the OLED device to emit light.
[0068] Furthermore, the aforementioned device may also include a display driving circuit for driving the display screen 10 to display, and this display driving circuit may be coupled to the display screen 10. For example, the display driving circuit may be a display driver integrated circuit (DDIC). In some embodiments of this application, such as... Figure 2 As shown, DDIC 20 is disposed in the non-display area 101 of display screen 10. Pixel circuits 201 in the same column of pixels 21 are coupled to DDIC 20 via the same dataline (DL). In some other embodiments of this application, DDIC 20 may also be disposed independently of display screen 10. The device 01 also includes a printed circuit board (PCB) and a system on chip (SoC) mounted on the PCB. The SoC may contain an application processor (AP), which can be... Figure 1 The processor 11 in the middle. Figure 2 The DDIC 20 is coupled to the SoC via a flexible printed circuit (FPC).
[0069] In this way, the display data output by the SoC, after passing through DDIC20, is converted into a data voltage Vdata and transmitted to the pixel circuit 201 of each pixel 21 coupled to each data line DL. Next, each pixel circuit 201 generates a driving current I matching the data voltage Vdata on the data line DL to drive the OLED device in the pixel 21 to emit light. Specifically, as... Figure 4 The diagram illustrates a pixel circuit including a switching transistor M1 and a driving transistor M2. The gate (g) of M1 is coupled to the scan line SCAN, the source (s) of M1 is coupled to the data line DL, the drain of M1 is coupled to the gate (g) of M2, the source of M2 is coupled to the power supply line VDD, the drain of M2 is coupled to the ground line VEE via the OLED, and a capacitor Cst is coupled between the source (s) and the gate (g) of M2. Thus, typically when a pixel is addressed by the scan line SCAN, the data voltage (VDD)... Data) through the OLED, the drive transistor generates a current (Idata) to flow through the OLED to emit light. The above is described by taking the P-type drive transistor as an example. When the N-type drive transistor is used, in order to ensure that the source voltage of the drive transistor is stable to avoid the problem of floating ground of the source voltage, thereby affecting the gate-source (gs) voltage of the drive transistor to be unstable, the source s of the drive transistor is usually coupled with VEE, and the OLED is coupled between VDD and the drain d of the drive transistor. Figure 4 Only an example of a pixel circuit is described, and those skilled in the art can also replace the pixel circuit shown in the figure with other forms of pixel circuits. Figure 4 Only an example of a pixel circuit is described, and those skilled in the art can also replace the pixel circuit shown in the figure with other forms of pixel circuits.
[0070] The pixel circuit 201, the OLED device, and the data line DL in each pixel 21 in the display screen 10 can be made on a substrate. The substrate can be made of a flexible resin material. In this case, the OLED display screen can be a folding display screen. Alternatively, the substrate in the above OLED display screen can also be made of a material with a relatively hard texture, such as glass. In this case, the above OLED display screen is a hard display screen.
[0071] Since the current corresponding to different brightness is different during the OLED light emitting process, and the current flows through the internal wiring of the panel, the drain (d) voltage of the drive transistor will produce a voltage drop ΔV, and thus the driving current size is I Data = K * (V Data -V S -ΔV-V th ) 2 , wherein K is a constant coefficient determined by the drive transistor M2 coupled with the OLED, which is usually related to the physical size, material, etc. of the drive transistor M2, V S is the source s voltage of the drive transistor M2, and V th is the threshold voltage of the drive transistor. Since the internal wiring resistance of different lengths is different when Idata flows through the internal wiring of the display screen, the voltage drop ΔV produced by the drain of the drive transistor at each pixel position is also different, a static IR drop (voltage drop, wherein I represents the current flowing through the line, R represents the resistance of the line, and IR represents the voltage) is generated, thereby causing the display screen brightness to change, which is reflected on the image as the display brightness cannot reach the standard brightness corresponding to the pixel value of the pixel. In addition, the current flowing in the circuit is proportional to the display brightness of the display screen, so when part of the display content in the display screen changes (for example, the black background (as shown in Figure 5 ) in an image changes to a white background (as shown in Figure 6As shown in the above formula, when the display brightness of the entire display screen changes, the current flowing through the circuit also changes, and the voltage drop caused by the current affected by the resistance also changes, and the change in the voltage drop causes the current to change when the electronic device supplies a constant voltage to the display screen, thereby affecting the display brightness of the pixels in the unchanged part of the display screen (for example, the display brightness of the image part other than the image background), which is dynamic IR drop, mainly manifested as the influence on the display brightness of the pixels in the unchanged area when the image content of the display screen changes.
[0072] In the prior art, compensation of the pixels usually only considers static IR drop; or a compensation voltage is calculated by constructing an expected current lookup table of the pixel position, or a compensation coefficient is calculated pixel by pixel by calculating the display screen load and the maximum voltage drop of the pixel, so as to compensate the static IR drop and the dynamic IR drop together, and the compensation accuracy is limited.
[0073] To solve the above problems, the pixel compensation method and device provided in the embodiments of the present application are provided, and the device executing the pixel compensation method is referred to as a pixel compensation device, that is, the execution subject in the following method flow is the pixel compensation device. It should be noted that the pixel compensation device can be an electronic device (for example, a mobile phone) having a display screen, in which case the display screen is the display screen of the pixel compensation device; the pixel compensation device can also be other devices having an image processing function, which is not limited in the embodiments of the present application. In the pixel compensation method, the static IR drop and the dynamic IR drop are compensated respectively, which improves the accuracy of the pixel compensation; if only the static IR drop is considered, the dynamic IR drop cannot be compensated; if the static IR drop and the dynamic IR drop are compensated together by one compensation voltage or one compensation coefficient, the load of the image on the display screen will change after the static compensation process, and the accuracy of the pixel compensation cannot be guaranteed in general.
[0074] As shown in the above formula, when the display brightness of the entire display screen changes, the current flowing through the circuit also changes, and the voltage drop caused by the current affected by the resistance also changes, and the change in the voltage drop causes the current to change when the electronic device supplies a constant voltage to the display screen, thereby affecting the display brightness of the pixels in the unchanged part of the display screen (for example, the display brightness of the image part other than the image background), which is dynamic IR drop, mainly manifested as the influence on the display brightness of the pixels in the unchanged area when the image content of the display screen changes. Figure 7 As shown in the above formula, when the display brightness of the entire display screen changes, the current flowing through the circuit also changes, and the voltage drop caused by the current affected by the resistance also changes, and the change in the voltage drop causes the current to change when the electronic device supplies a constant voltage to the display screen, thereby affecting the display brightness of the pixels in the unchanged part of the display screen (for example, the display brightness of the image part other than the image background), which is dynamic IR drop, mainly manifested as the influence on the display brightness of the pixels in the unchanged area when the image content of the display screen changes.
[0075] 101、obtaining the position coordinates of the target pixel in the current image displayed by the display screen and the initial pixel value of the target pixel. In step 101, the position coordinates can be pixel coordinates representing the position of the pixel in the current image, which can be the row and column where the pixel is located, for example, X represents the column and Y represents the row, so (X, Y) can represent the position information of any pixel in the current image.
[0076] It should be noted that in some embodiments of the embodiments of the present application, the pixel contains one or more sub-pixels, for example, when the pixel contains three sub-pixels, the current image is a three-channel image, for example: when the three sub-pixels of the pixel use RGB three primary colors, the colors of the sub-pixels are red (red, R), green (green, G) and blue (blue, B) respectively, then the pixel value of the sub-pixel can represent the gray scale of the R or G or B sub-pixel, and the RGB image is a three-channel image, and for example, the RGGB image is a four-channel image. Alternatively, in other embodiments, the colors of the sub-pixels are cyan (cyan, C), magenta (magenta, M) and yellow (yellow, Y) respectively. In some embodiments, a pixel can also include more than three primary colors, for example, according to the characteristic that the human eye is most sensitive to green, two green primary colors of olive green and emerald green are introduced. The present application does not limit this.
[0077] 102. According to the position information of the target pixel and the initial pixel value of the target pixel, a static compensation coefficient is found in a first lookup table, and the static voltage drop IR drop of the target pixel is compensated by the static compensation coefficient to generate a first pixel value.
[0078] Wherein, the first pixel value generated by compensating the static voltage drop IR drop of the target pixel by the static compensation coefficient can be multiplying the initial pixel value of the target pixel by the static compensation coefficient to generate the first pixel value. Of course, this is only an example, and the form of the static compensation coefficient needs to be considered specifically, and other operation methods can also be used to operate the static compensation coefficient and the initial pixel value of the target pixel to generate the first pixel value. For example, if the static compensation coefficient is a pixel value, the pixel value can be directly used as the first pixel value; or the static compensation coefficient is a difference value, and the initial pixel value can be directly added to the difference value as the first pixel value.
[0079] Wherein, the first lookup table is also called a static look-up-table (static LUT) and contains the position information of the pixel and the corresponding relationship between the pixel value of the pixel and the static compensation coefficient, wherein the static compensation coefficient is used to compensate the voltage drop of the pixel caused by the line transmission on the display screen, wherein the above Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 describes that the voltage drop of the pixel caused by the line transmission on the display screen is the static IR drop. Therefore, when the position information of the pixel and the initial pixel value of the pixel are input into the first lookup table, the corresponding static compensation coefficient can be found.
[0080] As described above, a pixel contains one or more sub-pixels. When the target pixel includes a first sub-pixel and a second sub-pixel, the initial pixel value includes the pixel value of the first sub-pixel and the pixel value of the second sub-pixel. In step 102, the static compensation coefficient is searched in the first lookup table based on the position information of the target pixel and the initial pixel value of the target pixel. This includes: searching for the static compensation coefficient of the first sub-pixel in the first lookup table based on the position information of the target pixel and the pixel value of the first sub-pixel of the target pixel; and searching for the static compensation coefficient of the second sub-pixel in the first lookup table based on the position information of the target pixel and the pixel value of the second sub-pixel of the target pixel.
[0081] Taking a pixel containing three sub-pixels RGB as an example, such as Figure 8 As shown, when the pixel's position information (e.g., pixel coordinates (X, Y)) and the initial pixel value R||G||B are input into a static LUT, the output is the static compensation coefficients of sub-pixel R, G, and B. Here, "a||b" represents either a or b. Compensating for the static IR drop of sub-pixel R based on its static compensation coefficients, compensating for the static IR drop of sub-pixel G based on its static compensation coefficients, and compensating for the static IR drop of sub-pixel B based on its static compensation coefficients, we can obtain the first pixel values R', G', and B'. Alternatively, the first lookup table can be split into three lookup tables, such as... Figure 9 As shown, the first lookup table can contain three static display lookup tables for sub-pixels R, G, and B respectively. For example, for sub-pixel R, the R static LUT contains the correspondence between the pixel position information and the pixel value and static compensation coefficient of sub-pixel R; for sub-pixel G, the G static LUT contains the correspondence between the pixel position information and the pixel value and static compensation coefficient of sub-pixel G; and for sub-pixel B, the B static LUT contains the correspondence between the pixel position information and the pixel value and static compensation coefficient of sub-pixel B.
[0082] 103. Based on the first pixel value, look up the dynamic compensation coefficient in the second lookup table, where the second lookup table contains the correspondence between the pixel value of the pixel and the dynamic compensation coefficient.
[0083] Since the dynamic IR drop mainly manifests as the influence on the display brightness of the pixels in the region which does not change when the image content of the display screen changes, the compensation of the dynamic IR drop mainly considers the relationship between the display brightness of the background region of the current image and the brightness of the target pixel. Therefore, before step 103, there is further included: obtaining the first average loading of the background region of the current image and the loading of the target pixel. Step 103 specifically includes: querying the dynamic compensation coefficient in the second lookup table according to the first pixel value, the first average loading and the loading of the target pixel, wherein the second lookup table contains the corresponding relationship between the pixel value, the first average loading and the loading of the target pixel of the pixel and the dynamic compensation coefficient.
[0084] Wherein, the background region of the current image is the region other than the target pixel in the current image, and the first average loading is the average value of the loadings of the pixels in the background region of the current image. Here, the loading refers to the current or voltage consumed in the circuit of the display screen to convert the electrical energy into other forms of energy such as light.
[0085] Wherein, the first average loading and the loading of the target pixel are obtained in the following manner: querying the third lookup table according to the pixel value of the first pixel in the background region to obtain the loading of the first pixel in the background region, the first pixel being any pixel in the background region; querying the third lookup table according to the pixel value of the target pixel to obtain the loading of the target pixel; wherein the third lookup table contains the corresponding relationship between the pixel value and the loading of the pixel. The corresponding relationship between the pixel value and the loading of the pixel in the third lookup table is obtained in the following manner: when the pixel contains at least one sub-pixel; fixing the ratio between the pixel values of the at least one sub-pixel of the pixel as a preset conversion ratio, wherein when the ratio between the pixel values of the at least one sub-pixel of the pixel is the preset conversion ratio, the loadings corresponding to the pixel values of each sub-pixel of the pixel are the same; adjusting the pixel values of each sub-pixel of the pixel to obtain the corresponding relationship between the pixel values and the loadings of each sub-pixel of the pixel.
[0086] For example, the pixel contains three sub-pixels RGB, of course, the pixel can contain three sub-pixels or more sub-pixels, such as four sub-pixels or five sub-pixels, and the above-mentioned manner of obtaining the preset conversion ratio can refer to the following manner: first, a feature image is made, which includes a background region and two color blocks of the same size surrounded by the background region, as shown in Figure 10 , Figure 11 , Figure 12 illustrated, wherein the background region is black, i.e. the gray values of the sub-pixels of each channel of the three sub-pixels RGB are all 0; one color block is R (as Figure 10 illustrated) or G (as Figure 11 illustrated) or B (as Figure 12The R color block, the G color block and the B color block are single-channel images (as shown in the figure) of a pure color block, i.e., the color block is a single-channel image including only one sub-pixel R or G or B; and the other color block is a mixed color block (a white color block), i.e., the gray values of the sub-pixels of the three sub-pixel channels RGB are mixed to be white. In this way, when the loadings of the mixed color blocks are equal, the loadings of the R color block, the G color block and the B color block are also equal, and the ratio between the pixel values of the sub-pixels, i.e., the preset conversion ratio, is obtained. Under the preset conversion ratio, the loadings of the mixed color blocks under different pixel values are obtained by adjusting the pixel values of the R color block, the G color block and the B color block, and finally the average loading of the pixel is obtained by dividing the loading of the mixed color block by the resolution of the color block. Since the color block R, the color block G and the color block B are single-channel images of one sub-pixel, the relationship between the pixel value and the loading of the sub-pixel of the pixel is established, and then a 1D corresponding relationship gray-to-loading between the pixel value and the loading of the sub-pixel of the pixel is established. Then, when the step 103 is performed on the current image, the loading of each sub-pixel of the current pixel can be obtained by looking up the corresponding relationship, and the average value of the loading of the pixel in the arbitrary region on the current image can be directly obtained by accumulating the loadings of all the pixels in the arbitrary region and dividing the resolution of the arbitrary region. This part provides a way to obtain the corresponding relationship between the pixel value and the loading of the sub-pixel of the pixel through a simple experiment. Of course, in actual applications, those skilled in the art can also obtain the corresponding relationship gray-to-loading between the pixel value and the loading of each sub-pixel of the pixel through other ways.
[0087] In addition, the second lookup table described above is also called a dynamic display lookup table (dynamic LUT) and includes a corresponding relationship between the pixel value of the pixel, the first average loading and the loading of the target pixel and the dynamic compensation coefficient. The dynamic compensation coefficient is used to compensate for the voltage drop of the target pixel caused by the change in the brightness of the background area outside the target region on the display screen. It should be noted that the first average loading can reflect the brightness of the background area, and the loading of the target pixel can reflect the brightness of the target pixel, so the relationship established by the second lookup table mainly reflects the voltage drop of the target pixel caused by the change in the brightness of the background area under a certain pixel value of the pixel. In combination with the description of the above Figure 5 、 Figure 6 , the voltage drop of the target pixel caused by the change in the brightness of the background area on the display screen is the dynamic IR drop. Therefore, when the first pixel value, the first average loading and the loading of the target pixel are input into the second lookup table, the corresponding dynamic compensation coefficient can be found.
[0088] For example, the pixel includes three sub-pixels RGB, as shown in Figure 13As shown, when the first pixel value R' || G' || B', the first average load of the background area of the current image corresponding to any sub-pixel and the load of the target pixel are input into the dynamic LUT, the output is the dynamic compensation coefficient of the sub-pixel R || the dynamic compensation coefficient of the sub-pixel G || the dynamic compensation coefficient of the sub-pixel B. According to the dynamic compensation coefficient of the sub-pixel R, the dynamic IR drop of the sub-pixel R is compensated, according to the dynamic compensation coefficient of the sub-pixel G, the dynamic IR drop of the sub-pixel G is compensated, and according to the dynamic compensation coefficient of the sub-pixel B, the dynamic IR drop of the sub-pixel B is compensated, so that the compensated pixel value can be obtained. Of course, the second lookup table can also be divided into three lookup tables, for example, Figure 14 As shown, the second lookup table can include three dynamic display lookup tables for sub-pixels R, G and B, for example, for sub-pixel R, the dynamic LUT of sub-pixel R includes the corresponding relationship between the pixel value R of sub-pixel R, the first average load corresponding to sub-pixel R and the load of sub-pixel R of the target pixel and the dynamic compensation coefficient. In addition, it can also include the dynamic LUT of sub-pixel G, the dynamic LUT of sub-pixel B, and the principle of the dynamic LUT of sub-pixel R is the same and will not be repeated.
[0089] 104. Compensate the dynamic IR drop of the target pixel by the dynamic compensation coefficient to generate the compensated pixel value of the target pixel. Wherein, the dynamic IR drop of the target pixel is compensated by the dynamic compensation coefficient to generate the compensated pixel value can be that the first pixel value is multiplied by the dynamic compensation coefficient to generate the compensated pixel value. Of course, this is only an example, and the form of the dynamic compensation coefficient needs to be considered specifically, and other operation methods can also be used to operate the dynamic compensation coefficient and the first pixel value to generate the compensated pixel value. For example, if the dynamic compensation coefficient is a pixel value, the pixel value can be directly used as the compensated pixel value. Or the dynamic compensation coefficient is a difference value, then the first pixel value can be directly added to the difference value as the compensated pixel value.
[0090] In the above scheme, the pixel compensation device first obtains the position coordinates of the target pixel and the initial pixel value of the target pixel in the current image displayed on the screen. Then, based on the position information and the initial pixel value of the target pixel, it looks up the static compensation coefficient in the first lookup table. Finally, it compensates for the static voltage drop IRdrop of the target pixel using the static compensation coefficient to generate the first pixel value, thus completing the compensation for the static voltage drop IRdrop of the target pixel. Then, based on the first pixel value, it looks up the dynamic compensation coefficient in the second lookup table. Finally, it compensates for the dynamic IRdrop of the target pixel using the dynamic compensation coefficient to generate the compensated pixel value of the target pixel, thus completing the compensation for the dynamic IRdrop of the target pixel. However, in the prior art, if only the static IRdrop is considered, the dynamic IRdrop cannot be compensated. If the static IRdrop and the dynamic IRdrop are compensated together using a compensation voltage or a compensation coefficient, the pixel compensation accuracy usually cannot be guaranteed because the load on the image on the screen changes after the static compensation process. In the process described above in this application, the static compensation coefficient is determined by a first lookup table, the dynamic compensation coefficient is determined by a second lookup table, and then the static IR drop is compensated based on the static compensation coefficient, and the dynamic IR drop is compensated based on the dynamic compensation coefficient, thereby improving the accuracy of pixel compensation.
[0091] The specific generation method of this first lookup table static LUT is explained below:
[0092] S1. Obtain the position information of any pixel in the first feature image, wherein the first feature image is a single-channel image that includes only one type of sub-pixel, and all pixels in the first feature image have the same pixel value.
[0093] Thus, the first feature image is displayed on the screen as a pure color image of any single color of a pixel. Specifically, taking a pixel containing sub-pixels RGB as an example, the first feature image can be a single-channel image containing only sub-pixels R, G, or B, such as... Figure 15 The first feature image shown is a single-channel image of sub-pixel R, or as shown below. Figure 16 The first feature image shown is a single-channel image of sub-pixel G, or as... Figure 17 As shown, the first feature image is a single-channel image of sub-pixel B.
[0094] S2. Obtain the standard brightness of any pixel and its display brightness on the screen.
[0095] Based on the single-channel image of sub-pixels R, G, or B, the standard brightness and display brightness of any pixel in the image are measured. The standard brightness is calculated based on the pixel value using Grassmann's law, while the display brightness is obtained through brightness measurement and tracking detection.
[0096] S3, calculating a gamma value according to the pixel value of any pixel and the display brightness.
[0097] Specifically, the gamma value is calculated according to the following formula: (gray1 / 255)^ gamma Lv255=Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the brightness when the pixel value of the pixel is 255.
[0098] S4, calculating a first compensation pixel value according to the gamma value and the standard brightness, and generating a static compensation coefficient according to the first pixel value and the pixel value of any pixel.
[0099] Specifically, the first compensation pixel value can be calculated according to the following formula: (gray2 / 255)^ gamma Lv255=Lvb; where Lvb is the standard brightness, gray2 is the first compensation pixel value, and Lv255 is the brightness when the pixel value of the pixel is 255. The static compensation coefficient generated according to the first pixel value and the pixel value of any pixel can be the quotient of the first pixel value and the pixel value of any pixel, or can be calculated by other operation methods.
[0100] S5, corresponding writing of the position information of any pixel, the pixel value of any pixel, and the static compensation coefficient of any pixel into a first lookup table.
[0101] As shown in the above process, only one measurement of the above steps S1-S5 for the pixels at different positions of the first special picture using different pixel values is needed, and then the static compensation coefficients in all cases can be obtained.
[0102] Thus, the first lookup table contains the corresponding relationship of the position information of the pixel and the pixel value and the static compensation coefficient of the pixel, and for the pixel containing sub-pixels RGB, the first lookup table can contain three lookup tables about sub-pixels R, G, and B respectively, for example, for sub-pixel R, the first lookup table contains the corresponding relationship of the position information of the pixel and the pixel value and the static compensation coefficient of the sub-pixel R of the pixel; for sub-pixel G, the first lookup table contains the corresponding relationship of the position information of the pixel and the pixel value and the static compensation coefficient of the sub-pixel G of the pixel; for sub-pixel B, the first lookup table contains the corresponding relationship of the position information of the pixel and the pixel value and the static compensation coefficient of the sub-pixel B of the pixel.
[0103] Thus, since the conversion formula of the pixel value of the pixel provided by S3 and S4 is used twice in the process of forming the static compensation coefficient, the gamma value is calculated by the display brightness and the pixel value of the pixel in step S3, and the compensated pixel value is obtained according to the standard brightness using the same gamma value in step S3 in step S4, so that when the pixel is displayed on the display screen according to the compensated pixel value, the brightness is the standard brightness, so that the static voltage drop is compensated, and the original gamma curve of the display screen is not changed, thereby ensuring the accuracy of the pixel compensation. In addition, the calculation of the coefficient of the static compensation only needs to generate by calculating the first characteristic image of different pixels, and the calculation complexity is low, which is beneficial to reduce the hardware cost.
[0104] The second lookup table dynamic LUT is described as follows:
[0105] S1, obtaining the second average load of the background of the second characteristic image displayed on the display screen, and the third average load of the target region in the second characteristic image.
[0106] Wherein, the target region in the second characteristic image is a single-channel image including only one kind of sub-pixel, and the pixel values of all pixels in the background region of the second characteristic image are the same; the second average load is the average value of the load of the pixels in the background region of the second characteristic image, and the third average load is the average value of the load of the pixels in the target region of the second characteristic image. For example, as shown in Figure 18 、 Figure 19 、 Figure 20 It is shown that three examples of second characteristic images are provided, the pixel values of all pixels in the background region are the same, Figure 18 、 Figure 19 、 Figure 20 The background region of the background region can take different pixel values, and the target region located in the middle position is a single-channel image including only one kind of sub-pixel.
[0107] S2, obtaining the pixel value of any pixel in the target region of the second characteristic image.
[0108] S3, obtaining the standard brightness of the pixel value of the any pixel and the display brightness of the any pixel on the display screen.
[0109] S4, calculating the gamma value according to the pixel value of the any pixel and the display brightness.
[0110] The gamma value is calculated according to the following formula: (gray1 / 255)^ gamma *Lv255=Lva;wherein, Lva is the display brightness, Gray1 is the pixel value of the any pixel in the target region, and Lv255 is the brightness when the pixel value of the pixel is 255.
[0111] S5, calculating a second compensation pixel value according to the gamma value and the standard brightness, and generating a dynamic compensation coefficient according to the second compensation pixel value and the pixel value of the any pixel.
[0112] The second compensation pixel value is calculated according to the following formula: (gray3 / 255)^ gamma Lv255 = Lvb; where Lvb is the standard brightness, gray3 is the second compensation pixel value, and Lv255 is the brightness when the pixel value of the pixel is 255. The dynamic compensation coefficient generated according to the second compensation pixel value and the pixel value of the pixel in the target region can be the quotient of the second compensation pixel value and the pixel value of the pixel in the target region, or the dynamic compensation coefficient can be calculated through other operation methods.
[0113] S6, corresponding writing of the second average load, the third average load, the pixel value of the any pixel, and the dynamic compensation coefficient of the any pixel into the second lookup table.
[0114] As shown in the above process, by adjusting the pixel value of the background region and the pixel value of the target region, and performing the above steps S1-S6 once on the image of the background region with different pixel values and the target region with different pixel values, the dynamic compensation coefficient in all cases can be obtained.
[0115] In addition, in order to calculate the first average load in step 102, the load of the target pixel, and calculate the second average load and the third average load when constructing the second lookup table, it is necessary to first generate the corresponding relationship between the pixel value of the pixel and the load, i.e., the gray-to-loading in step 102. Then, when performing step S1 on the second feature image, the loading of each pixel of the second feature image can be obtained by looking up the corresponding relationship, and the average value of the load of the pixels in any region on the current pixel can be directly obtained by accumulating the loads of all pixels in the any region and dividing by the resolution of the any region. For example, the second average load of the background region can be obtained by querying the gray-to-loading of the pixels of the background of the second feature image, obtaining the loading of each pixel, and accumulating the loadings of the pixels in the background and dividing by the resolution of the background region (where the resolution of the background region is the total number of pixels in the background region). Similarly, the third average load of the target region can be obtained by querying the gray-to-loading of the pixels of the target region of the second feature image, obtaining the loading of each pixel, and accumulating the loadings of the pixels in the target region and dividing by the resolution of the target region.
[0116] Thus, the second look-up table contains the corresponding relationship of the second average load, the third average load, the pixel value of any pixel of the target area, and the dynamic compensation coefficient. When the pixel contains three sub-pixels RGB, the second look-up table can contain three look-up tables respectively about the sub-pixel R, G, and B. For example, for the sub-pixel R, the dynamic LUT of the sub-pixel R contains the corresponding relationship of the pixel value R of the sub-pixel R, the second average load and the third average load corresponding to the sub-pixel R, and the dynamic compensation coefficient. In addition, the dynamic LUT of the sub-pixel G and the dynamic LUT of the sub-pixel B can also be contained, and the principle is the same as the dynamic LUT of the sub-pixel R and will not be described again.
[0117] Thus, since the conversion formula of the pixel value and the brightness of the pixel provided by S3 and S4 is used twice in the process of forming the dynamic compensation coefficient, the gamma value is calculated by the display brightness and the pixel value in step S3, and the compensated pixel value is obtained according to the standard brightness using the same gamma value in step S3 in step S4. Thus, when the pixel is displayed on the display screen according to the compensated pixel value, the brightness is the standard brightness, so that the dynamic voltage drop is compensated, and the original gamma curve of the display screen is ensured, and the accuracy of the pixel compensation is ensured. In addition, the calculation of the dynamic compensation coefficient only needs to be generated by calculating the second characteristic image of different pixel values, and the calculation complexity is low, which is beneficial to reduce the hardware cost.
[0118] It can be understood that the method and / or steps realized by the pixel compensation device in each of the above embodiments can also be realized by the components (such as chips or circuits) that can be used in the pixel compensation device.
[0119] It can be understood that the pixel compensation device contains the corresponding hardware structure and / or software module for realizing each function. Those skilled in the art should easily realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the present application can be realized in the form of hardware or the combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0120] The embodiments of the present application can divide the function modules of the pixel compensation device according to the method embodiments described above. For example, each function module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in the form of hardware or in the form of a software function module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, another division manner can be used.
[0121] Figure 21 A structural diagram of a pixel compensation device is shown. The pixel compensation device includes a static compensation module 2101, an acquisition module 2102, and a dynamic compensation module 2103.
[0122] The acquisition module 2102 is configured to acquire a position coordinate of a target pixel in a current image displayed by a display screen and an initial pixel value of the target pixel.
[0123] The static compensation module 2101 is configured to acquire a static compensation coefficient from a first lookup table according to the position information of the target pixel and the initial pixel value of the target pixel, compensate for a static IR drop of the target pixel by using the static compensation coefficient to generate a first pixel value, and wherein the first lookup table contains a corresponding relationship between position information of a pixel and a pixel value of the pixel and a static compensation coefficient.
[0124] The dynamic compensation module 2103 is configured to query a dynamic compensation coefficient from a second lookup table according to the first pixel value, wherein the second lookup table contains a corresponding relationship between a pixel value of the pixel and a dynamic compensation coefficient, and compensate for a dynamic IR drop of the target pixel by using the dynamic compensation coefficient to generate a compensated pixel value of the target pixel.
[0125] Optionally, the acquisition module 2102 is further configured to acquire a first average load of a background region of the current image and a load of the target pixel, wherein the background region of the current image is a region other than the target pixel in the current image, and the first average load is an average value of loads of pixels in the background region of the current image. The dynamic compensation module 2103 is specifically configured to query the dynamic compensation coefficient from the second lookup table according to the first pixel value, the first average load, and the load of the target pixel, wherein the second lookup table contains a corresponding relationship between the pixel value of the pixel, the first average load, and the load of the target pixel and the dynamic compensation coefficient.
[0126] Optionally, the target pixel comprises a first sub-pixel and a second sub-pixel, and the initial pixel value comprises a pixel value of the first sub-pixel and a pixel value of the second sub-pixel; the static compensation module 2101 is specifically configured to: according to the position information of the target pixel and the pixel value of the first sub-pixel of the target pixel, search the first lookup table for a static compensation coefficient of the first sub-pixel; and according to the position information of the target pixel and the pixel value of the second sub-pixel of the target pixel, search the first lookup table for a static compensation coefficient of the second sub-pixel.
[0127] Optionally, the acquisition module 2102 is specifically configured to: according to a pixel value of a first pixel in the background region, query a third lookup table to acquire a load of the first pixel in the background region, the first pixel being any pixel in the background region; and according to a pixel value of the target pixel, query the third lookup table to acquire a load of the target pixel; wherein the third lookup table comprises a corresponding relationship between a pixel value and a load.
[0128] Optionally, the pixel comprises at least one sub-pixel; and the acquisition module 2102 is specifically configured to: fix a ratio between pixel values of the at least one sub-pixel of the pixel as a preset conversion ratio, wherein when the ratio between the pixel values of the at least one sub-pixel of the pixel is the preset conversion ratio, pixel values of each sub-pixel of the pixel correspond to the same load; and adjust the pixel values of each sub-pixel of the pixel to acquire a corresponding relationship between the pixel values and the loads of each sub-pixel of the pixel.
[0129] Optionally, the target pixel comprises at least one sub-pixel, and the pixel compensation device further comprises: a preprocessing module 2104, configured to: acquire position information of any pixel in a first feature image, the first feature image being a single-channel image comprising only one kind of sub-pixel, and pixel values of all pixels of the first feature image being the same; acquire a standard brightness of the any pixel and a display brightness of the any pixel on the display screen; calculate a gamma value according to the pixel value of the any pixel and the display brightness; calculate a first compensation pixel value according to the gamma value and the standard brightness; generate a static compensation coefficient of the any pixel according to the first compensation pixel value and the pixel value of the any pixel; and correspondingly write the position information of the any pixel, the pixel value of the any pixel and the static compensation coefficient of the any pixel into the first lookup table.
[0130] Optionally, the preprocessing module 2104 is specifically configured to calculate the gamma value according to the following formula: (gray1 / 255) ^ (1 / gamma0), wherein gray1 is the pixel value of the any pixel, and gamma0 is a preset gamma value. gammaLv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of the any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; a gamma value is calculated according to the following formula: (gray1 / 255) ^ 2.67 gamma Lv255 = Lvb; where Lvb is the standard brightness, gray2 is the first compensation pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
[0131] Optionally, the target pixel comprises at least one sub-pixel, and the pixel compensation device further comprises a preprocessing module 2104, configured to: acquire a second average load of a background region of a second feature image displayed on the display screen and a third average load of a target region in the second feature image; the target region in the second feature image is a single-channel image comprising only one sub-pixel, and all pixels in the background region of the second feature image have the same pixel value; the second average load is an average value of the loads of the pixels in the background region of the second feature image, and the third average load is an average value of the loads of the pixels in the target region of the second feature image; acquire a pixel value of any pixel in the target region of the second feature image; acquire a standard brightness of the pixel value of the any pixel and a display brightness of the any pixel on the display screen; calculate a gamma value according to the pixel value of the any pixel and the display brightness; calculate a second compensation pixel value according to the gamma value and the standard brightness; generate a dynamic compensation coefficient of the any pixel according to the second compensation pixel value and the pixel value of the any pixel; and write the second average load, the third average load, the pixel value of the any pixel, and the dynamic compensation coefficient of the any pixel into the second lookup table correspondingly.
[0132] Optionally, the preprocessing module 2104 is specifically configured to calculate the gamma value according to the following formula: (gray1 / 255) ^ 2.67. gamma Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of the any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; a second compensation pixel value is calculated according to the following formula: (gray3 / 255) ^ 2.67 gamma Lv255 = Lvb; where Lvb is the standard brightness, gray3 is the second compensation pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
[0133] All the related content of each step involved in the method embodiments can be cited to the function description of the corresponding function module, and will not be repeated here.
[0134] As shown in Figure 22 The embodiment of the present application provides a hardware structure schematic diagram of a pixel compensation device.
[0135] The pixel compensation device comprises at least one processor (for example, one processor 2201 is exemplified in the processor 2202) and at least one transmission interface (for example, the transmission interface 2203 can be an interface circuit, for example, one transmission interface 2203 is exemplified in the transmission interface 2203). Figure 22 Figure 22 Optionally, the pixel compensation device can further comprise at least one memory (for example, one memory 2202 is exemplified in the memory 2202). Figure 22
[0136] The processor 2201, the memory 2202 and the transmission interface 2203 are connected through a communication line. The communication line can comprise a channel for transmitting information between the above components.
[0137] The processor 2201 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs of the present application. In a specific implementation, as an embodiment, the processor 2201 can also comprise a plurality of CPUs, and the processor 2201 can be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits or processing cores for processing data (for example, computer program instructions).
[0138] The memory 2202 can be a device with a storage function. For example, it can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, and can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but is not limited thereto. The memory 2202 can exist independently and be connected to the processor 2201 through a communication line. The memory 2202 can also be integrated with the processor 2201.
[0139] The memory 2202 is configured to store computer-executable instructions for implementing the solutions of the present application, and the processor 2201 is configured to control the execution of the computer-executable instructions. Specifically, the processor 2201 is configured to execute the computer-executable instructions stored in the memory 2202, so as to implement the pixel compensation method described in the embodiments of the present application.
[0140] Alternatively, in the embodiments of the present application, the processor 2201 can also execute the processing-related functions in the pixel compensation method provided in the following embodiments of the present application, and the transmission interface 2203 is responsible for connecting with other components to realize the transmission of signals, for example, transmitting the current image to the pixel compensation device, outputting the compensated pixel value after compensation, etc., which is not limited in the embodiments of the present application.
[0141] Optionally, the computer-executable instructions in the embodiments of the present application can also be referred to as application program codes or computer program codes, which are not limited in the embodiments of the present application.
[0142] In a specific implementation, as an embodiment, the processor 2201 can include one or more CPUs, for example, the CPU0 and the CPU1 in the Figure 22 In a specific implementation, as an embodiment, the control device of the electronic device can include multiple processors, for example, the CPU0 and the CPU1 in the
[0143] In a specific implementation, as an embodiment, the control device of the electronic device can include multiple processors, for example, the CPU0 and the CPU1 in the Figure 22The processors in the pixel compensation apparatus can be the processor 2201 and the processor 2204. Each of the processors can be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0144] The processor 2201 in the pixel compensation apparatus can invoke the computer-executed instructions stored in the memory 2202 to enable the pixel compensation apparatus to perform the method in the above method embodiments. Specifically, Figure 21 The functions / implementation procedures of the static compensation module 2101, the acquisition module 2102, the dynamic compensation module 2103, and the preprocessing module 2104 in the pixel compensation apparatus can be implemented by Figure 22 The processor 2201 in the pixel compensation apparatus shown in FIG. 22 invokes the computer-executed instructions stored in the memory 2202 to implement the pixel compensation apparatus. Since the pixel compensation apparatus provided in this embodiment can perform the above method, the technical effects that can be achieved by the pixel compensation apparatus can refer to the above method embodiments, which will not be repeated here.
[0145] Optionally, the embodiments of the present application further provide a pixel compensation apparatus (for example, the pixel compensation apparatus can be a chip or a chip system), which includes a processor configured to implement the method in any of the above method embodiments. In a possible design, the pixel compensation apparatus further includes a memory. The memory is configured to store necessary program instructions and data. The processor can invoke the program instructions stored in the memory to instruct the pixel compensation apparatus to perform the method in any of the above method embodiments. Of course, the memory can not be in the pixel compensation apparatus. When the pixel compensation apparatus is a chip system, the pixel compensation apparatus can be composed of a chip or can include a chip and other discrete devices, and the embodiments of the present application do not make a specific limitation in this regard.
[0146] The electronic device provided in the embodiments of the present application includes the pixel compensation apparatus described above.
[0147] In the embodiments described above, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded into and executed by a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium. The computer readable storage medium can be any available medium that can be accessed by a computer or data storage device such as one or more servers, data centers, etc. integrated with one or more media. The available media can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)), etc. In the embodiments of the present application, the computer can include the apparatus described above.
[0148] Although the present application is described herein in conjunction with various embodiments, it is understood that other variations of the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from an inspection of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and the indefinite articles "a" or "an" do not exclude a plurality. A single processor or other unit can fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
[0149] Although the present application is described herein in conjunction with specific features and embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended to embrace all such alternatives, modifications and variations as can come within the scope of the application. It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application cover the modifications and variations of this application provided they come within the scope of the appended claims and their equivalents.
Claims
1. A pixel compensation method, characterized in that, include: Obtain the position coordinates of the target pixel in the current image displayed on the screen and the initial pixel value of the target pixel; Based on the position information of the target pixel and the initial pixel value of the target pixel, a static compensation coefficient is looked up in a first lookup table. The static voltage drop IR drop of the target pixel is compensated by the static compensation coefficient to generate a first pixel value. The first lookup table contains the position information of the pixel and the correspondence between the pixel value and the static compensation coefficient. Obtain the first average load of the background region of the current image and the load of the target pixel, wherein the background region of the current image is the region in the current image other than the target pixel, and the first average load is the average load of the pixels in the background region of the current image; The dynamic compensation coefficient is retrieved from a second lookup table based on the first pixel value, wherein the second lookup table contains the correspondence between the pixel value of the pixel and the dynamic compensation coefficient; the step of retrieving the dynamic compensation coefficient from the second lookup table based on the first pixel value includes: retrieving the dynamic compensation coefficient from the second lookup table based on the first pixel value, the first average load, and the load of the target pixel, wherein the second lookup table contains the correspondence between the pixel value of the pixel, the first average load, the load of the target pixel, and the dynamic compensation coefficient; The dynamic compensation coefficient is used to compensate for the dynamic IR drop of the target pixel to generate the compensated pixel value of the target pixel.
2. The pixel compensation method according to claim 1, characterized in that, The target pixel includes a first sub-pixel and a second sub-pixel, and the initial pixel value includes the pixel value of the first sub-pixel and the pixel value of the second sub-pixel; The step of looking up the static compensation coefficient in the first lookup table based on the position information of the target pixel and the initial pixel value of the target pixel includes: Based on the position information of the target pixel and the pixel value of the first sub-pixel of the target pixel, the static compensation coefficient of the first sub-pixel is searched in the first lookup table; Based on the position information of the target pixel and the pixel value of the second sub-pixel of the target pixel, the static compensation coefficient of the second sub-pixel is searched in the first lookup table.
3. The pixel compensation method according to claim 1, characterized in that, The step of obtaining the first average load of the background region of the current image and the load of the target pixel includes: The load of the first pixel in the background region is obtained by querying a third lookup table based on the pixel value of the first pixel in the background region, wherein the first pixel is any pixel in the background region; The target pixel's load is obtained by querying the third lookup table based on its pixel value; wherein the third lookup table contains the correspondence between the pixel value and the load.
4. The pixel compensation method according to claim 3, characterized in that, The pixel comprises at least one sub-pixel; the method further includes: The ratio between the pixel values of at least one sub-pixel of the pixel is fixed to a preset conversion ratio, wherein when the ratio between the pixel values of at least one sub-pixel of the pixel is the preset conversion ratio, the load corresponding to the pixel values of each sub-pixel of the pixel is the same. Adjust the pixel values of each sub-pixel of the pixel to obtain the correspondence between the pixel values of each sub-pixel of the pixel and the load.
5. The pixel compensation method according to any one of claims 1-4, characterized in that, The target pixel includes at least one sub-pixel. Before looking up the static compensation coefficient in the first lookup table based on the position information of the target pixel and the initial pixel value of the target pixel, the method further includes: The position information of any pixel is obtained in the first feature image, which is a single-channel image that includes only one type of sub-pixel, and all pixels in the first feature image have the same pixel value. Obtain the standard brightness of any pixel and the display brightness of any pixel on the display screen; Calculate the gamma value based on the pixel value of any one of the pixels and the display brightness; Calculate the first compensated pixel value based on the gamma value and the standard brightness; A static compensation coefficient for any pixel is generated based on the first compensated pixel value and the pixel value of any pixel. The position information of any pixel, the pixel value of any pixel, and the static compensation coefficient of any pixel are written into the first lookup table.
6. The pixel compensation method according to claim 5, characterized in that, The step of calculating the gamma value based on the pixel value of any pixel and the display brightness includes: Calculate the gamma value using the following formula: (gray1 / 255)^ gamma *Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; The step of calculating the first compensated pixel value based on the gamma value and the standard brightness includes: The first compensated pixel value is calculated using the following formula: (gray2 / 255)^ gamma *Lv255 = Lvb; where Lvb is the standard brightness, gray2 is the first compensated pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
7. The pixel compensation method according to claim 1, characterized in that, The target pixel includes at least one sub-pixel. A dynamic compensation coefficient is retrieved from a second lookup table based on the first pixel value, the first average load, and the load of the target pixel. This process includes: A second average load of the background region of the second feature image displayed on the display screen and a third average load of the target region in the second feature image are obtained; wherein the target region in the second feature image is a single-channel image including only one type of sub-pixel, and all pixels in the background region of the second feature image have the same pixel value; the second average load is the average value of the load of the pixels in the background region of the second feature image, and the third average load is the average value of the load of the pixels in the target region of the second feature image. Obtain the pixel value of any pixel in the target region of the second feature image; Obtain the standard brightness of the pixel value of any given pixel and the display brightness of any given pixel on the display screen; Calculate the gamma value based on the pixel value of any one of the pixels and the display brightness; Calculate the second compensated pixel value based on the gamma value and the standard brightness; The dynamic compensation coefficient of any pixel is generated based on the second compensated pixel value and the pixel value of any pixel; The second average load, the third average load, the pixel value of any pixel, and the dynamic compensation coefficient of any pixel are written into the second lookup table.
8. The pixel compensation method according to claim 7, characterized in that, The step of calculating the gamma value based on the pixel value of any pixel and the display brightness includes: Calculate the gamma value using the following formula: (gray1 / 255)^ gamma *Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; The step of calculating the second compensated pixel value based on the gamma value and the standard brightness includes: The second compensation pixel value is calculated using the following formula: (gray3 / 255)^ gamma *Lv255 = Lvb; where Lvb is the standard brightness, gray3 is the second compensated pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
9. A pixel compensation device, characterized in that, The acquisition module is used to acquire the position coordinates of the target pixel in the current image displayed on the screen and the initial pixel value of the target pixel; The acquisition module is further configured to acquire the first average load of the background region of the current image and the load of the target pixel, wherein the background region of the current image is the region in the current image other than the target pixel, and the first average load is the average load of the pixels in the background region of the current image; A static compensation module is used to look up a static compensation coefficient in a first lookup table based on the position information of the target pixel and the initial pixel value of the target pixel, and to compensate the static voltage drop IRdrop of the target pixel by the static compensation coefficient to generate a first pixel value. The first lookup table contains the position information of the pixel and the correspondence between the pixel value and the static compensation coefficient. A dynamic compensation module is used to query a dynamic compensation coefficient in a second lookup table based on the first pixel value, wherein the second lookup table contains the correspondence between the pixel value of the pixel and the dynamic compensation coefficient; and to compensate for the dynamic IR drop of the target pixel using the dynamic compensation coefficient to generate a compensated pixel value for the target pixel; specifically, the dynamic compensation module is used to: query the dynamic compensation coefficient in the second lookup table based on the first pixel value, the first average load, and the load of the target pixel, wherein the second lookup table contains the correspondence between the pixel value of the pixel, the first average load, the load of the target pixel, and the dynamic compensation coefficient.
10. The pixel compensation device according to claim 9, characterized in that, The target pixel includes a first sub-pixel and a second sub-pixel, and the initial pixel value includes the pixel value of the first sub-pixel and the pixel value of the second sub-pixel; The static compensation module is specifically used for: Based on the position information of the target pixel and the pixel value of the first sub-pixel of the target pixel, the static compensation coefficient of the first sub-pixel is searched in the first lookup table; based on the position information of the target pixel and the pixel value of the second sub-pixel of the target pixel, the static compensation coefficient of the second sub-pixel is searched in the first lookup table.
11. The pixel compensation device according to claim 9, characterized in that, The acquisition module is specifically used for: The load of the first pixel in the background region is obtained by querying a third lookup table based on the pixel value of the first pixel in the background region, wherein the first pixel is any pixel in the background region; the load of the target pixel is obtained by querying the third lookup table based on the pixel value of the target pixel; wherein the third lookup table contains the correspondence between the pixel value and the load of the pixel.
12. The pixel compensation device according to claim 11, characterized in that, The pixel contains at least one sub-pixel; the acquisition module is specifically used for: The ratio between the pixel values of at least one sub-pixel of the pixel is fixed to a preset conversion ratio. When the ratio between the pixel values of at least one sub-pixel of the pixel is the preset conversion ratio, the load corresponding to the pixel values of each sub-pixel of the pixel is the same. The pixel values of each sub-pixel of the pixel are adjusted to obtain the correspondence between the pixel values of each sub-pixel of the pixel and the load.
13. The pixel compensation device according to claim 9, characterized in that, The target pixel includes at least one sub-pixel, and the pixel compensation device further includes: a preprocessing module, used for: The position information of any pixel is obtained in the first feature image, which is a single-channel image that includes only one type of sub-pixel, and all pixels in the first feature image have the same pixel value. Obtain the standard brightness of any pixel and the display brightness of any pixel on the display screen; calculate the gamma value based on the pixel value of any pixel and the display brightness; Calculate the first compensated pixel value based on the gamma value and the standard brightness; A static compensation coefficient for any pixel is generated based on the first compensated pixel value and the pixel value of any pixel. The position information of any pixel, the pixel value of any pixel, and the static compensation coefficient of any pixel are written into the first lookup table.
14. The pixel compensation device according to claim 13, characterized in that, The preprocessing module is specifically used to: calculate the gamma value according to the following formula: (gray1 / 255)^ gamma *Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; The first compensated pixel value is calculated using the following formula: (gray2 / 255)^ gamma *Lv255 = Lvb; where Lvb is the standard brightness, gray2 is the first compensated pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
15. The pixel compensation device according to claim 9, characterized in that, The target pixel includes at least one sub-pixel, and the pixel compensation device further includes: a preprocessing module, configured to: obtain a second average load of the background region of the second feature image displayed on the display screen, and a third average load of the target region in the second feature image; wherein the target region in the second feature image is a single-channel image including only one type of sub-pixel, and all pixels in the background region of the second feature image have the same pixel value; the second average load is the average value of the load of pixels in the background region of the second feature image, and the third average load is the average value of the load of pixels in the target region of the second feature image; Obtain the pixel value of any pixel in the target region of the second feature image; Obtain the standard brightness of the pixel value of any given pixel and the display brightness of any given pixel on the display screen; Calculate the gamma value based on the pixel value of any one of the pixels and the display brightness; Calculate the second compensated pixel value based on the gamma value and the standard brightness; The dynamic compensation coefficient of any pixel is generated based on the second compensated pixel value and the pixel value of any pixel; The second average load, the third average load, the pixel value of any pixel, and the dynamic compensation coefficient of any pixel are written into the second lookup table.
16. The pixel compensation device according to claim 15, characterized in that, The preprocessing module is specifically used to calculate the gamma value according to the following formula: (gray1 / 255)^ gamma *Lv255 = Lva; where Lva is the display brightness, gray1 is the pixel value of any pixel, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255; the second compensation pixel value is calculated according to the following formula: (gray3 / 255)^ gamma *Lv255 = Lvb; where Lvb is the standard brightness, gray3 is the second compensated pixel value, and Lv255 is the display brightness on the display screen when the pixel value of the pixel is 255.
17. A pixel compensation device, characterized in that, include: Processor and transmission interface; The processor is configured to invoke program instructions stored in memory to perform the method as described in any one of claims 1-8.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program instructions that, when executed on a computer or processor, cause the computer or processor to perform the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Method for eliminating Mura of OLED display panel
CN105741764A
Brightness control method and device of display panel
CN109637499A
System and method for calibrating display device using transfer functions
US20130135272A1