Pixel compensation method, display panel and computer program
By selecting key pixel points on the display screen for interpolation operations, the problem of uneven display of the display panel is solved, the hardware efficiency is improved and the display uniformity is achieved, and the cost and power consumption is reduced.
Patent Information
- Application Number
- CN202510903926.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2025-08-08
AI Technical Summary
The prior art shows uneven displays due to differences in circuit and material characteristics of sub-pixels in the display panel, resulting in high hardware costs and dramatic increase in power consumption.
By selecting key pixel points on the display for register configuration, and using interpolation calculation method, the compensation value of the intermediate pixel points is calculated to reduce hardware overhead and power consumption.
It achieves the realization of ensuring display accuracy while significantly improving hardware efficiency and display panel uniformity, reducing hardware cost and power consumption.
Smart Images

Figure CN120452374A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a pixel compensation method, a display panel, and a computer program. Background Art
[0002] Display panels are widely used across various industries. Subpixels are distributed across the panel from top to bottom. Differences in subpixel circuitry and material characteristics result in inconsistent brightness and color performance for different subpixels under the same input signal, resulting in uneven display. Therefore, different levels of pixel compensation are required for different subpixels.
[0003] Currently, to address the issue of display unevenness on display panels, compensation values for each sub-pixel in the display panel are stored in registers in the display driver chip, and these values are directly used during operation to correct display unevenness. However, this approach increases the demand for registers or storage space, resulting in high hardware costs and a sharp increase in power consumption. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a pixel compensation method, a display panel and a computer program, by configuring registers for typical positions (key pixel points) of the screen, and the remaining parts can be obtained by calculation based on the configuration values of the key pixel points, thereby saving hardware overhead while performing pixel compensation.
[0005] In a first aspect, an embodiment of the present application provides a pixel compensation method, which includes: performing an interpolation operation in a first direction on adjacent key pixel points in a first direction of a pixel area of a current frame to obtain a compensation value of an intermediate pixel point located between adjacent key pixel points; wherein the key pixel point is a pixel point on a display screen that is pre-selected and has a compensation value stored therein; performing an interpolation operation in a second direction based on the compensation value of the intermediate pixel point to obtain a compensation value of a pixel point to be compensated in a target pixel line; and compensating the pixel value of the pixel point to be compensated with the compensation value of the pixel point to be compensated.
[0006] In the above implementation process, the pixel compensation method provided in the embodiment of the present application achieves a significant improvement in hardware efficiency while ensuring display accuracy through a two-stage interpolation architecture of interpolation of key pixel points in the first direction and interpolation of intermediate pixel points in the second direction, thereby ensuring the uniformity of the display of the display panel.
[0007] Optionally, in an embodiment of the present application, the first direction includes a horizontal direction and the second direction includes a vertical direction; for adjacent key pixel points in the first direction of the pixel area of the current frame, an interpolation operation in the first direction is performed to obtain compensation values of intermediate pixel points between adjacent key pixel points, including: for the upper key row of the target pixel line, all adjacent key pixel points in the horizontal direction, an interpolation operation in the horizontal direction is performed to obtain compensation values of intermediate pixel points in the upper key row between adjacent key pixel points; for the lower key row of the target pixel line, all adjacent key pixel points in the horizontal direction, an interpolation operation in the horizontal direction is performed to obtain compensation values of intermediate pixel points in the lower key row between adjacent key pixel points.
[0008] Optionally, in an embodiment of the present application, an interpolation operation is performed in a second direction based on the compensation value of the middle pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, including: performing an interpolation operation in a longitudinal direction based on the compensation value of the middle pixel point of the upper key row and the compensation value of the middle pixel point of the lower key row to obtain the pixel value of the pixel point to be compensated in the target pixel line.
[0009] In the above implementation process, the pixel compensation method provided by the embodiment of the present application establishes the necessary data foundation for subsequent vertical interpolation by parallel processing of the horizontal interpolation operations of all adjacent key pixels in the upper and lower key rows. The step-by-step processing method of the first pixel compensation method provided by the embodiment of the present application effectively decouples the computational dependencies between horizontal and vertical interpolation. The two sets of horizontal interpolation circuits avoid data duplication through parallel calculations, ensuring real-time compensation while maintaining high interpolation accuracy.
[0010] Optionally, in an embodiment of the present application, the first direction includes a longitudinal direction, and the second direction includes a transverse direction; for adjacent key pixel points in the first direction of the pixel area of the current frame, an interpolation operation in the first direction is performed to obtain compensation values of intermediate pixel points located between adjacent key pixel points, including: for the upper key row and the lower key row of the target pixel line, adjacent key pixel points in the longitudinal direction, an interpolation operation in the longitudinal direction is performed to obtain compensation values of intermediate pixel points located between adjacent key pixel points in the target pixel line in the transverse direction.
[0011] Optionally, in an embodiment of the present application, an interpolation operation is performed in a second direction based on the compensation value of the middle pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, including: performing an interpolation operation in a horizontal direction based on the compensation value of the middle pixel point to obtain the pixel values of the pixel points to be compensated in the target pixel line except the middle pixel point.
[0012] In the above implementation process, the second implementation method of the pixel compensation method provided by the embodiment of the present application first performs a vertical interpolation operation on adjacent key pixel points to obtain a compensation value for the middle pixel point; further, the compensation value for the middle pixel point can be used to perform a horizontal interpolation operation on the middle pixel point. Therefore, only the interpolation operation of the key pixel points needs to be performed vertically, and it is no longer necessary to perform interpolation operations on all adjacent key pixel points in the upper key construction line and the lower key line. The number of interpolation operations is greatly reduced, which not only improves the efficiency of pixel compensation, but also greatly reduces hardware overhead.
[0013] Optionally, in an embodiment of the present application, the pixel area of the display screen includes multiple pixel sub-areas; and the key pixel point includes the center points of the multiple pixel sub-areas.
[0014] In the above implementation process, the pixel compensation method provided in the embodiment of the present application can select the center point of each pixel sub-region as the key pixel point when selecting the key pixel point, and the center point of each pixel sub-region as the typical feature position, which can not only improve the convenience of calculation, but also improve the accuracy of the pixel compensation value obtained by the difference operation.
[0015] In a second aspect, an embodiment of the present application provides a display panel, which includes a first compensation circuit, a second compensation circuit and a controller; the first compensation circuit is used to perform an interpolation operation in a first direction on adjacent key pixel points in the first direction to obtain a compensation value of an intermediate pixel point located between adjacent key pixel points; wherein the key pixel point is a pixel point on the display screen that is pre-selected and has a compensation value stored therein; the second compensation circuit is used to perform an interpolation operation in a second direction based on the compensation value of the intermediate pixel point to obtain a compensation value of the pixel point to be compensated in the target pixel line; the controller is used to compensate the pixel value of the pixel point to be compensated with the compensation value of the pixel point to be compensated.
[0016] Optionally, in an embodiment of the present application, the first compensation circuit includes a first row compensation circuit and a second row compensation circuit, and the second compensation circuit includes a column compensation circuit; the first row compensation circuit is used to perform a horizontal interpolation operation on all adjacent key pixel points in the horizontal direction of the upper key row of the target pixel line, and obtain the compensation value of the middle pixel point of the upper key row between the adjacent key pixel points; the second row compensation circuit is used to perform a horizontal interpolation operation on all adjacent key pixel points in the horizontal direction of the lower key row of the target pixel line, and obtain the compensation value of the middle pixel point of the lower key row between the adjacent key pixel points; the column compensation circuit is used to perform a vertical interpolation operation based on the compensation value of the middle pixel point of the upper key row and the compensation value of the middle pixel point of the lower key row, and obtain the pixel value of the pixel point to be compensated in the target pixel line.
[0017] Optionally, in an embodiment of the present application, the first compensation circuit includes a column compensation circuit, and the second compensation circuit includes a row compensation circuit; the column compensation circuit is used to perform an interpolation operation in the longitudinal direction on the upper key row and the lower key row of the target pixel line, and the adjacent key pixel points in the longitudinal direction, to obtain the compensation value of the middle pixel point in the target pixel line located between the adjacent key pixel points in the transverse direction; the row compensation circuit is used to perform an interpolation operation in the transverse direction based on the compensation value of the middle pixel point, to obtain the pixel value of the pixel point to be compensated in the target pixel line except the middle pixel point.
[0018] In the above implementation, this calculation method eliminates the need for a compensation value calculation circuit. It also significantly reduces the number of interpolation operations. For example, at a resolution of 1080, obtaining all the middle pixels in a row requires three interpolation operations, and 1080 horizontal interpolation operations. This simplifies the design of the internal algorithms of the display panel driver chip, reducing circuit hardware overhead, interpolation operations, and power consumption.
[0019] In a third aspect, an embodiment of the present application provides a computer program product, which includes a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the method described in any one of the first aspects are implemented.
[0020] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer program instructions are stored in the computer-readable storage medium. When the computer program instructions are read and executed by a processor, the steps in any implementation method of the above-mentioned first aspect are executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A flowchart of a pixel compensation method provided in an embodiment of the present application; Figure 2 A flowchart for obtaining the first intermediate pixel compensation value provided in an embodiment of the present application; Figure 3 A schematic diagram of a first pixel compensation implementation method provided in an embodiment of the present application; Figure 4 A schematic diagram of a second pixel compensation implementation method provided in an embodiment of the present application; Figure 5This is a diagram of the structure of the display panel provided in an embodiment of the present application; Figure 6 A schematic diagram of a first structure of a display panel provided in an embodiment of the present application; Figure 7 A schematic diagram of a second structure of a display panel provided in an embodiment of the present application; Figure 8 A schematic diagram of the operation of the first architecture of the display panel provided in an embodiment of the present application; Figure 9 This is a schematic diagram of the operation of the second architecture of the display panel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, may be implemented using a dedicated hardware-based system that performs the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of the present invention may be integrated together to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
[0024] The primary cause of uneven display in AMOLED panels is variations in sub-pixel circuit and material properties. These factors include varying threshold voltages (Vth) of the driver TFTs, varying degrees of OLED material aging, uneven power supply due to IR drop, errors in vapor deposition or masking during the manufacturing process, and temperature distribution affecting luminous efficiency. These factors result in inconsistent actual brightness and color across sub-pixels under the same input signal, resulting in uneven display that requires correction through compensation technology.
[0025] Currently, existing technologies address the issue of uneven display on display panels by storing compensation values (such as brightness or voltage adjustment parameters) for each sub-pixel in the display panel in registers of a display driver chip, and directly calling these values to correct display unevenness during operation.
[0026] The inventors found that in this process, when the number of sub-pixels is huge (such as a 4K screen, which needs to store tens of millions of compensation values), the demand for registers or storage space surges, resulting in high hardware costs and a sharp increase in power consumption.
[0027] Based on this, the present application proposes a pixel compensation method, display panel, and computer program. This pixel compensation method configures registers at typical screen locations, specifically configuring the values of sub-pixels in key rows (the rows where the configuration registers are located) and key columns (the columns where the configuration registers are located), also known as the values of key point sub-pixels. The remaining values can be calculated based on the key point configuration values, thereby saving hardware overhead while performing pixel compensation.
[0028] Please see Figure 1 , Figure 1 Flowchart of a pixel compensation method provided in an embodiment of the present application; The present application provides a pixel compensation method, which includes the following steps: Step S100: performing an interpolation operation in a first direction on adjacent key pixel points in a pixel area of a current frame image to obtain compensation values of intermediate pixel points between the adjacent key pixel points.
[0029] In step S100, an interpolation operation is performed in the first direction for key pixels in the pixel region of the current frame to obtain compensation values for intermediate pixels between adjacent key pixels. Key pixels are pre-selected pixels on the display screen for which compensation values are stored, typically pixels at typical locations.
[0030] The first direction and the second direction generally refer to the horizontal direction and the vertical direction of the display screen, and the first direction and the second direction are perpendicular to each other. In the embodiments of the present application, when the first direction refers to the horizontal direction of the display screen, the second direction refers to the vertical direction of the display screen; when the second direction refers to the vertical direction of the display screen, the first direction refers to the horizontal direction of the display screen.
[0031] The target pixel line refers to a row of pixel points for which compensation values are to be obtained.
[0032] Step S200: performing an interpolation operation in a second direction according to the compensation value of the middle pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line.
[0033] In step S200, interpolation is performed in the second direction based on the compensation values of the intermediate pixels to obtain compensation values for the pixels to be compensated in the target pixel line. The sparse key points are first converted into semi-dense intermediate pixels, and then further calculated to obtain the compensation values for the pixels to be compensated in the target pixel line.
[0034] In the implementation of steps S100 to S200, there are two types of interpolation operations. The first type of interpolation operation is to calculate the pixel compensation value of the middle pixel in the same column as the key pixel; or the pixel compensation value of the middle pixel in the same row as the key pixel. The second type of interpolation operation is to calculate the compensation value of the pixel to be compensated in the target pixel line based on the pixel compensation value of the middle pixel.
[0035] Step S300: compensating the pixel value of the pixel to be compensated with the compensation value of the pixel to be compensated.
[0036] In step S300, after obtaining complete pixel compensation values, the calculated values are applied to the display driver. By overlaying the compensation values with the original pixel data, the brightness or color of each pixel on the AMOLED screen is corrected. This effectively eliminates panel unevenness (mura effect) and aging color shift caused by manufacturing process variations or long-term use, achieving a uniform and professional display quality. The compensation process occurs in real time, ensuring high display quality for every frame.
[0037] pass Figure 1 It can be seen that the pixel compensation method provided in the embodiment of the present application, through a two-stage interpolation architecture of interpolating key pixel points in the first direction and interpolating intermediate pixel points in the second direction, achieves a significant improvement in hardware efficiency while ensuring display accuracy, thereby ensuring the uniformity of the display panel.
[0038] Please see Figure 2 and Figure 3 , Figure 2 A flowchart for obtaining the first intermediate pixel compensation value provided in an embodiment of the present application; Figure 3 This is a schematic diagram of a first pixel compensation implementation method provided in an embodiment of the present application; in an optional implementation of the embodiment of the present application, the first direction is the horizontal direction and the second direction is the vertical direction. The above step S100 performs an interpolation operation in the second direction based on the compensation value of the intermediate pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, which can be achieved by the following steps: Step S111: performing a lateral interpolation operation on all adjacent key pixel points in the upper key row of the target pixel line to obtain compensation values of middle pixels in the upper key row between the adjacent key pixel points.
[0039] Step S112: performing a horizontal interpolation operation on all adjacent key pixel points of the target pixel line in the horizontal direction to obtain a compensation value of an intermediate pixel point of the target pixel line in the horizontal direction between the adjacent key pixel points.
[0040] In steps S111 and S112 above, the upper key row and the lower key row refer to two adjacent rows of target pixel lines containing key pixels. First, for the upper key row of the target pixel line, a lateral interpolation operation is performed on all adjacent key pixels in this row; thereby, compensation values for intermediate pixels between adjacent key pixels in the upper key row are obtained. The operations for the lower key row of the target pixel line are similar to those for the upper key row and will not be repeated here.
[0041] In an optional embodiment, Figure 2 and Figure 3 On the basis of this, the above-mentioned step S200 of the embodiment of the present application performs an interpolation operation in the second direction according to the compensation value of the middle pixel point, and obtains the compensation value of the pixel point to be compensated in the target pixel line. This can be achieved in the following way: according to the compensation value of the middle pixel point of the upper key row and the compensation value of the middle pixel point of the lower key row, an interpolation operation in the longitudinal direction is performed to obtain the pixel value of the pixel point to be compensated in the target pixel line.
[0042] For example, please refer to Figure 3 ,exist Figure 3 The black square in the middle is the key pixel point (its compensation value is configured through the register). Figure 3 The pixel area of the display screen is divided into 9 pixel sub-areas, each of which has a key pixel point; the black dots between the key pixels are the intermediate pixels referred to in the above implementation process, and the black diamonds are the target pixels on the target pixel line to be compensated. Figure 3 For example, we first need to perform horizontal interpolation operations on the key lines (both the upper and lower construction lines need to be operated) to calculate the compensation value of the middle pixel point. Figure 3 Taking the first and second columns as an example, we first need to perform horizontal interpolation calculation on the key pixels in the first and second columns ( Figure 3 ①), obtain the compensation value of the middle pixel ( Figure 3 The black dots in the first row, and Figure 3 The black dot in the second row is then interpolated vertically to obtain the pixel compensation value of the black diamond ( Figure 3 (2)
[0043] pass Figure 2 and Figure 3As can be seen, the pixel compensation method provided in the embodiment of the present application establishes the necessary data foundation for subsequent vertical interpolation by parallel processing of the horizontal interpolation operations for all adjacent key pixels in the upper and lower key rows. The step-by-step processing method of the first pixel compensation method provided in the embodiment of the present application effectively decouples the computational dependencies between horizontal and vertical interpolation. The two sets of horizontal interpolation circuits avoid duplicate data processing through parallel calculations, ensuring real-time compensation while maintaining high interpolation accuracy.
[0044] Please refer to Figure 4 , Figure 4 This is a schematic diagram of a second pixel compensation implementation method provided in an embodiment of the present application; in an optional implementation of the embodiment of the present application, the first direction is the longitudinal direction and the second direction is the transverse direction. The above step S100 performs an interpolation operation in the second direction based on the compensation value of the intermediate pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, which can be achieved by the following steps: Step S121: For the upper key row and the lower key row of the target pixel line, an interpolation operation is performed on the adjacent key pixel points in the longitudinal direction to obtain the compensation value of the middle pixel point between the adjacent key pixel points in the target pixel line in the transverse direction.
[0045] In the above step S121 , a longitudinal interpolation operation is performed on adjacent key pixel points in the longitudinal direction to obtain compensation values of intermediate pixel points between adjacent key pixel points on the target pixel line in the transverse direction.
[0046] In an optional embodiment, Figure 4 On this basis, the above-mentioned step S200 of the application embodiment performs an interpolation operation in the second direction according to the compensation value of the middle pixel point, and obtains the compensation value of the pixel point to be compensated in the target pixel line. This can be achieved in the following way: according to the compensation value of the middle pixel point, an interpolation operation in the horizontal direction is performed to obtain the pixel values of the pixel points to be compensated in the target pixel line except the middle pixel point.
[0047] For example, please refer to Figure 4 ,exist Figure 4 The black square in the middle is the key pixel point (its compensation value is configured through the register). Figure 4 The pixel area of the display screen is divided into 9 pixel sub-areas, each of which has a key pixel point; the black dots between the key pixels are the intermediate pixels referred to in the above implementation process, and the black diamonds are the target pixels on the target pixel line to be compensated. Figure 4 For example, first perform a vertical interpolation operation to obtain the compensation value of the middle pixel point, that is, Figure 4 The black dots in the first column and the black dots in the second column ( Figure 4①), and then perform a horizontal interpolation operation to obtain the pixel compensation value of the black diamond ( Figure 4 (2)
[0048] pass Figure 4 It can be seen that the second implementation of the pixel compensation method provided in the embodiment of the present application first performs a vertical interpolation operation on adjacent key pixel points to obtain a compensation value for the middle pixel point; further, the compensation value of the middle pixel point can be used to perform a horizontal interpolation operation on the middle pixel point. Therefore, only the interpolation operation of the key pixel points needs to be performed vertically, and it is no longer necessary to interpolate all adjacent key pixel points in the upper key line and the lower key line. This greatly reduces the number of interpolation operations, which not only improves the efficiency of pixel compensation, but also greatly reduces hardware overhead.
[0049] In an optional embodiment, the pixel area of the display screen includes multiple pixel sub-areas; the key pixel point includes the center point of the multiple pixel sub-areas. Figure 3 and Figure 4 As shown, the pixel area of the display panel is divided into 9 pixel sub-areas, and the central pixel point of each pixel sub-area is selected as the key pixel point.
[0050] In some embodiments, the position of the key pixel point may also be selected from other typical positions, such as the upper left corner point, the lower right corner point, etc. of each pixel sub-region.
[0051] In some embodiments, the number of key pixels in each pixel sub-region is adjustable and can be dynamically adjusted according to the usage time of the display panel or the current brightness value of the display panel.
[0052] It can be seen from this that when selecting key pixel points, the pixel compensation method provided in the embodiment of the present application can select the center point of each pixel sub-region as the key pixel point, and the center point of each pixel sub-region as the typical feature position, which can not only improve the convenience of calculation, but also improve the accuracy of the pixel compensation value obtained by the difference operation.
[0053] Please refer to Figure 5 , Figure 5 This is an architectural diagram of a display panel provided in an embodiment of the present application; the present application also provides a display panel 100 , which includes a first compensation circuit 110 , a second compensation circuit 120 and a controller 130 .
[0054] The first compensation circuit is used to perform an interpolation operation in the first direction on adjacent key pixel points in the first direction to obtain a compensation value for an intermediate pixel point between the adjacent key pixel points; wherein the key pixel point is a pixel point pre-selected on the display screen and having a compensation value stored therein.
[0055] The second compensation circuit is used to perform an interpolation operation in a second direction according to the compensation value of the middle pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line.
[0056] The controller is used to compensate the pixel value of the pixel to be compensated with the compensation value of the pixel to be compensated.
[0057] In the above implementation process, the first compensation circuit performs an interpolation operation in the first direction for the key pixel points in the first direction of the pixel area of the current frame to obtain the compensation value of the intermediate pixel point between adjacent key pixel points. The second compensation circuit performs an interpolation operation in the second direction based on the compensation value of the intermediate pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line. The sparse key points are first converted into semi-dense intermediate pixel points, and then the compensation value of the pixel point to be compensated in the target pixel line is further calculated. After obtaining the complete pixel compensation value, the controller is used to actually apply the calculated compensation value to the display drive, and by superimposing the compensation value with the original pixel data, the brightness or chromaticity correction of each pixel point of the AMOLED screen is achieved.
[0058] In an alternative embodiment, see Figure 6 and Figure 8 , Figure 6 A schematic diagram of a first structure of a display panel provided in an embodiment of the present application; Figure 8 This is a schematic diagram of the operation of the first architecture of the display panel provided in an embodiment of the present application; the first compensation circuit 110 includes a first row compensation circuit 111 and a second row compensation circuit 112, and the second compensation circuit 120 includes a column compensation circuit 121.
[0059] The first row compensation circuit 111 is used to perform a lateral interpolation operation on all adjacent key pixels in the upper key row of the target pixel line to obtain compensation values for the middle pixels of the upper key row between the adjacent key pixels.
[0060] The second row compensation circuit 112 is used to perform a lateral interpolation operation on all adjacent key pixels in the lateral direction of the lower key row of the target pixel line to obtain compensation values for the middle pixels of the lower key row between the adjacent key pixels.
[0061] The column compensation circuit 121 is used to perform a longitudinal interpolation operation based on the compensation value of the middle pixel point of the upper and lower rows to obtain the pixel value of the pixel point to be compensated in the target pixel line.
[0062] Please refer to Figure 8In this example, two circuits are required to calculate the compensation values for the key rows (upper key row and lower key row), and vertical interpolation is also required for each intermediate pixel. Taking a resolution of 1080*2400 as an example, deriving the compensation values for the intermediate pixels in a row requires 1080 vertical interpolation operations and 1080*2=2160 horizontal interpolation operations.
[0063] The horizontal interpolation formula for the upper key row is up_offset = (offset1_2-offset1_1)*(cur_row-row1_1) / (row1_2-row1_1) + offset1_1, and the horizontal interpolation formula for the lower key row is down_offset =(offset2_2-offset2_1)*(cur_row-row2_1) / (row2_2-row2_1) + offset2_1; the vertical interpolation formula is cur_offset = (down_offset - up_offset)*(cur_line - line_upper) / (line_lower - line_upper) + up_offset.
[0064] Among them, row1_1 and row1_2 represent the column coordinates of the two key points in the upper key row, row2_1 and row2_2 represent the column coordinates of the two key points in the lower key row; line_upper represents the row coordinates of the upper key row, and line_lower represents the row coordinates of the lower key row; cur_row represents the column coordinates of the current point to be calculated, and cur_line represents the row coordinates of the current point to be calculated; offset1_1 and offset1_2 represent the compensation values of the two key points in the upper key row, and offset2_1 and offset2_2 represent the compensation values of the two key points in the lower key row.
[0065] Taking a compensation value of 10 bits as an example, in this example, the amount of computation in horizontal interpolation is (10bit-10bit)*(11bit-11bit) / (11bit-11bit) + 10bit, and the amount of computation in vertical interpolation is (10bit-10bit)*(12bit-12bit) / (12bit-12bit) + 10bit.
[0066] In an optional embodiment, please refer to Figure 7 and 9 , Figure 7 A schematic diagram of a second structure of a display panel provided in an embodiment of the present application; Figure 9This is a schematic diagram of the operation of the second architecture of the display panel provided in an embodiment of the present application; the first compensation circuit 110 includes a column compensation circuit 111, and the second compensation circuit 120 includes a row compensation circuit 121.
[0067] The column compensation circuit 111 is used to perform a longitudinal interpolation operation on the upper key row and the lower key row of the target pixel line and the adjacent key pixel points in the longitudinal direction to obtain the compensation value of the middle pixel point between the adjacent key pixel points in the target pixel line in the transverse direction.
[0068] The row compensation circuit 121 is configured to perform a horizontal interpolation operation based on the compensation value of the middle pixel point to obtain the pixel values of the pixels to be compensated in the target pixel line except the middle pixel point.
[0069] Please refer to Figure 9 In this example, the upper key pixel compensation value and the lower key pixel compensation value are first interpolated vertically, and then the middle pixel on the target pixel line is interpolated horizontally, thereby further reducing the number of interpolation operations. Figure 9 As shown in the figure, the vertical interpolation formula for adjacent key pixels in the upper key row and the lower key row is (offset2_1-offset1_1)*(cur_line-line1_1) / (line2_1-line1_1) + offset1_1, and the formula for interpolating the intermediate pixels in the horizontal direction is cur_offset=(offset2_x-offset1_x)*(cur_line-line1_x) / (line2_x-line1_x)+offset1_x; among them, offset1_x represents the compensation value of the key pixel on the first column, offset2_x represents the compensation value of the key pixel on the second column, cur_line represents the row coordinate of the current point to be calculated, line1_x represents the row coordinate of the pixel in the first column, and line2_x represents the row coordinate of the pixel in the second column.
[0070] This calculation method eliminates the need for a compensation value calculation circuit and significantly reduces the number of interpolation operations. Taking a 1080-pixel resolution as an example, obtaining all the middle pixels in a row requires three interpolation operations, and 1080 horizontal interpolation operations. This simplifies the design of the display panel driver chip's internal algorithms, reducing circuit hardware overhead, interpolation operations, and power consumption.
[0071] Based on the same inventive concept, an embodiment of the present application further provides a computer program product including a computer program / instruction. When the computer program / instruction is executed by a processor, the steps in any implementation of the above-mentioned pixel compensation method are executed.
[0072] Based on the same inventive concept, an embodiment of the present application also provides a computer-readable storage medium, which stores computer program instructions. When the computer program instructions are read and executed by a processor, the steps in any implementation method of the above-mentioned pixel compensation method are executed.
[0073] The computer-readable storage medium may be a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or any other medium that can store program code.
[0074] In this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the elements.
[0075] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A pixel compensation method, characterized in that: The pixel compensation method comprises: Performing an interpolation operation in the first direction on adjacent key pixel points in a pixel region of a current frame to obtain compensation values for intermediate pixels between the adjacent key pixel points; wherein the key pixel points are pre-selected pixels on the display screen and have compensation values stored therein; performing an interpolation operation in a second direction according to the compensation value of the middle pixel point to obtain a compensation value of the pixel point to be compensated in the target pixel line; The pixel value of the pixel to be compensated is compensated using the compensation value of the pixel to be compensated.
2. The method according to claim 1, characterized in that in, The first direction comprises a transverse direction, and the second direction comprises a longitudinal direction; The interpolation operation in the first direction is performed on adjacent key pixel points in the pixel area of the current frame to obtain compensation values of intermediate pixel points between the adjacent key pixel points, including: For the upper key row of the target pixel line, all adjacent key pixel points in the horizontal direction are interpolated to obtain compensation values of the middle pixel points of the upper key row between the adjacent key pixel points; For the Xiaguan Jian line of the target pixel line, all adjacent key pixel points in the horizontal direction are interpolated to obtain compensation values of middle pixel points of the Xiaguan Jian line between the adjacent key pixel points.
3. The method according to claim 2, characterized in that The interpolation operation in the second direction is performed based on the compensation value of the intermediate pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, comprising: A longitudinal interpolation operation is performed based on the compensation value of the middle pixel point of the upper key row and the compensation value of the middle pixel point of the lower key row to obtain the pixel value of the pixel point to be compensated in the target pixel line.
4. The method according to claim 1, wherein in, The first direction comprises a longitudinal direction, and the second direction comprises a transverse direction; The interpolation operation in the first direction is performed on adjacent key pixel points in the pixel area of the current frame to obtain compensation values of intermediate pixel points between the adjacent key pixel points, including: For the upper key row and the lower key row of the target pixel line, an interpolation operation is performed in the longitudinal direction on the adjacent key pixel points in the longitudinal direction to obtain the compensation value of the middle pixel point between the adjacent key pixel points in the target pixel line in the transverse direction.
5. The method according to claim 4, characterized in that The interpolation operation in the second direction is performed based on the compensation value of the intermediate pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line, comprising: According to the compensation value of the middle pixel point, a transverse interpolation operation is performed to obtain the pixel values of the pixel points to be compensated in the target pixel line except the middle pixel point.
6. The method according to claim 1, characterized in that in, The pixel area of the display screen includes a plurality of pixel sub-areas; and the key pixel point includes a plurality of center points of the pixel sub-areas.
7. A display panel, characterized in that: The display panel includes a first compensation circuit, a second compensation circuit and a controller; The first compensation circuit is configured to perform an interpolation operation in the first direction on adjacent key pixel points in the first direction to obtain a compensation value for an intermediate pixel point between the adjacent key pixel points; wherein the key pixel point is a pixel point on the display screen that is pre-selected and has a compensation value stored therein; The second compensation circuit is configured to perform an interpolation operation in a second direction according to the compensation value of the middle pixel point to obtain the compensation value of the pixel point to be compensated in the target pixel line; The controller is used to compensate the pixel value of the pixel to be compensated by using the compensation value of the pixel to be compensated.
8. The display panel according to claim 7, wherein: The first compensation circuit includes a first row compensation circuit and a second row compensation circuit, and the second compensation circuit includes a column compensation circuit; The first row compensation circuit is used to perform a lateral interpolation operation on all adjacent key pixel points in the lateral direction of the upper key row of the target pixel line to obtain a compensation value for an intermediate pixel point in the upper key row between the adjacent key pixel points; The second row compensation circuit is used to perform a lateral interpolation operation on all adjacent key pixel points in the lateral direction of the lower key row of the target pixel line to obtain a compensation value for an intermediate pixel point in the lower key row between the adjacent key pixel points; The column compensation circuit is used to perform a longitudinal interpolation operation based on the compensation value of the middle pixel point of the upper and lower rows, to obtain the pixel value of the pixel point to be compensated in the target pixel line.
9. The display panel according to claim 8, wherein: The first compensation circuit includes a column compensation circuit, and the second compensation circuit includes a row compensation circuit; The column compensation circuit is used to perform a longitudinal interpolation operation on the upper key row and the lower key row of the target pixel line and the adjacent key pixel points in the longitudinal direction to obtain a compensation value of an intermediate pixel point between the adjacent key pixel points in the target pixel line in the transverse direction; The row compensation circuit is used to perform a transverse interpolation operation according to the compensation value of the middle pixel point to obtain the pixel values of the pixel points to be compensated in the target pixel line except the middle pixel point.
10. A computer program product, characterized in that The computer program product comprises a computer program / instruction, which implements the steps of the method according to any one of claims 1 to 6 when executed by a processor.