Display compensation device, display compensation method, display apparatus
By replacing complex calculations with modular design and lookup tables in the display compensation device, the problem of uneven brightness in OLED display panels is solved, achieving consistent brightness compensation and reducing resource consumption and design complexity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BOE TECHNOLOGY GROUP CO LTD
- Filing Date
- 2024-01-29
- Publication Date
- 2026-07-31
AI Technical Summary
OLED display panels suffer from brightness uniformity issues due to the IR-Drop phenomenon, which is particularly pronounced under high grayscale conditions, and existing technologies struggle to effectively compensate for brightness uniformity.
The display compensation device includes a first calculation module, a proportional coefficient calculation module, a compensation coefficient calculation module, and a pixel compensation module. It receives pixel values, determines the current load intensity and the proportional coefficient of the linear model, calculates the compensation coefficient, and performs display compensation. It uses a lookup table to replace complex gamma correction and gamma exponent calculations to reduce resource consumption.
It achieves consistent brightness of OLED display panels under different backgrounds, simplifies the implementation complexity of display compensation, reduces resource and computing costs, and improves the compensation effect.
Smart Images

Figure CN120813990B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure relate to a display compensation device, a display compensation method, and a display apparatus. Background Technology
[0002] Organic light-emitting diodes (OLEDs), as current-driven light-emitting devices, are increasingly used in high-performance displays. Due to their self-emissive nature, OLEDs offer numerous advantages over LCDs, including higher contrast, ultra-thinness, and flexibility. The brightness of an OLED display panel can be adjusted by the current supplied to drive thin-film transistors (TFTs). Due to the influence of the signal transmission line voltage drop (IR-Drop), the area of the display panel closer to the power supply or driver chip (IC) is brighter; conversely, the brightness gradually decreases as the distance of the signal transmission line increases. Regarding the brightness uniformity of the display panel, the IR-Drop phenomenon has a greater impact under high grayscale conditions with high panel current. Summary of the Invention
[0003] At least one embodiment of this disclosure provides a display compensation device, including a first calculation module configured to receive pixel values of pixels included in a current display frame and determine the current load intensity corresponding to each pixel; a scaling factor calculation module configured to combine the pixel values of each pixel to determine the scaling factor of a linear model corresponding to each pixel, wherein the linear model indicates a linear mapping relationship between the grayscale and brightness of the pixel; a compensation factor calculation module configured to obtain the frame current intensity and determine the compensation factor corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity, wherein the frame current intensity includes the current intensity corresponding to a neighboring frame or the current intensity corresponding to the current display frame, the neighboring frame being a display frame that is earlier than the current display frame in display time and is adjacent to or separated from the current display frame by a preset number of frames; and a pixel compensation module configured to perform display compensation on the corresponding pixel according to the compensation factor corresponding to each pixel.
[0004] For example, in a display compensation device provided in at least one embodiment of this disclosure, when the first calculation module performs the operation of receiving the pixel values of the pixels included in the current display frame and determining the current load intensity corresponding to each pixel, it includes performing the following operations: for each pixel, determining a correction value after gamma correction of the pixel; and determining the current load intensity corresponding to the pixel based on the correction value.
[0005] For example, in a display compensation device provided in at least one embodiment of this disclosure, each pixel includes a first sub-pixel, a second sub-pixel, and a third sub-pixel. When the first calculation module performs the operation of determining a correction value after gamma correction for each pixel, it includes performing the following operations: determining a first correction value after gamma correction for the first sub-pixel, a second correction value after gamma correction for the second sub-pixel, and a third correction value after gamma correction for the third sub-pixel; when the first calculation module performs the operation of determining the current load intensity corresponding to the pixel based on the pixel correction value, it includes performing the following operations: determining the weighted sum of the first correction value, the second correction value, and the third correction value as the current load intensity corresponding to the pixel.
[0006] For example, in a display compensation device provided in at least one embodiment of this disclosure, the first calculation module includes a storage module that stores a first lookup table. The first lookup table specifies a mapping relationship between the pixel value of a single pixel and a correction value after gamma correction of the single pixel. When the first calculation module performs the operation of determining the correction value after gamma correction for each pixel, it includes performing the following operations: determining the mapping value corresponding to the pixel value from the first lookup table as the correction value based on the pixel value of the pixel.
[0007] For example, in a display compensation device provided in at least one embodiment of this disclosure, the first calculation module includes a storage module, which stores three first lookup tables corresponding to the first channel, the second channel, and the third channel, respectively. Each first lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the channel corresponding to the first lookup table and the correction result value after gamma correction, wherein the correction result value is the product of the correction value after gamma correction of the sub-pixel and the corresponding weight.
[0008] For example, in a display compensation device provided in at least one embodiment of this disclosure, the scaling factor calculation module includes a storage module storing a second lookup table. The second lookup table specifies the mapping relationship between the pixel value of a single pixel and the scaling factor of a linear model. When the scaling factor calculation module determines the scaling factor of the linear model corresponding to each pixel based on the pixel values of the pixels included in the current display frame, it includes performing the following operations: determining the scaling factor of the linear model corresponding to the pixel from the second lookup table according to the pixel value of the pixel, wherein the mapping relationship is expressed as:
[0009]
[0010] Where p represents the pixel value of a single pixel, L0_L1(p) represents the scaling factor of the linear model for that single pixel, and wmin p wmax represents the weighting factor when the screen current load is at its minimum. p This represents the weighting factor when the screen current load is at its maximum. The gamma coefficient represents the minimum screen current load. This represents the gamma coefficient when the screen current load is at its maximum.
[0011] For example, in a display compensation device provided in at least one embodiment of this disclosure, each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel. The linear model includes a linear model indicating the linear mapping relationship between the grayscale and brightness of the sub-pixels in each channel. The scaling factor calculation module includes a storage module storing three second lookup tables. The three second lookup tables correspond to the first channel, the second channel, and the third channel, respectively. Each second lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the channel corresponding to the second lookup table and the scaling factor of the linear model corresponding to the sub-pixel.
[0012] For example, in a display compensation device provided in at least one embodiment of this disclosure, when the compensation coefficient calculation module performs the operations of obtaining the frame current intensity and determining the compensation coefficient corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity, the module includes performing the following operations: for each pixel, determining a first value based on the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the first value to obtain a first brightness influence coefficient; determining a second value based on the frame current intensity and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the reciprocal of the second value to obtain a second brightness influence coefficient; and determining the product of the first brightness influence coefficient and the second brightness influence coefficient as the compensation coefficient corresponding to the pixel.
[0013] For example, in a display compensation device provided in at least one embodiment of this disclosure, the compensation coefficient calculation module includes a first multiplier and a first adder, wherein the first multiplier is configured to calculate the scaling factor and 1-Is of the linear model corresponding to the pixel. pix The product of and yields the first product result, where Is pix The first adder is configured to calculate the sum of the first product result and the current load intensity corresponding to the pixel to obtain the first value.
[0014] For example, in a display compensation device provided in at least one embodiment of this disclosure, the compensation coefficient calculation module further includes a second multiplier and a second adder, wherein the second multiplier is configured to calculate the scaling factor and 1-Is of the linear model corresponding to the pixel. avg The product of and yields the second product result, where Is avg The frame current intensity is represented; the second adder is configured to calculate the sum of the second product result and the frame current intensity to obtain the second value.
[0015] For example, in a display compensation device provided in at least one embodiment of this disclosure, the compensation coefficient calculation module further includes a storage module storing a third lookup table and a fourth lookup table. The third lookup table specifies a mapping relationship between a first value determined by the current load intensity corresponding to a single pixel and the scaling factor of the linear model corresponding to the single pixel, and a first brightness influence coefficient after gamma calculation. The fourth lookup table specifies a mapping relationship between a second value determined by the scaling factor of the frame current intensity and the linear model corresponding to the single pixel, and a second brightness influence coefficient. When the compensation coefficient calculation module performs gamma calculation on the first value to obtain the first brightness influence coefficient, it includes performing the following operations: determining a mapping value corresponding to the first value from the third lookup table based on the first value as the first brightness influence coefficient; the compensation coefficient calculation module performs gamma calculation on the reciprocal of the second value to obtain the second brightness influence coefficient, including: determining a mapping value corresponding to the second value from the fourth lookup table based on the second value as the second brightness influence coefficient.
[0016] For example, in a display compensation device provided in at least one embodiment of this disclosure, each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel. The storage module stores three third lookup tables corresponding to the first channel, the second channel, and the third channel, respectively, and three fourth lookup tables corresponding to the first channel, the second channel, and the third channel, respectively. The third lookup table corresponding to the first channel specifies a mapping relationship between a first value for the first channel and a first brightness influence coefficient for the first channel. The first value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the first sub-pixel. The third lookup table corresponding to the second channel specifies a mapping relationship between a first value for the second channel and a first brightness influence coefficient for the second channel. The second value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the second sub-pixel. The third lookup table corresponding to the third channel specifies a mapping relationship between a first value for the second channel and a first brightness influence coefficient for the second channel. The mapping relationship between the first value of the three channels and the first brightness influence coefficient for the third channel is defined, wherein the first value for the third channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the third sub-pixel. A fourth lookup table corresponding to the first channel defines the mapping relationship between the second value of the first channel and the second brightness influence coefficient for the first channel, wherein the second value of the first channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the first sub-pixel. A fourth lookup table corresponding to the second channel defines the mapping relationship between the second value of the second channel and the second brightness influence coefficient for the second channel, wherein the second value of the second channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the second sub-pixel. A fourth lookup table corresponding to the third channel defines the mapping relationship between the second value of the third channel and the second brightness influence coefficient for the third channel, wherein the second value of the third channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the third sub-pixel.
[0017] For example, in a display compensation device provided in at least one embodiment of this disclosure, the pixel compensation module includes a multiplier configured to calculate the product of the compensation coefficient corresponding to each pixel and the pixel value of the pixel, and use the product result as the compensation value of the pixel.
[0018] For example, a display compensation device provided in at least one embodiment of this disclosure further includes: a second calculation module configured to determine the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame.
[0019] For example, in a display compensation device provided in at least one embodiment of this disclosure, when the second calculation module performs the operation of determining the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame, it includes performing the following operations: determining the average value of the current load intensity corresponding to each of the pixels included in the current display frame as the current intensity corresponding to the current display frame.
[0020] For example, in a display compensation device provided in at least one embodiment of this disclosure, the second calculation module includes an accumulation module, a shift module, and a multiplication module. The accumulation module is configured to accumulate the current load intensity corresponding to all pixels included in the current display frame to obtain an accumulated current value. The multiplication module is configured to multiply the accumulated current value by a preset number of points to obtain a third product result. The shift module is configured to shift the third product result to the right by K positions to obtain the current intensity corresponding to the current display frame. Wherein, K is a positive integer, and the preset number of points is Round(2^3). K / (H·W)), Round represents the rounding function, H represents the height of the display frame, and W represents the width of the display frame.
[0021] For example, in a display compensation device provided in at least one embodiment of this disclosure, the display compensation device further includes a data synchronization processing module, which is configured to perform delay synchronization processing on the pixel values input to the first calculation module, the scaling factor calculation module and the pixel compensation module.
[0022] For example, in a display compensation device provided in at least one embodiment of this disclosure, the current display frame includes multiple pixels divided into multiple partitions, and the pixels in each partition are simultaneously input into the display compensation device for parallel compensation in the same clock cycle.
[0023] For example, in a display compensation device provided in at least one embodiment of this disclosure, the display compensation device instantiates a plurality of the first calculation module, a plurality of the scaling factor calculation module, a plurality of the compensation factor calculation module, and a plurality of the pixel compensation module, so as to simultaneously perform display compensation on pixels belonging to the same partition.
[0024] For example, in a display compensation device provided in at least one embodiment of this disclosure, the first calculation module, the scaling factor calculation module, the compensation factor calculation module, and the pixel compensation module are all encapsulated as an intellectual property core.
[0025] At least one embodiment of this disclosure provides a display compensation method, comprising: receiving pixel values of pixels included in a current display frame, and determining the current load intensity corresponding to each pixel; combining the pixel values of each pixel to determine the scaling factor of a linear model corresponding to each pixel, wherein the linear model indicates the linear mapping relationship between the grayscale and brightness of the pixel; acquiring the frame current intensity, and determining the compensation factor corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity, wherein the frame current intensity includes the current intensity corresponding to a neighboring frame or the current intensity corresponding to the current display frame, the neighboring frame being a display frame that is earlier than the current display frame in display time and is adjacent to or separated from the display frame by a preset number of frames; and performing display compensation on the corresponding pixel according to the compensation factor corresponding to each pixel.
[0026] For example, at least one embodiment of this disclosure provides a display compensation device that further includes: determining the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame.
[0027] At least one embodiment of this disclosure also provides a display device, including: the display compensation device described in any embodiment of this disclosure. Attached Figure Description
[0028] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. Obviously, the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure.
[0029] Figure 1 This is a schematic diagram of a pixel circuit structure;
[0030] Figure 2 A schematic block diagram of a display compensation device provided in at least one embodiment of this disclosure;
[0031] Figure 3 A schematic block diagram of a display compensation device provided in at least one embodiment of this disclosure;
[0032] Figure 4 A schematic block diagram of a first computing module and a second computing module provided for at least one embodiment of this disclosure;
[0033] Figure 5 A schematic block diagram of a scaling factor calculation module, a compensation factor calculation module, and a pixel compensation module provided in at least one embodiment of this disclosure;
[0034] Figure 6 A schematic flowchart illustrating a display compensation method provided for at least one embodiment of this disclosure;
[0035] Figure 7 This is a schematic block diagram of a display device provided for at least one embodiment of the present disclosure. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0037] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described object changes. To keep the following description of the embodiments of this disclosure clear and concise, detailed descriptions of some known functions and components are omitted.
[0038] Figure 1 This is a schematic diagram of a pixel circuit.
[0039] like Figure 1 The diagram shows a simple pixel circuit used in OLEDs. It consists of two thin-film transistors (TFTs) forming the pixel circuit to provide current to the light-emitting diodes (LEDs). Typically, the luminance of an OLED is proportional to the current, which is provided by the TFTs and is related to their characteristic parameters. Due to limitations in the manufacturing process, the current magnitude is affected by various factors such as TFT mobility, threshold voltage, OLED driving voltage, and power supply voltage. This leads to non-uniformity in display brightness. The main purpose of display compensation is to eliminate the influence of these factors and ultimately achieve the ideal brightness for all pixels.
[0040] In OLED displays, the IR drop phenomenon causes inconsistent brightness of colors with the same RGB (Red, Green, Blue) values against different backgrounds. This results in fluctuations in screen brightness and color accuracy when displaying different images. For example, when displaying the same color (with identical RGB values), the input voltage to the pixel circuit remains constant, but the voltage drop causes fluctuations in the drive current, leading to fluctuations in the brightness of the light-emitting diodes (LEDs). Therefore, compensation is needed to compensate for the brightness and color accuracy fluctuations caused by the voltage drop phenomenon, ensuring consistent brightness across different backgrounds.
[0041] Compensation methods can be broadly categorized into internal compensation and external compensation. Internal compensation refers to compensation performed within the pixel using sub-circuits constructed from thin-film transistors. External compensation involves sensing the pixel's electrical or optical characteristics through external driving circuits or devices and then performing compensation. Internal compensation typically involves more complex pixel structures and driving methods, and its compensation effect is limited to the threshold voltage and IR drop of the thin-film transistors, resulting in a smaller compensation range. External compensation, on the other hand, offers advantages such as simpler pixel structures, faster driving speeds, and a wider compensation range.
[0042] This disclosure provides at least one embodiment of a display compensation device, a display compensation method, and a display apparatus. The display compensation device includes: a first calculation module configured to receive pixel values of pixels included in a current display frame and determine the current load intensity corresponding to each pixel; a scaling factor calculation module configured to combine the pixel values of each pixel to determine the scaling factor of a linear model corresponding to each pixel, wherein the linear model indicates the linear mapping relationship between the grayscale and brightness of a pixel; a compensation factor calculation module configured to obtain the frame current intensity and determine the compensation factor corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity, wherein the frame current intensity includes the current intensity corresponding to a neighboring frame or the current intensity corresponding to the current display frame, and a neighboring frame is a display frame that is earlier in display time than the current display frame and is adjacent to or separated from the current display frame by a preset number of frames; and a pixel compensation module configured to perform display compensation on the corresponding pixel according to the compensation factor corresponding to each pixel.
[0043] The display compensation device provided in at least one embodiment of this disclosure can perform external optical compensation for the problem of uneven pixel brightness caused by voltage drop. Different display images can be compensated in a targeted manner, so that the brightness of the same gray level on the screen can be kept basically consistent. Furthermore, the display compensation device rationally divides the modules according to the characteristics of the display compensation data stream, providing an optimized design and implementation method for display compensation, which significantly reduces the implementation complexity of display compensation and saves resources and computing costs.
[0044] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings, but this disclosure is not limited to these specific embodiments.
[0045] Figure 2 This is a schematic block diagram of a display compensation device provided for at least one embodiment of the present disclosure.
[0046] like Figure 2 As shown, the display compensation device 100 includes a first calculation module 101, a scaling factor calculation module 102, a compensation factor calculation module 103, and a pixel compensation module 104.
[0047] For example, the overall principle of the display compensation device in performing display image compensation is to construct a relationship model between the current load intensity of the screen and the pixel value of the pixel, and to perform display compensation for each pixel based on the estimated screen load current intensity. Specifically, it is to perform numerical compensation for the pixel value of each pixel, and finally achieve consistent display brightness under different voltage drop levels.
[0048] Based on the overall process of display compensation described above, and considering the characteristics of the data flow during display compensation, at least one embodiment of this disclosure has implemented a reasonable module division in the display compensation process. According to the design characteristics of integrated circuits (ICs), the display compensation device 100 performing display compensation consists of a first calculation module 101, a scaling factor calculation module 102, a compensation factor calculation module 103, and a pixel compensation module 104. Each module can be designed and developed as an independent IP (Intellectual Property) core. In digital circuits, an IP core refers to a mature design of a circuit module with independent functions within a chip, which can be applied to any design project that includes that circuit module.
[0049] Therefore, in at least one embodiment of this disclosure, the display compensation device in different display devices can be implemented by instantiating, laying out, and placing various modules, and connecting the various modules together. For example, the display compensation device can be deployed in the control chip of the display device. Since each module in the display compensation device is packaged into IP core form, this greatly simplifies the implementation complexity of display compensation, reduces production costs and design and implementation complexity while ensuring the compensation effect, and improves the stability of the circuit.
[0050] For example, in a color display, each pixel can consist of three sub-pixels, such as a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel. For instance, the first channel could be an R (Red) channel, and the first sub-pixel could be a red sub-pixel; the second channel could be a G (Green) channel, and the second sub-pixel could be a green sub-pixel; the third channel could be a B (Blue) channel, and the third sub-pixel could be a blue sub-pixel. Of course, this disclosure is not limited to this; the specific colors of the first, second, and third sub-pixels can be set according to actual needs.
[0051] For example, the color of each pixel can be obtained by adjusting the ratio of the brightness of the three sub-pixels. For example, the brightness of a sub-pixel is reflected by grayscale. For example, for the first sub-pixel, if the bit width of the grayscale value is 8 bits, the grayscale value range can be 0-255.
[0052] In this disclosure, for single-pixel display, that is, a single pixel displays color instead of a combination of three sub-pixels to display color, the pixel value of the pixel is the grayscale value of the pixel. For multiple sub-pixels combined to form a pixel to display color, the pixel value of the pixel includes the grayscale value of the first sub-pixel, the grayscale value of the second sub-pixel, and the grayscale value of the third sub-pixel.
[0053] The design and implementation of each module are described in detail below with reference to the accompanying drawings.
[0054] For example, the first calculation module 101 is configured to receive the pixel values of the pixels included in the current display frame and determine the current load intensity corresponding to each pixel.
[0055] For example, when the first calculation module 101 receives the pixel values of the pixels included in the current display frame and determines the current load intensity corresponding to each pixel, it includes performing the following operations: for each pixel, determining the correction value after gamma correction of the pixel; and determining the current load intensity corresponding to the pixel based on the correction value.
[0056] Gamma correction involves adjusting the brightness deviation of the actual output image using a gamma coefficient. For example, when the gamma coefficient is greater than 1, the highlights of the image are compressed while the shadows are expanded; when the gamma coefficient is less than 1, the highlights are expanded while the shadows are compressed. For instance, the gamma coefficient used for gamma correction can be obtained by sequentially inputting test images into the display panel and fitting the relationship between grayscale and current load. For example, each test image corresponds to a grayscale value between 0 and 255. In a test image, the pixel value can be either the corresponding grayscale value or 255. For example, a white circle can be formed in the center of the test image, and the pixel values outside this white circle are the corresponding grayscale values of the test image.
[0057] For example, for a single-pixel display, the gamma correction value of the pixel can be used as the current load intensity corresponding to that pixel.
[0058] For example, if each pixel includes a first sub-pixel, a second sub-pixel, and a third sub-pixel, then when the first calculation module performs the operation of determining the correction value after gamma correction for each pixel, it includes performing the following operations: determining the first correction value after gamma correction for the first sub-pixel, the second correction value after gamma correction for the second sub-pixel, and the third correction value after gamma correction for the third sub-pixel; when the first calculation module performs the operation of determining the current load intensity corresponding to the pixel based on the pixel correction value, it includes performing the following operations: determining the weighted sum of the first correction value, the second correction value, and the third correction value as the current load intensity corresponding to the pixel.
[0059] For example, weights can be calculated by inputting a test image onto a display screen.
[0060] For example, consider a current display frame with height H and width W, comprising H*W pixels. Each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel. For any pixel in this current display frame, the current load intensity corresponding to that pixel can be calculated using the following formula 1:
[0061]
[0062] Among them, Is pix This indicates the current load intensity corresponding to that pixel, where "·" represents multiplication, w r w is the weighting factor for the current load intensity of the first channel. g w is the weighting factor for the current load intensity of the second channel. b Here, R represents the pixel value of the first sub-pixel, G represents the pixel value of the second sub-pixel, B represents the pixel value of the third sub-pixel, and g represents the pixel value of the third sub-pixel. r This represents the measured gamma coefficient for the grayscale and current load of the first channel. g This represents the measured gamma coefficient for the grayscale and current load of the second channel. b This represents the measured gamma coefficient for the grayscale and current load of the third channel.
[0063] In the actual calculation of the current load intensity corresponding to a pixel, the calculation of the power of gamma correction requires a huge amount of hardware resources and cost. Therefore, a lookup table (LUT) is used instead. For example, the gamma correction or the product of gamma correction and weights is treated as a whole to build a lookup table. For example, the pixel value can be used as an input variable, and the gamma correction value or the product of gamma correction and weights corresponding to all values within the range of pixel value can be pre-calculated. The mapping relationship is then established and stored in the storage module, thereby constructing the lookup table.
[0064] For example, the first calculation module includes a storage module that stores a first lookup table (LUT1). The first lookup table LUT1 specifies the mapping relationship between the pixel value of a single pixel and the correction value after gamma correction of the single pixel. For example, when the first calculation module performs the operation of determining the correction value after gamma correction for each pixel, it includes the following operation: determining the mapping value corresponding to the pixel value from the first lookup table as the correction value based on the pixel value of the pixel.
[0065] Using a first lookup table instead of gamma exponent calculation can significantly reduce resource consumption.
[0066] For example, if each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel, then the storage module stores three first lookup tables. For example, the three first lookup tables include a first lookup table LUT1 corresponding to the first channel, a first lookup table LUT2 corresponding to the second channel, and a first lookup table LUT3 corresponding to the third channel.
[0067] For example, each first lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the corresponding channel of the first lookup table and the correction result value after gamma correction. Here, the correction result value is the product of the correction value after gamma correction of the sub-pixel and the corresponding weight.
[0068] For example, the first lookup table LUT1 specifies the pixel value R of the first sub-pixel and the correction result value after gamma correction of the first sub-pixel. The mapping relationship between them, where the correction result value is the first correction value. and corresponding weight w r The product of. For example, it can be... Treated as a LUT operation unit, the input variable is the pixel value R of the first sub-pixel, and the output is directly... As a result, this method can further reduce the number of multiplications and further reduce resource consumption.
[0069] For example, it can also be Treated as a LUT operation unit, the input variable is the pixel value R of the first sub-pixel, and the output is... Then the search results are compared with the weight w. r Multiply to get
[0070] Similarly, the first lookup table LUT2 specifies the pixel value G of the second sub-pixel and the correction result value after gamma correction of the second sub-pixel. The mapping relationship between them is defined in the first lookup table LUT3, which specifies the pixel value B of the third sub-pixel and the correction result value after gamma correction of the third sub-pixel. The mapping relationship between them. For example, it can be... Treated as a LUT operation unit, the input variable is the pixel value G of the second sub-pixel, and the output is... The result; for example, can be Treated as a LUT operation unit, the input variable is the pixel value B of the third sub-pixel, and the output is... The result.
[0071] This simplifies the originally complex gamma calculation and weight multiplication operations into a lookup table, significantly reducing resource consumption, implementation complexity, and saving hardware resources and costs.
[0072] For example, the scaling factor calculation module 102 is configured to determine the scaling factor of the linear model corresponding to each pixel based on the pixel values of the pixels included in the current display frame.
[0073] For example, a linear model indicates a linear mapping between the grayscale and brightness of a pixel.
[0074] When the grayscale is fixed, the brightness changes linearly with the current. A linear model of the grayscale-brightness mapping of a pixel can be fitted by the pixel's current value when the screen current load is minimum and maximum, and the scaling factor of this linear model can be obtained. For example, the minimum screen current load can be when only one pixel in the entire display frame is white and the rest are black, while the maximum screen current load can be when only one pixel in the entire display frame is black and all the rest are white.
[0075] For example, the mapping relationship between the pixel value of a single pixel and the scaling factor of a linear model is expressed as follows: Formula 2:
[0076]
[0077] Where p represents the pixel value of a single pixel, L0_L1(p) represents the scaling factor of the linear model for a single pixel, and wmin p wmax represents the weighting factor when the screen current load is at its minimum.p This represents the weighting factor when the screen current load is at its maximum. The gamma coefficient represents the minimum screen current load. This represents the gamma coefficient when the screen current load is at its maximum.
[0078] As shown in Equation 2, calculating the scaling factor of a linear model involves gamma exponentiation and division operations, which incurs massive computational overhead in practical implementation. In at least one embodiment of this disclosure, a lookup table is used to replace the gamma exponentiation and division operations, thereby reducing circuit resource consumption, improving circuit timing performance, and reducing implementation costs and design complexity.
[0079] For example, the scaling factor calculation module includes a storage module that stores a second lookup table, which specifies the mapping relationship between the pixel value of a single pixel and the scaling factor of the linear model.
[0080] For example, when the scaling factor calculation module performs the operation of determining the scaling factor of the linear model corresponding to each pixel based on the pixel values of the pixels included in the current display frame, it includes performing the following operation: determining the scaling factor of the linear model corresponding to the pixel from a second lookup table based on the pixel values of the pixel.
[0081] For example, it can be The entire process is treated as a lookup table, with the pixel value as the input variable, and the proportional coefficient corresponding to all possible values within the range of pixel values is pre-calculated. The mapping relationship is established and stored in the storage module, thereby constructing a lookup table. When determining the scaling factor of the linear model corresponding to a pixel, all values within its range are traversed to determine the mapping value corresponding to the pixel value as the scaling factor of the linear model corresponding to that pixel.
[0082] For example, if each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel, the linear model includes a linear model indicating the linear mapping relationship between the grayscale and brightness of the sub-pixels in each channel. For example, the linear model includes a linear model indicating the linear mapping relationship between the grayscale and brightness of the first sub-pixel belonging to the first channel, a linear model indicating the linear mapping relationship between the grayscale and brightness of the second sub-pixel belonging to the second channel, and a linear model indicating the linear mapping relationship between the grayscale and brightness of the third sub-pixel belonging to the third channel.
[0083] For example, the linear model scaling factor for each pixel can be calculated using the following formulas 3-1, 3-2, and 3-3:
[0084]
[0085]
[0086]
[0087] Where R is the pixel value of the first sub-pixel, G is the pixel value of the second sub-pixel, B is the pixel value of the third sub-pixel, L0(R) represents the brightness value of the first channel when the screen current load is minimum, L1(R) represents the brightness value of the first channel when the screen current load is maximum, L0_L1(R) represents the scaling factor of the linear model of the pixel in the first channel, and wmin r wmax represents the weighting coefficient of the first channel when the screen current load is minimum. r This represents the weighting coefficient of the first channel when the screen current load is at its maximum. This represents the gamma coefficient of the first channel when the screen current load is at its minimum. L0(G) represents the gamma value of the first channel when the screen current load is at its maximum; L1(G) represents the brightness value of the second channel when the screen current load is at its minimum; L0_L1(G) represents the brightness value of the second channel when the screen current load is at its maximum; L0_L1(G) represents the scaling factor of the linear model of the pixel in the second channel; wmin g wmax represents the weighting coefficient of the second channel when the screen current load is at its minimum. g This represents the weighting coefficient of the second channel when the screen current load is at its maximum. This represents the gamma coefficient of the second channel when the screen current load is at its minimum. L0(B) represents the gamma coefficient of the second channel when the screen current load is at its maximum; L1(B) represents the brightness value of the third channel when the screen current load is at its minimum; L0_L1(B) represents the brightness value of the third channel when the screen current load is at its maximum; L0_L1(B) represents the scaling factor value of the pixel in the linear model of the third channel; wmin b wmax represents the weighting coefficient of the third channel when the screen current load is at its minimum. b The weighting coefficient for the third channel represents the maximum screen current load. The gamma coefficient of the third channel indicates the minimum screen current load. This represents the gamma coefficient of the third channel when the screen current load is at its maximum.
[0088] For example, the storage module in the scaling factor calculation module stores three second lookup tables, corresponding to the first, second, and third channels, respectively. Each second lookup table specifies the mapping relationship between the pixel value of a sub-pixel belonging to the corresponding channel and the scaling factor of the linear model corresponding to that sub-pixel. For example, the three second lookup tables include LUT4 corresponding to the first channel, LUT5 corresponding to the second channel, and LUT6 corresponding to the third channel. For example, LUT4 specifies the mapping relationship between the pixel value R of the first sub-pixel belonging to the first channel and the scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel; LUT5 specifies the mapping relationship between the pixel value G of the second sub-pixel belonging to the second channel and the scaling factor L0_L1(G) of the linear model corresponding to the second sub-pixel; and LUT6 specifies the mapping relationship between the pixel value B of the third sub-pixel belonging to the third channel and the scaling factor L0_L1(B) of the linear model corresponding to the third sub-pixel.
[0089] For example, taking the first channel as an example, because Only the pixel value R of the first sub-pixel is used as the input variable, therefore it can be... This is done as a separate lookup table, thus reducing the number of lookup tables and lowering resource consumption. For example, the pixel value R of the first sub-pixel can be used as an input variable. By iterating through all possible values of pixel value R, the mapping value corresponding to pixel value R can be determined as the scaling factor of the linear model corresponding to that pixel.
[0090] The process of creating and using lookup tables in the second and third channels is similar to that in the first channel, and will not be repeated here.
[0091] In at least one embodiment of this disclosure, the calculation of the gamma exponent and the division calculation in the scaling factor calculation are regarded as a whole to construct a lookup table, which reduces circuit resource consumption, improves the timing performance of the circuit, reduces implementation cost and design complexity, and can realize the calculation of the scaling factor with a minimum number of lookup tables.
[0092] For example, the compensation coefficient calculation module 103 is configured to obtain the frame current intensity and determine the compensation coefficient corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity.
[0093] For example, the frame current intensity can include the current intensity corresponding to the neighboring frame or the current intensity corresponding to the current display frame. Here, the neighboring frame is a display frame that is earlier than the current display frame in terms of display time and is adjacent to or separated from the current display frame by a preset number of frames. For example, the neighboring frame can be the previous frame of the current display frame. For example, the current display frame is the N+1th frame and the previous display frame is the Nth frame, where N is a positive integer.
[0094] For example, the frame current intensity can be obtained through the second calculation module 105. For instance, the frame current intensity can be the current intensity corresponding to the previous display frame calculated by the second calculation module 105. In practice, it has been noted that the current intensity corresponding to two adjacent frames does not change significantly. Therefore, using the current intensity corresponding to the previous frame to calculate the compensation coefficient of the pixels in the current display frame does not affect the compensation effect. Furthermore, when performing display compensation on the current display frame, using the current intensity corresponding to the previous frame to calculate the compensation coefficient allows the pixel compensation coefficient to be obtained in real time. There is no need to store parameters such as the current load intensity and the scaling factor of the linear model corresponding to the pixels in the current display frame while waiting for the current intensity calculation to complete. This avoids the need for large-capacity memory, reduces latency caused by data interaction and communication, lowers hardware costs, and improves computational efficiency.
[0095] For example, when the second calculation module 105 receives the pixel values of the pixels included in the current display frame, it calculates the current intensity corresponding to the current display frame, and then transmits the current intensity to the compensation coefficient calculation module when the next display frame arrives, so as to use the frame current intensity in the next display frame for display compensation of the pixels in the next display frame.
[0096] For details on how the second calculation module 105 determines the current intensity corresponding to the current display frame, please refer to the subsequent description of the second calculation module 105; it will not be repeated here.
[0097] For example, when the compensation coefficient calculation module 103 determines the compensation coefficient for each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity, it includes performing the following operations: for each pixel, determining a first value based on the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the first value to obtain a first brightness influence coefficient; determining a second value based on the frame current intensity and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the reciprocal of the second value to obtain a second brightness influence coefficient; and determining the product of the first brightness influence coefficient and the second brightness influence coefficient as the compensation coefficient for the pixel.
[0098] For example, the compensation coefficient for each pixel can be calculated using the following formula 4:
[0099]
[0100] Where X represents the first value, p represents the pixel value, x1(p) represents the first brightness influence coefficient, g represents the gamma coefficient of brightness and grayscale, and Y represents the second value. The second value is represented by x2(p), which represents the second brightness influence coefficient. L0_L1(p) represents the scaling factor of the linear model for this pixel. ratio represents the compensation coefficient corresponding to the pixel. Is pix Is represents the current load intensity corresponding to the pixel. avg This indicates the frame current intensity.
[0101] For example, the compensation coefficient calculation module includes a first multiplier and a first adder. For instance, the first multiplier is configured to calculate the scaling coefficients L0_L1(p) and 1-Is of the linear model corresponding to the pixel. pix The product of these two products yields the first product result (1-Is). pix )*L0_L1(p); The first adder is configured to calculate the first product result and the current load intensity Is corresponding to the pixel. pix The sum of these is used to obtain the first value X.
[0102] As shown in Formula 4, after calculating the first value X, the gamma index is calculated to obtain the first brightness influence coefficient. As mentioned above, gamma index calculation requires a large amount of computing resources. In the display compensation device provided in at least one embodiment of this disclosure, a lookup table is used to replace gamma index calculation. For example, a lookup table is constructed for the gamma index calculation of the first value X.
[0103] For example, the compensation coefficient calculation module also includes a storage module, which stores a third lookup table. The third lookup table specifies the mapping relationship between the first value determined by the current load intensity corresponding to a single pixel and the scaling factor of the linear model corresponding to a single pixel, and the first brightness influence coefficient.
[0104] For example, a first value X can be used as the input value, and the first value X is determined by the current load intensity Is corresponding to the pixel as shown in Formula 4. pix Since the scaling factor L0_L1(p) of the linear model corresponding to the pixel is determined, the third lookup table has two input variables: the current load intensity Is corresponding to the pixel. pix The scaling factor L0_L1(p) of the linear model corresponding to the pixel. For example, the current load intensity Is can be pre-calculated. pix The first value corresponding to all values of the scaling factor L0_L1(p) of the linear model corresponding to the pixel is calculated, and the result after gamma correction is applied to these first values. The mapping relationship between the first value and the corresponding gamma correction result (i.e. the first brightness influence coefficient) is established and stored in the storage module, thereby constructing the third lookup table.
[0105] For example, when the compensation coefficient calculation module performs gamma operation on the first value to obtain the first brightness influence coefficient, it may include the following operation: determining the mapping value corresponding to the first value from the third lookup table as the first brightness influence coefficient based on the first value.
[0106] Using a third lookup table to replace gamma exponent calculation can significantly reduce resource consumption, reduce the implementation complexity of the algorithm IP, and save hardware resources and costs.
[0107] For example, the compensation coefficient calculation module also includes a second multiplier and a second adder. The second multiplier is configured to calculate the scaling coefficients L0_L1(p) and (1-Is) of the linear model corresponding to the pixel. avg The product of ) yields the second product result (1-Is) avg )*L0_L1(p), where Is avg The second adder is configured to calculate the result of the second product with the frame current intensity Is. avg The sum of these values is used to obtain the second value Y.
[0108] For example, as shown in Formula 4, after calculating the second value Y, the second luminance influence coefficient is obtained by calculating the gamma exponent of the reciprocal 1 / Y of the second value. As mentioned above, the gamma exponent calculation requires a large amount of computational resources, so a lookup table is used here instead of the gamma exponent calculation. For example, the gamma exponent calculation of the reciprocal of the second value Y is used as a whole to construct the lookup table.
[0109] For example, the storage module of the compensation coefficient calculation module stores a fourth lookup table, which specifies the mapping relationship between the reciprocal of the second value determined by the current intensity corresponding to the current display frame and the scaling factor of the linear model corresponding to a single pixel, and the second brightness influence coefficient after gamma operation.
[0110] For example, the second value Y can be used as the input value, which is determined by the current intensity Is corresponding to the current display frame as shown in Formula 4. avg The scaling factor L0_L1(p) of the linear model corresponding to the pixel is determined, therefore the fourth lookup table has two input variables: the current intensity Is corresponding to the current display frame. avg The scaling factor L0_L1(p) of the linear model corresponding to the pixel. For example, the current intensity Is corresponding to the current display frame can be pre-calculated. avg The second value is obtained by taking all values of the scaling factor L0_L1(p) of the linear model corresponding to the pixel, and the result after gamma correction of the reciprocal of these second values is calculated. The second value and the corresponding gamma correction result (i.e. the second brightness influence coefficient) are mapped and stored in the storage module, thereby constructing the fourth lookup table.
[0111] For example, the compensation coefficient calculation module performs a gamma operation on the reciprocal of the second value to obtain the second brightness influence coefficient, including: determining the mapping value corresponding to the second value from the fourth lookup table as the second brightness influence coefficient based on the second value.
[0112] For example, each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel. The compensation coefficient for each pixel includes compensation coefficients for different channels. In this case, the pixel's compensation coefficient can be calculated using the following formulas 5-1, 5-2, and 5-3:
[0113]
[0114]
[0115]
[0116] Among them, g r This represents the measured gamma coefficient for the grayscale and current load of the first channel. g This represents the measured gamma coefficient for the grayscale and current load of the second channel. b This represents the measured gamma coefficient for the grayscale and current load of the third channel, where x1(R) represents the current load intensity Is corresponding to the pixel. pix The luminance influence coefficient of the first channel of the pixel, x2(R), represents the current intensity Is of the display frame. pix The brightness influence coefficient of the first channel of the pixel, ratio(R), represents the compensation coefficient of the pixel in the first channel, and x1(G) represents the current load intensity Is corresponding to the pixel. pix The luminance influence coefficient of the second channel of the pixel, x2(G), represents the current intensity Is of the display frame. pix The brightness influence coefficient of the second channel of the pixel, ratio(G) represents the compensation coefficient of the pixel in the second channel, and x1(B) represents the current load intensity Is corresponding to the pixel. pix The luminance influence coefficient of the third channel of the pixel, x2(B), represents the current intensity Is of the display frame. pix The brightness influence coefficient of the third channel of the pixel, ratio(B) represents the compensation coefficient of the pixel in the third channel, X(R) represents the first value for the first channel, Y(R) represents the second value for the first channel, X(G) represents the first value for the second channel, Y(G) represents the second value for the second channel, X(B) represents the first value for the third channel, and Y(B) represents the second value for the third channel.
[0117] For example, each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel. The storage module of the compensation coefficient calculation module stores three third lookup tables and three fourth lookup tables. For example, the three third lookup tables include LUT7 corresponding to the first channel, LUT9 corresponding to the second channel, and LUT11 corresponding to the third channel; the three fourth lookup tables include LUT8 corresponding to the first channel, LUT10 corresponding to the second channel, and LUT12 corresponding to the third channel.
[0118] For example, the third lookup table LUT7 corresponding to the first channel specifies the mapping relationship between the first value X(R) for the first channel and the first luminance influence coefficient x1(R) for the first channel. Here, the first value X(R) for the first channel is determined by the current load intensity Is corresponding to the pixel. pix The scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel is determined.
[0119] For example, the third lookup table LUT9 corresponding to the second channel specifies the mapping relationship between the first value X(G) for the second channel and the first luminance influence coefficient x1(G) for the second channel. Here, the first value X(G) for the second channel is determined by the current load intensity Is corresponding to the pixel. pix The scaling factor L0_L1(G) of the linear model corresponding to the second sub-pixel is determined.
[0120] For example, the third lookup table LUT11 corresponding to the third channel specifies the mapping relationship between the first value X(B) for the third channel and the first luminance influence coefficient x1(B) for the third channel. Here, the first value X(B) for the third channel is determined by the current load intensity Is corresponding to the pixel. pix The scaling factor L0_L1(B) of the linear model corresponding to the third sub-pixel is determined.
[0121] For example, the fourth lookup table LUT8 corresponding to the first channel specifies the mapping relationship between the second value Y(R) for the first channel and the second luminance influence coefficient x2(R) for the first channel. Here, the second value Y(R) for the first channel is determined by the frame current intensity Is. avg The scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel is determined.
[0122] For example, the fourth lookup table LUT10 corresponding to the second channel specifies the mapping relationship between the second value Y(G) for the second channel and the second luminance influence coefficient x2(G) for the second channel. Here, the second value Y(B) for the second channel is determined by the frame current intensity Is. avgThe scaling factor L0_L1(G) of the linear model corresponding to the second sub-pixel is determined.
[0123] For example, the fourth lookup table LUT12 corresponding to the third channel specifies the mapping relationship between the second value Y(B) for the third channel and the second luminance influence coefficient x2(B) for the third channel. Here, the second value Y(B) for the third channel is determined by the frame current intensity Is. avg The scaling factor L0_L1(B) of the linear model corresponding to the third sub-pixel is determined.
[0124] For example, taking the third lookup table LUT7 as an example, the first value X(R) can be used as the input value. The first value X(R) is determined by the current load intensity Is corresponding to the pixel, as shown in Formula 7-1. pix The scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel is determined. Therefore, the third lookup table LUT7 has two input variables: the current load intensity Is corresponding to the pixel. pix The scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel. For example, the current load intensity Is can be pre-calculated. pix The first value X(R) is calculated for all possible values of the scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel. The result of gamma correction is calculated for these first values. The mapping relationship between the first value and the corresponding gamma correction result (i.e., the first brightness influence coefficient x1(R) for the first channel) is established and stored in the storage module, thereby constructing the third lookup table LUT7.
[0125] When determining the first brightness influence coefficient, the first multiplier is first used to calculate the scaling coefficients L0_L1(R) and (1-Is) of the linear model corresponding to the first sub-pixel. pix The product of ) is calculated using the first adder and Is. pix The sum of these values yields the first value X(R) for the first channel. Then, using the first value X(R) for the first channel as the input value, the third lookup table LUT7 is traversed to determine the mapping value corresponding to the first value X(R) for the first channel as the first brightness influence coefficient x1(R) for the first channel.
[0126] The creation and usage of the third lookup table LUT9 and LUT11 are the same as those of the third lookup table LUT7, and will not be repeated here.
[0127] For example, taking the fourth lookup table LUT8 as an example, the second value Y(R) can be used as the input value. The second value Y(R) is determined by the frame current intensity Is according to Equation 7-1. avgThe scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel is determined. Therefore, the fourth lookup table LUT8 has two input variables: the frame current intensity Is. avg The scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel. For example, the frame current intensity Is can be pre-calculated. avg The second value Y(R) is calculated for all possible values of the scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel. The reciprocals of these second values are then gamma-corrected. A mapping relationship is established between the second value and the corresponding gamma correction result (i.e., the second brightness influence coefficient x2(R) for the first channel) and stored in the storage module, thereby constructing the fourth lookup table LUT8.
[0128] When determining the second brightness influence coefficient, the scaling coefficients L0_L1(R) and (1-Is) of the linear model corresponding to the first sub-pixel are first calculated using the second multiplier. avg The product of ) is calculated using the second adder and Is. avg The sum of these values yields the second value Y(R) for the first channel. Then, using the second value Y(R) for the first channel as the input value, the fourth lookup table LUT8 is traversed to determine the mapping value corresponding to the second value Y(R) for the first channel as the second brightness influence coefficient x2(R) for the first channel.
[0129] The creation and usage of the fourth lookup table LUT10 and LUT12 are the same as those of the fourth lookup table LUT8, and will not be repeated here.
[0130] For example, after obtaining the first luminance influence coefficient x1(R) and the second luminance influence coefficient x2(R) for the first channel, the product of the first luminance influence coefficient x1(R) and the second luminance influence coefficient x2(R) is calculated as the compensation coefficient ratio(R) corresponding to the pixel in the first channel, which is also the compensation coefficient corresponding to the first sub-pixel.
[0131] Similarly, the product of the first luminance influence coefficient x1(G) and the second luminance influence coefficient x2(G) is calculated as the compensation coefficient ratio(G) of the pixel in the second channel, which is also the compensation coefficient of the second sub-pixel; the product of the first luminance influence coefficient x1(B) and the second luminance influence coefficient x2(B) is calculated as the compensation coefficient ratio(B) of the pixel in the third channel, which is also the compensation coefficient of the third sub-pixel.
[0132] The compensation coefficient calculation module 103 optimizes the compensation coefficient calculation process according to the data flow. Complex division and exponentiation operations are replaced by lookup tables, which greatly reduces resource consumption, significantly reduces the implementation complexity of the algorithm, and saves hardware resources and costs. At the same time, the optimized calculation process can improve its timing performance and enhance the stability of the calculation circuit.
[0133] For example, the pixel compensation module 104 is configured to perform display compensation on the corresponding pixels according to the compensation coefficient corresponding to each pixel.
[0134] For example, the compensation module includes a multiplier configured to calculate the product of the compensation coefficient corresponding to each pixel and the pixel value of the pixel, and use the product result as the compensation value of the pixel.
[0135] For example, the compensation coefficient calculation module 103 can obtain the compensation coefficients of each pixel for the first channel, the second channel and the third channel. When compensating the pixels, the compensation coefficients are used to perform multiplicative compensation calculations on the pixel values of the sub-pixels of the corresponding channels to obtain the corrected compensation values.
[0136] For example, Figure 3 This is a schematic block diagram of a display compensation device provided for at least one embodiment of the present disclosure.
[0137] like Figure 3 As shown, the compensation device 100 also includes a second calculation module 105.
[0138] For example, the second calculation module 105 is configured to determine the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame.
[0139] As mentioned earlier, the current intensity corresponding to the current display frame can be used as the frame current intensity for display compensation of the current display frame, or it can be used as the frame current intensity in the next display frame for display compensation of the next display frame.
[0140] For example, when the second calculation module 105 performs the operation of determining the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame, it includes performing the following operation: determining the average value of the current load intensity corresponding to each of the pixels included in the current display frame as the current intensity corresponding to the current display frame.
[0141] The current intensity corresponding to the current display frame can be calculated using the following formula 2:
[0142]
[0143] Among them, if avg Is indicates the current intensity corresponding to the current display frame. pixH represents the current load intensity corresponding to a single pixel, H represents the height of the current display frame, and W represents the width of the current display frame.
[0144] In the specific implementation of calculating the current intensity corresponding to the display frame, division calculations also consume massive amounts of computing resources. To reduce resource consumption, at least one embodiment of the display compensation device provided in this disclosure uses multiplication and shift operations to replace division calculations, thereby optimizing the implementation, reducing circuit resource consumption, improving circuit timing performance, and reducing implementation costs and design complexity.
[0145] The optimized calculation formula for the current intensity corresponding to the current display frame is shown in Formula 7 below:
[0146]
[0147] ∑ H,W (Is pix ) represents the sum of the current load intensities corresponding to all pixels included in the current display frame, Round represents the rounding function, H represents the height of the display frame, and W represents the width of the display frame.
[0148] For example, the second calculation module includes an accumulation module, a shift module, and a multiplication module.
[0149] The accumulation module is configured to accumulate the current load intensity corresponding to all pixels in the current display frame to obtain the accumulated current value; the multiplication module is configured to multiply the accumulated current value by a preset number of points; the shift module is configured to shift the product of the accumulated current value and the preset number of points to the right by K positions to obtain the current intensity corresponding to the current frame; where K is a positive integer and the preset number of points is...
[0150] For example, the second calculation module 105 can also be packaged as an IP core, which greatly simplifies the implementation complexity of display compensation, reduces production costs and design and implementation complexity while ensuring the compensation effect, and improves the stability of the circuit.
[0151] Figure 4 A schematic block diagram of a first computing module and a second computing module provided for at least one embodiment of this disclosure.
[0152] like Figure 4 As shown, the first calculation module 101 stores first lookup tables LUT1, LUT2, and LUT3. For any pixel in the display frame, inputting the pixel value R of the first sub-pixel of that pixel into the first lookup table LUT1 in the first calculation module 101 yields the first correction result value after gamma correction of the first sub-pixel. By inputting the pixel value G of the second sub-pixel of the pixel into the first lookup table LUT2 in the first calculation module 101, the second correction result value after gamma correction of the second sub-pixel can be obtained. By inputting the pixel value B of the third sub-pixel of the pixel into the first lookup table LUT3 in the first calculation module 101, the third correction result value after gamma correction of the third sub-pixel can be obtained. The first calculation module 101 also uses an adder to add the first correction result value, the second correction result value, and the third correction result value, and outputs the current load intensity Is corresponding to the pixel. pix .
[0153] Then, the first calculation module 101 calculates the current load intensity Is of the pixel. pix The input is fed into the accumulation module in the second calculation module 105, which continuously accumulates the current load intensity Is of each pixel. pix The accumulated current value ∑ is obtained. H,W (Is pix Then, the accumulated current value is multiplied by the preset number of points P1. Then, the shift module shifts the product of the accumulated current value and P1 to the right by K positions, and outputs the current intensity If corresponding to the current display frame. avg .
[0154] Figure 5 This is a schematic block diagram of a scaling factor calculation module, a compensation factor calculation module, and a pixel compensation module provided for at least one embodiment of the present disclosure.
[0155] like Figure 5 As shown, the scaling factor calculation module 102 stores second lookup tables LUT4, LUT5, and LUT6. For any pixel in the display frame, inputting the pixel value R of the first sub-pixel of that pixel into the second lookup table LUT4 in the scaling factor calculation module 102 yields the scaling factor L0_L1(R) of the linear model corresponding to the first sub-pixel. Inputting the pixel value G of the second sub-pixel of that pixel into the second lookup table LUT5 in the scaling factor calculation module 102 yields the scaling factor L0_L1(G) of the linear model corresponding to the second sub-pixel. Inputting the pixel value B of the third sub-pixel of that pixel into the second lookup table LUT6 in the scaling factor calculation module 102 yields the scaling factor L0_L1(B) of the linear model corresponding to the third sub-pixel.
[0156] The compensation coefficient calculation module 103 receives the scaling coefficients L0_L1(R), L0_L1(G), and L0_L1(B) of the linear model output by the scaling coefficient calculation module 102, and combines them with the current load intensity Is corresponding to the pixel obtained by the first calculation module 101.pix and frame current intensity Is avg The compensation coefficients corresponding to this pixel are determined. These coefficients include the compensation coefficient ratio(R) for the first sub-pixel, the compensation coefficient ratio(G) for the second sub-pixel, and the compensation coefficient ratio(B) for the third sub-pixel. For example, here the frame current intensity Is... avg The current intensity corresponding to the previous display frame is calculated by the second calculation module 102.
[0157] The following is combined Figure 4 This section explains in detail the calculation process of the compensation coefficient ratio(R) for the first sub-pixel.
[0158] First, the compensation coefficient calculation module 103 uses the first multiplier M1 to calculate the scaling factor L0_L1(R) and 1-Is of the linear model corresponding to the first sub-pixel. pix After multiplying by the product, the compensation coefficient calculation module 103 uses the first adder A1 to calculate the product result of the first multiplier M1 and is then used to calculate Is. pix The sum of these values yields a first value X(R). Then, the compensation coefficient calculation module 103 determines the mapping value corresponding to the first value X(R) from the third lookup table LUT7 based on the first value X(R) as the first brightness influence coefficient x1(R) for the first sub-pixel. Simultaneously, as... Figure 4 As shown, the compensation coefficient calculation module 103 uses the second multiplier M2 to calculate the scaling coefficient L0_L1(R) and 1-Is of the linear model corresponding to the first sub-pixel. avg The product of the two multipliers is then calculated by the compensation coefficient calculation module 103 using the second adder A2 and the product of the second multiplier M2 with Is. avg The sum of these values yields the second value Y(R). Then, the compensation coefficient calculation module 103 determines the mapping value corresponding to the second value Y(R) from the fourth lookup table LUT8 based on the second value Y(R) as the second brightness influence coefficient x2(R) for the first sub-pixel.
[0159] After that, as Figure 4 As shown, the compensation coefficient calculation module 103 uses multiplier M3 to calculate the product of the first brightness influence coefficient x1(R) and the second brightness influence coefficient x2(R) to obtain the compensation coefficient ratio(R) for the first sub-pixel.
[0160] The calculation process for the compensation coefficient ratio(G) for the second sub-pixel and the compensation coefficient ratio(B) for the third sub-pixel is similar to that for the compensation coefficient ratio(R) for the first sub-pixel, and will not be repeated here.
[0161] The pixel compensation module 104 receives the compensation coefficient ratio(R) for the first sub-pixel, the compensation coefficient ratio(G) for the second sub-pixel, and the compensation coefficient ratio(B) for the third sub-pixel. It multiplies the compensation coefficient ratio(R) for the first sub-pixel by the pixel value R of the first sub-pixel to obtain the compensated pixel value pixout(R), which is used as the correction value after voltage drop compensation for the first sub-pixel R of the first channel. Similarly, it multiplies the compensation coefficient ratio(G) for the second sub-pixel by the pixel value G to obtain the compensated pixel value pixout(G), which is used as the correction value after voltage drop compensation for the second sub-pixel of the second channel. Finally, it multiplies the compensation coefficient ratio(B) for the third sub-pixel by the pixel value B to obtain the compensated pixel value pixout(B), which is used as the correction value after voltage drop compensation for the third sub-pixel of the third channel. The display device can then calculate the data voltage and display the corresponding brightness based on the correction values.
[0162] Thus, the display compensation device 100 completes the compensation for one pixel, and through multiple rounds of the above process, completes the voltage drop compensation for all pixels included in the display frame, ultimately achieving consistent display brightness of the display frame under different voltage drop levels.
[0163] In the above embodiments, the complex division and gamma exponent operations in the calculation of compensation coefficients and proportional coefficients of linear models have been integrated and optimized, and replaced by lookup tables. This can significantly reduce resource consumption, reduce implementation complexity, and save hardware resources and costs. At the same time, it improves the timing performance of the circuit and reduces implementation costs and design complexity.
[0164] For example, in Figure 3 The display compensation device 100 shown may also include a data synchronization processing module 106.
[0165] For example, the data synchronization processing module 106 is configured to perform delayed synchronization processing on the pixel values input to the first calculation module, the scaling factor calculation module, and the pixel compensation module.
[0166] For example, the pixel compensation module needs to perform pixel compensation after the compensation coefficient calculation module 103 calculates the compensation coefficient. Therefore, the data synchronization processing module 106 directly forwards the pixel value to the first calculation module 101 and the proportional coefficient calculation module 102, but performs delayed synchronization processing on the pixel value input to the pixel compensation module 104, waiting for multiple clock cycles until the compensation coefficient is calculated before sending it to the pixel compensation module for display compensation, thereby ensuring timing synchronization.
[0167] For example, the pixels in the current display frame can be divided into multiple partitions. Pixels in each partition are simultaneously input into the display compensation device for parallel compensation within the same clock cycle. For example, the pixels in the current display frame can be divided into 4*4, 1*8, 2*4, etc. Partitions include adjacent rows of 4, 4, 1, 8, or 2 rows of 4 pixels. Pixels belonging to the same partition are simultaneously input into the display compensation device for parallel display compensation within the same clock cycle, thereby improving computational efficiency.
[0168] For example, if computing resources are abundant, the display compensation device can instantiate multiple first calculation modules, multiple scaling factor calculation modules, multiple compensation factor calculation modules, and multiple pixel compensation modules to simultaneously perform display compensation on pixels belonging to the same partition.
[0169] For example, the pixel values of multiple pixels in the current display frame can be sequentially input into the display compensation device at intervals of one or more clock cycles for display compensation, without having to wait for the previous pixel to finish display compensation before compensating the next pixel, thereby accelerating the compensation process.
[0170] For example, the display compensation device can be implemented using digital circuitry, such as a digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. This disclosure does not impose any specific limitations in this regard.
[0171] Corresponding to the above-described display compensation device, at least one embodiment of this disclosure also provides a display compensation method. Figure 6 This is a schematic flowchart illustrating a display compensation method provided in at least one embodiment of the present disclosure.
[0172] like Figure 6 As shown, the display compensation method provided in at least one embodiment of this disclosure includes steps S10-S50.
[0173] In step S10, the pixel values of the pixels included in the current display frame are received, and the current load intensity corresponding to each pixel is determined.
[0174] In step S20, the scaling factor of the linear model corresponding to each pixel is determined by combining the pixel value of each pixel.
[0175] Here, the linear model indicates the linear mapping relationship between the grayscale and brightness of a pixel.
[0176] In step S30, the frame current intensity is obtained.
[0177] In step S40, the compensation coefficient for each pixel is determined based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity.
[0178] In step S50, display compensation is performed on the corresponding pixels according to the compensation coefficient corresponding to each pixel.
[0179] For example, step S10 may include: for each pixel, determining the correction value after gamma correction of the pixel; and determining the current load intensity corresponding to the pixel based on the correction value.
[0180] For example, each pixel includes a first sub-pixel, a second sub-pixel, and a third sub-pixel. Step S10 may include: determining a first correction value after gamma correction of the first sub-pixel, a second correction value after gamma correction of the second sub-pixel, and a third correction value after gamma correction of the third sub-pixel. When the first calculation module performs the operation of determining the current load intensity corresponding to the pixel based on the pixel correction value, it includes performing the following operation: determining the weighted sum of the first correction value, the second correction value, and the third correction value as the current load intensity corresponding to the pixel.
[0181] For example, at least one embodiment of the display compensation method provided in this disclosure further includes: providing a first lookup table, wherein the first lookup table specifies the mapping relationship between the pixel value of a single pixel and the correction value after gamma correction of the single pixel.
[0182] For example, determining the correction value after gamma correction for each pixel may include: determining the mapping value corresponding to the pixel value from a first lookup table as the correction value based on the pixel value of the pixel.
[0183] For example, each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel. The display compensation method provided in at least one embodiment of this disclosure further includes: providing three first lookup tables, wherein the three first lookup tables correspond to the first channel, the second channel, and the third channel, respectively. Each first lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the channel corresponding to the first lookup table and the correction result value after gamma correction, wherein the correction result value is the product of the correction value after gamma correction of the sub-pixel and the corresponding weight.
[0184] For example, at least one embodiment of the display compensation method provided in this disclosure further includes: providing a second lookup table, which specifies the mapping relationship between the pixel value of a single pixel and the scaling factor of a linear model.
[0185] For example, step S20 may include: determining the scaling factor of the linear model corresponding to the pixel from a second lookup table based on the pixel value of the pixel.
[0186] For example, the mapping relationship between the pixel value of a single pixel and the scaling factor of a linear model is expressed as:
[0187]
[0188] Where p represents the pixel value of a single pixel, L0_L1(p) represents the scaling factor of the linear model for a single pixel, and wmin p wmax represents the weighting factor when the screen current load is at its minimum. p This represents the weighting factor when the screen current load is at its maximum. The gamma coefficient represents the minimum screen current load. This represents the gamma coefficient when the screen current load is at its maximum.
[0189] For example, if each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel, the linear model includes a linear model indicating the linear mapping relationship between the grayscale and brightness of the sub-pixels in each channel. In this case, the display compensation method provided in at least one embodiment of this disclosure further includes: providing three second lookup tables, wherein the three second lookup tables correspond to the first channel, the second channel, and the third channel, respectively; each second lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the channel corresponding to the second lookup table and the scaling factor of the linear model corresponding to the sub-pixel.
[0190] For example, the frame current intensity can include the current intensity corresponding to the neighboring frame or the current intensity corresponding to the current display frame. Here, the neighboring frame is a display frame that is earlier than the current display frame in terms of display time and is adjacent to or separated from the current display frame by a preset number of frames. For example, the neighboring frame can be the previous frame of the current display frame. For example, the current display frame is the N+1th frame and the previous display frame is the Nth frame, where N is a positive integer.
[0191] For example, step S30 may include: obtaining the current intensity corresponding to the neighboring frame as the frame current intensity. For example, the current intensity corresponding to the neighboring frame can be obtained with reference to step S60 below, and the specific process will not be described in detail here.
[0192] For example, step S40 may include: for each pixel, determining a first value based on the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the first value to obtain a first brightness influence coefficient; determining a second value based on the frame current intensity and the scaling factor of the linear model corresponding to the pixel; performing gamma operation on the reciprocal of the second value to obtain a second brightness influence coefficient; and determining the product of the first brightness influence coefficient and the second brightness influence coefficient as the compensation coefficient corresponding to the pixel.
[0193] For example, for each pixel, determining the first value based on the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the pixel can include: calculating the scaling factor of the linear model corresponding to the pixel and (1-Is) pix The product of ) yields the first product result, where Is pix The value represents the current load intensity corresponding to the pixel; the sum of the first product result and the current load intensity corresponding to the pixel is calculated to obtain the first value.
[0194] For example, at least one embodiment of the display compensation method provided in this disclosure further includes: providing a third lookup table, the third lookup table defining a mapping relationship between a first value determined by the current load intensity corresponding to a single pixel and the scaling factor of the linear model corresponding to a single pixel and a first brightness influence coefficient.
[0195] For example, performing a gamma operation on the first value to obtain the first brightness influence coefficient may include: determining the mapping value corresponding to the first value from a third lookup table based on the first value as the first brightness influence coefficient.
[0196] For example, determining the second value based on the frame current intensity and the scaling factor of the linear model corresponding to the pixel can include: calculating the scaling factor of the linear model corresponding to the pixel and (1-Is) avg The product of ), where Is avg The frame current intensity is represented, and the second product result is obtained; the sum of the second product result and the frame current intensity is calculated to obtain the second value.
[0197] For example, at least one embodiment of the display compensation method provided in this disclosure further includes: providing a fourth lookup table, which specifies the mapping relationship between a second value determined by the current intensity corresponding to the current display frame and the scaling factor of the linear model corresponding to a single pixel and a second brightness influence coefficient.
[0198] For example, performing a gamma operation on the reciprocal of the second value to obtain the second brightness influence coefficient can include: determining the mapping value corresponding to the second value from the fourth lookup table based on the second value as the second brightness influence coefficient.
[0199] For example, if each pixel includes a first sub-pixel belonging to a first channel, a second sub-pixel belonging to a second channel, and a third sub-pixel belonging to a third channel, the display compensation method provided in at least one embodiment of this disclosure further includes: providing three third lookup tables corresponding to the first channel, the second channel, and the third channel, and three fourth lookup tables corresponding to the first channel, the second channel, and the third channel, respectively.
[0200] The third lookup table corresponding to the first channel specifies the mapping relationship between the first value for the first channel and the first brightness influence coefficient for the first channel. The first value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the first sub-pixel.
[0201] The third lookup table corresponding to the second channel specifies the mapping relationship between the first value for the second channel and the first brightness influence coefficient for the second channel, wherein the second value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the second sub-pixel.
[0202] The third lookup table corresponding to the third channel specifies the mapping relationship between the first value for the third channel and the first brightness influence coefficient for the third channel. The first value for the third channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the third sub-pixel.
[0203] The fourth lookup table corresponding to the first channel specifies the mapping relationship between the second value for the first channel and the second brightness influence coefficient for the first channel. The second value for the first channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the first sub-pixel.
[0204] The fourth lookup table corresponding to the second channel specifies the mapping relationship between the second value for the second channel and the second brightness influence coefficient for the second channel. The second value for the second channel is determined by the scaling factor of the linear model corresponding to the frame current intensity and the second sub-pixel.
[0205] The fourth lookup table corresponding to the third channel specifies the mapping relationship between the second value for the third channel and the second brightness influence coefficient for the third channel. The second value for the third channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the third sub-pixel.
[0206] For example, step S50 may include: calculating the product of the compensation coefficient corresponding to each pixel and the pixel value of the pixel, and using the product result as the compensation value of the pixel.
[0207] For example, at least one embodiment of the display compensation method provided in this disclosure further includes step S60 ( Figure 6 (Not shown in the image).
[0208] For example, in step S60, the current intensity corresponding to the current display frame is determined based on the current load intensity corresponding to all pixels included in the current display frame.
[0209] For example, step S60 may include: determining the average value of the current load intensity corresponding to all pixels included in the current display frame as the current intensity corresponding to the current display frame.
[0210] For example, determining the average current load intensity corresponding to all pixels in the current display frame as the current intensity corresponding to the current display frame can include: accumulating the current load intensity corresponding to all pixels in the current display frame to obtain an accumulated current value; multiplying the accumulated current value by a preset number of points; and shifting the product of the accumulated current value and the preset number of points to the right by K bits to obtain the current intensity corresponding to the current display frame. Here, K is a positive integer, and the preset number of points is Round(2). K / (H·W)), Round represents the rounding function, H represents the height of the display frame, and W represents the width of the display frame.
[0211] For example, at least one embodiment of the display compensation method provided in this disclosure further includes: performing delay synchronization processing on the pixel values input to the first calculation module, the scaling factor calculation module, and the pixel compensation module.
[0212] For example, delayed synchronization processing includes synchronizing the pixel values of the input first calculation module, the scaling factor calculation module, and the pixel compensation module according to timing requirements. For example, the pixel values of the input pixel compensation module are delayed until the compensation coefficient has been calculated in step S40. At this time, the pixel values are transmitted to the pixel compensation module for display compensation.
[0213] In the display compensation method provided in at least one embodiment of this disclosure, the complex division and gamma exponent operations in the calculation of compensation coefficients and proportional coefficients of linear models are integrated and optimized, and replaced by lookup tables, shifting and other methods. While ensuring the compensation effect of the algorithm, it can significantly reduce resource consumption, significantly reduce implementation complexity, and save hardware resources and costs. At the same time, it improves the timing performance of the circuit and reduces implementation costs and design complexity.
[0214] It should be noted that the specific descriptions and related introductions of steps S10-S50 can be found in the aforementioned content regarding the display compensation device. For example, the description of step S10 can be found in... Figure 2 The relevant content of the first calculation module 101 shown; the relevant description of step S20 can be found in the following references. Figure 2 The relevant content of the proportional coefficient calculation module 102 shown; the relevant descriptions of steps S30 and S40 can be found in the following references. Figure 2 The relevant content of the compensation coefficient calculation module 103 shown; the relevant description of step S50 can be found in the following references. Figure 2 The relevant content of the pixel compensation module 104 shown is provided below. Furthermore, the relevant description of step S60 can be found in [reference needed]. Figure 3 The relevant content of the second calculation module 105 shown.
[0215] Furthermore, the display compensation method can achieve similar technical effects to the aforementioned display compensation device, and will not be elaborated further here.
[0216] At least one embodiment of this disclosure also provides a display device, which includes the display compensation device as described in at least one embodiment of this disclosure.
[0217] For example, Figure 7 This is a schematic block diagram of a display device provided for at least one embodiment of the present disclosure.
[0218] For example, the display device 10 can be an active matrix organic light-emitting diode (AMOLED) display device, etc.
[0219] like Figure 7 As shown, the display device 10 includes a display panel 1000, a gate driver 1010, a timing controller 1020, and a data driver 1030. The display panel 1000 includes sub-pixels P defined by the intersection of multiple scan lines GL and multiple data lines DL; the gate driver 1010 is used to drive the multiple scan lines GL; the data driver 1030 is used to drive the multiple data lines DL; the timing controller 1020 is used to process image data RGB input from outside the display device 10, provide the processed image data RGB to the data driver 1030, and output scan control signal GCS and data control signal DCS to the gate driver 1010 and the data driver 1030 to control the gate driver 1010 and the data driver 1030.
[0220] For example, the display panel 1000 may include a substrate (not shown), and the display device 10 includes a plurality of sub-pixels P arranged in an array disposed on the substrate, each sub-pixel P including a light-emitting element 120 and a pixel circuit.
[0221] For example, the substrate can be a flexible substrate or a rigid substrate. For example, the substrate can be made of glass, plastic, quartz or other suitable materials, and the embodiments of this disclosure are not limited thereto.
[0222] like Figure 7 As shown, the display panel 1000 also includes multiple scan lines GL and multiple data lines DL. For example, a subpixel P is disposed in the intersection area of the scan lines GL and the data lines DL. Figure 7 The present invention provides an example of a scan line GL and a data line DL, but depending on the pixel circuit, the scan line GL may specifically include, for example, multiple scan terminals, a reset control signal terminal, etc., and the data line DL may include a data voltage Vdata. The embodiments of this disclosure do not impose specific limitations on this.
[0223] For example, each sub-pixel P can also be connected to a first voltage terminal for providing a first voltage VDD and a fourth voltage terminal VSS for providing a second voltage. Of course, depending on actual needs, the sub-pixel P can also be connected to other voltage terminals, and the embodiments of this disclosure do not impose specific limitations on this. For example, the first and second voltage terminals can be provided by corresponding power lines (e.g., by a power management chip), or as corresponding plate-shaped common electrodes (e.g., a common anode or a common cathode). It should be noted that in... Figure 7 Only a portion of the sub-pixel P, scan line GL, and data line DL are shown.
[0224] For example, gate driver 1010 provides multiple gating signals to multiple scan lines GL based on multiple scan control signals GCS derived from timing controller 1020. These gating signals include scan signals and reset signals, etc. These signals are provided to each sub-pixel P through the multiple scan lines GL.
[0225] For example, data driver 1030 uses a reference gamma voltage to convert digital image data (RGB) input from timing controller 1020 into data signals based on multiple data control signals (DCS) originating from timing controller 1020. Data driver 1030 provides the converted data signals to multiple data lines (DL).
[0226] For example, timing controller 1020 processes externally input image data (RGB) to match the size and resolution of display panel 1000, and then provides the processed image data to data driver 1030. Timing controller 1020 uses synchronization signals (e.g., dot clock DCLK, data enable signal DE, horizontal synchronization signal Hsync, and vertical synchronization signal Vsync) input from outside display device 10 to generate multiple scan control signals GCS and multiple data control signals DCS. Timing controller 1020 provides the generated scan control signals GCS and data control signals DCS to gate driver 1010 and data driver 1030 respectively for control of gate driver 1010 and data driver 1030.
[0227] For example, the display compensation device 100 provided in at least one embodiment of this disclosure can be deployed in the timing controller Tcon to perform voltage drop compensation processing on all display frames.
[0228] For example, the data driver 1030 can be connected to multiple data lines DL to provide data signals.
[0229] For example, the gate driver 1010 and the data driver 1030 can be implemented as semiconductor chips. The display device 10 may also include other components, such as signal decoding circuits, voltage conversion circuits, etc., which may be existing conventional components, and will not be described in detail here.
[0230] For example, the display device 10 can be used in any product or component with display function, such as e-books, mobile phones, tablets, televisions, monitors, laptops, digital photo frames, and navigators.
[0231] For the technical effects of the display device 10 provided in the above embodiments, please refer to the technical effects of the display compensation device provided in the embodiments of this disclosure, which will not be repeated here.
[0232] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0233] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0234] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
[0235] The following points should be noted regarding this disclosure:
[0236] (1) The accompanying drawings of the embodiments of this disclosure only involve the structures involved in the embodiments of this disclosure. Other structures can be referred to the general design.
[0237] (2) Where there is no conflict, the embodiments of this disclosure and the features in the embodiments can be combined with each other to obtain new embodiments.
[0238] The above description is only a specific embodiment of this disclosure, but the protection scope of this disclosure is not limited thereto. The protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A display compensation device, comprising: The first calculation module is configured to receive the pixel values of the pixels included in the current display frame and determine the current load intensity corresponding to each pixel. The scaling factor calculation module is configured to combine the pixel value of each pixel to determine the scaling factor of the linear model corresponding to each pixel, wherein the linear model indicates the linear mapping relationship between the gray level and the brightness of the pixel; The compensation coefficient calculation module is configured to obtain the frame current intensity and determine the compensation coefficient corresponding to each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity. The frame current intensity includes the current intensity corresponding to the neighboring frame or the current intensity corresponding to the current display frame. The neighboring frame is a display frame that is earlier than the current display frame in display time and is adjacent to or separated from the current display frame by a preset number of frames. The pixel compensation module is configured to perform display compensation on the corresponding pixels based on the compensation coefficient corresponding to each pixel. Each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel. The linear model includes a linear model that indicates the linear mapping relationship between the grayscale and brightness of sub-pixels in each channel; The scaling factor calculation module includes a storage module, which stores three second lookup tables, each corresponding to the first channel, the second channel, and the third channel, respectively. Each second lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the corresponding channel of the second lookup table and the scaling factor of the linear model corresponding to the sub-pixel.
2. The display compensation apparatus of claim 1, wherein, When the first calculation module receives the pixel values of the pixels included in the current display frame and determines the current load intensity corresponding to each pixel, it includes performing the following operations: For each pixel, determine the correction value after gamma correction of the pixel; The current load intensity corresponding to the pixel is determined based on the correction value.
3. The display compensation device according to claim 2, wherein, When the first calculation module determines the correction value after gamma correction for each pixel, it includes performing the following operations: Determine a first correction value after gamma correction of the first sub-pixel, a second correction value after gamma correction of the second sub-pixel, and a third correction value after gamma correction of the third sub-pixel; When the first calculation module determines the current load intensity corresponding to the pixel based on the pixel correction value, it includes performing the following operations: The weighted sum of the first correction value, the second correction value, and the third correction value is determined as the current load intensity corresponding to the pixel.
4. The display compensation apparatus of claim 2, wherein, The first calculation module includes a storage module, which stores a first lookup table. The first lookup table specifies the mapping relationship between the pixel value of a single pixel and the correction value after gamma correction of the single pixel. When the first calculation module determines the correction value after gamma correction for each pixel, it includes performing the following operations: Based on the pixel value of the pixel, a mapping value corresponding to the pixel value is determined from the first lookup table as the correction value.
5. The display compensation apparatus of claim 3, wherein, The first calculation module includes a storage module, which stores three first lookup tables corresponding to the first channel, the second channel, and the third channel, respectively. Each first lookup table defines the mapping relationship between the pixel value of the sub-pixel belonging to the corresponding channel of the first lookup table and the correction result value after gamma correction, wherein the correction result value is the product of the correction value after gamma correction of the sub-pixel and the corresponding weight.
6. The display compensation apparatus of claim 1, wherein, The scaling factor calculation module includes a storage module that stores a second lookup table. The second lookup table specifies the mapping relationship between the pixel value of a single pixel and the scaling factor of the linear model. When the scaling factor calculation module determines the scaling factor of the linear model corresponding to each pixel based on the pixel values included in the current display frame, it includes the following operations: The scaling factor of the linear model corresponding to the pixel is determined from the second lookup table based on the pixel value of the pixel. The mapping relationship is expressed as follows: Where p represents the pixel value of a single pixel. The scaling factor represents the linear model of the individual pixel. This represents the weighting factor when the screen current load is at its minimum. This represents the weighting factor when the screen current load is at its maximum. The gamma coefficient represents the minimum screen current load. This represents the gamma coefficient when the screen current load is at its maximum.
7. The display compensation device according to claim 1, wherein, When the compensation coefficient calculation module performs the following operations to obtain the frame current intensity and determine the compensation coefficient for each pixel based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity: For each pixel, a first value is determined based on the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the pixel; Perform gamma calculation on the first value to obtain the first brightness influence coefficient; The second value is determined based on the frame current intensity and the scaling factor of the linear model corresponding to the pixel; Perform a gamma operation on the reciprocal of the second value to obtain the second brightness influence coefficient; The product of the first brightness influence coefficient and the second brightness influence coefficient is determined as the compensation coefficient corresponding to the pixel.
8. The display compensation device according to claim 7, wherein, The compensation coefficient calculation module includes a first multiplier and a first adder. The first multiplier is configured to calculate the scaling factor of the linear model corresponding to the pixel and 1- The product of and yields the first product result, where . This indicates the current load intensity corresponding to the pixel; The first adder is configured to calculate the sum of the first product result and the current load intensity corresponding to the pixel to obtain the first value.
9. The display compensation device according to claim 7 or 8, wherein, The compensation coefficient calculation module also includes a second multiplier and a second adder. The second multiplier is configured to calculate the scaling factor of the linear model corresponding to the pixel and 1- The product of and yields the second product result, where . This indicates the frame current intensity; The second adder is configured to calculate the sum of the second product result and the frame current intensity to obtain the second value.
10. The display compensation device according to claim 7, wherein, The compensation coefficient calculation module also includes a storage module, which stores a third lookup table and a fourth lookup table. The third lookup table specifies the mapping relationship between a first value determined by the current load intensity corresponding to a single pixel and the scaling factor of the linear model corresponding to that single pixel, and a first brightness influence coefficient after gamma calculation. The fourth lookup table specifies the mapping relationship between the second value, determined by the frame current intensity and the scaling factor of the linear model corresponding to a single pixel, and the second brightness influence coefficient. When the compensation coefficient calculation module performs gamma calculation on the first value to obtain the first brightness influence coefficient, it includes the following operations: Based on the first value, a mapping value corresponding to the first value is determined from the third lookup table as the first brightness influence coefficient; The compensation coefficient calculation module performs a gamma operation on the reciprocal of the second value to obtain the second brightness influence coefficient, including: The mapping value corresponding to the second value is determined from the fourth lookup table based on the second value and used as the second brightness influence coefficient.
11. The display compensation device according to claim 7, wherein, The compensation coefficient calculation module further includes a storage module, which stores three third lookup tables corresponding to the first channel, the second channel, and the third channel, and three fourth lookup tables corresponding to the first channel, the second channel, and the third channel, respectively. A third lookup table corresponding to the first channel defines the mapping relationship between a first value for the first channel and a first brightness influence coefficient for the first channel. The first value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the first sub-pixel. A third lookup table corresponding to the second channel specifies the mapping relationship between a first value for the second channel and a first brightness influence coefficient for the second channel. The second value for the first channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the second sub-pixel. A third lookup table corresponding to the third channel specifies the mapping relationship between a first value for the third channel and a first brightness influence coefficient for the third channel. The first value for the third channel is determined by the current load intensity corresponding to the pixel and the scaling factor of the linear model corresponding to the third sub-pixel. The fourth lookup table corresponding to the first channel specifies the mapping relationship between the second value for the first channel and the second brightness influence coefficient for the first channel, wherein the second value for the first channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the first sub-pixel. The fourth lookup table corresponding to the second channel specifies the mapping relationship between the second value for the second channel and the second brightness influence coefficient for the second channel, wherein the second value for the second channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the second sub-pixel. The fourth lookup table corresponding to the third channel specifies the mapping relationship between the second value for the third channel and the second brightness influence coefficient for the third channel, wherein the second value for the third channel is determined by the frame current intensity and the scaling factor of the linear model corresponding to the third sub-pixel.
12. The display compensation device according to claim 1, wherein, The pixel compensation module includes a multiplier. The multiplier is configured to calculate the product of the compensation coefficient corresponding to each pixel and the pixel value of the pixel, and use the product result as the compensation value of the pixel.
13. The display compensation device according to claim 1, further comprising: The second calculation module is configured to determine the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame.
14. The display compensation device according to claim 13, wherein, When the second calculation module determines the current intensity corresponding to the current display frame based on the current load intensity corresponding to all pixels included in the current display frame, it includes performing the following operations: The average value of the current load intensity corresponding to all pixels included in the current display frame is determined as the current intensity corresponding to the current display frame.
15. The display compensation device according to claim 14, wherein, The second calculation module includes an accumulation module, a shift module, and a multiplication module. The accumulation module is configured to accumulate the current load intensity corresponding to all pixels included in the current display frame to obtain the accumulated current value; The multiplication module is configured to multiply the accumulated current value by a preset number of points to obtain a third product result; The shift module is configured to shift the third product result to the right by K positions to obtain the current intensity corresponding to the current display frame. Where K is a positive integer, and the preset number of points is... Round represents the rounding function, H represents the height of the display frame, and W represents the width of the display frame.
16. The display compensation device according to any one of claims 1-8, 10-15, wherein, The display compensation device also includes a data synchronization processing module. The data synchronization processing module is configured to perform delayed synchronization processing on the pixel values input to the first calculation module, the proportional coefficient calculation module, and the pixel compensation module.
17. The display compensation device according to any one of claims 1-8, 10-15, wherein, The current display frame comprises multiple pixels divided into multiple partitions, and the pixels in each partition are simultaneously input into the display compensation device for parallel compensation in the same clock cycle.
18. The display compensation device according to claim 17, wherein, The display compensation device instantiates multiple first calculation modules, multiple scaling factor calculation modules, multiple compensation factor calculation modules, and multiple pixel compensation modules to simultaneously perform display compensation on pixels belonging to the same partition.
19. The display compensation device according to any one of claims 1-8, 10-15, wherein, The first calculation module, the scaling factor calculation module, the compensation factor calculation module, and the pixel compensation module are all encapsulated as an intellectual property core.
20. A display compensation method, comprising: Receive the pixel values of the pixels included in the current display frame and determine the current load intensity corresponding to each pixel; By combining the pixel value of each pixel, the scaling factor of the linear model corresponding to each pixel is determined, wherein the linear model indicates the linear mapping relationship between the gray level and the brightness of the pixel; The frame current intensity is obtained, and the compensation coefficient corresponding to each pixel is determined based on the scaling factor of the linear model corresponding to each pixel, the current load intensity corresponding to each pixel, and the frame current intensity. The frame current intensity includes the current intensity corresponding to the neighboring frame or the current intensity corresponding to the current display frame. The neighboring frame is a display frame that is earlier than the current display frame in display time and is adjacent to or separated from the display frame by a preset number of frames. Display compensation is applied to the corresponding pixels based on the compensation coefficient for each pixel. Each pixel includes a first sub-pixel belonging to the first channel, a second sub-pixel belonging to the second channel, and a third sub-pixel belonging to the third channel. The linear model includes a linear model that indicates the linear mapping relationship between the grayscale and brightness of sub-pixels in each channel; The scaling factor calculation module includes a storage module, which stores three second lookup tables, each corresponding to the first channel, the second channel, and the third channel, respectively. Each second lookup table specifies the mapping relationship between the pixel value of the sub-pixel belonging to the corresponding channel of the second lookup table and the scaling factor of the linear model corresponding to the sub-pixel.
21. The display compensation method according to claim 20, further comprising: The current intensity corresponding to the current display frame is determined based on the current load intensity corresponding to each pixel included in the current display frame.
22. A display device, comprising the display compensation device as described in any one of claims 1-19.