A method and apparatus for displaying edge compensation

CN123016859APending Publication Date: 2026-10-30苇渡微电子(广东)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610295771.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-11
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0003]现有显示边缘补偿技术主要分为两类,一类是通过蒙版叠加方式实现补偿,将包含各像素 RGB 系数的蒙版数据存储后与图像融合,虽能改善锯齿和偏色问题,但蒙版数据调试工作量大,压缩后受存储介质空间限制,难以适配驱动芯片的一次性可编程存储器;另一类是通过曲线拟合切割边缘,计算交点像素透明度系数后融合输出,该方式对复杂曲线需多段拟合,占用大量计算资源

Benefits of technology

[0036]本申请通过判断像素所处的过渡子区域类型分方向计算补偿增益系数,使增益系数的计算更贴合异形边缘的过渡特性,结合像素数据的亮度响应特性进行线性域与非线性域的转换,保证了增益系数对像素数据的精准补偿,有效改善了显示面板异形切割边缘的锯齿、偏色和信号离散问题,提升了边缘显示的均匀性。本方法的补偿范围可通过调整内外多边形的过渡区域宽度灵活控制,适配AMOLED、Micro OLED、Micro LED等多种类型的显示面板,可在显示驱动集成电路或源设备中执行,完全适配高屏占比、高分辨率、高刷新率的显示驱动场景,且实施过程中各电路模块协同工作的时序与现有显示驱动系统兼容,无需对现有硬件进行大幅改造,易实现产业化应用。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123016859A_ABST
    Figure CN123016859A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of display control, and discloses a display edge compensation method and device. The method comprises the following steps: acquiring inner and outer polygon parameters of an edge transition area of an effective display area of a display panel, receiving to-be-displayed pixel data and pixel position information of the to-be-displayed pixel data, judging whether a current pixel is located in the transition area according to the pixel position information and the polygon parameters, calculating a compensation gain coefficient based on the pixel position information and the polygon parameters if the current pixel is located in the transition area, and finally performing compensation processing on the pixel data according to the compensation gain coefficient to obtain compensated pixel data. According to the method, the special-shaped edge is fitted through the polygon parameters, the storage and calculation efficiency is considered, the transition area is accurately identified and the compensation coefficient is calculated, the problems of special-shaped screen edge brightness dispersion and sawtooth color deviation are effectively improved, the method is suitable for various types of display panels, and is suitable for display driving scenes with high screen ratio and high resolution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display control technology, specifically to a method and apparatus for display edge compensation. Background Technology

[0002] To increase screen-to-body ratio, the current display industry widely adopts laser-cutting technology to produce notch screens, punch-hole screens, and other irregularly shaped screens. These screens form irregular structures such as R-corners and C-corners at the corners and punch-holes. To adapt to the cut shape, the pixels at the effective display area boundary adopt a stepped design. In actual display, this can easily lead to problems such as large differences in edge brightness and signal dispersion, which require edge compensation through the image processing circuit of the display driver chip.

[0003] Existing display edge compensation technologies are mainly divided into two categories. One category is to achieve compensation through mask overlay, which involves storing the mask data containing the RGB coefficients of each pixel and then fusing it with the image. Although this can improve jagged edges and color cast, the workload of mask data debugging is large, and the compressed data is limited by the storage medium space, making it difficult to adapt to the one-time programmable memory of the driver chip. The other category is to cut the edge by curve fitting, calculate the transparency coefficient of the intersection pixel, and then fuse the output. This method requires multiple fittings for complex curves, which consumes a lot of computing resources.

[0004] In summary, existing technologies all have obvious shortcomings. They either require a large amount of storage resources to reduce computing resource consumption or increase computing resource consumption to save storage space. It is difficult to achieve a balance between storage resources and computing resources, and they cannot meet the high-efficiency driving requirements of high screen-to-body ratio irregular displays. Summary of the Invention

[0005] The purpose of this application is to provide a method and apparatus for display edge compensation to solve the problems mentioned in the background art.

[0006] According to a first aspect of this application, a method for displaying edge compensation is provided, comprising the following steps:

[0007] Obtain parameters describing the transition region at the edge of the effective display area of ​​the display panel, the parameters including inner polygon parameters and outer polygon parameters for defining the boundary of the transition region;

[0008] Receive the pixel data to be displayed, and obtain the pixel position information corresponding to the pixel data;

[0009] Based on the pixel position information and the inner polygon parameters and outer polygon parameters, determine whether the current pixel is located within the transition region;

[0010] If the current pixel is located within the transition region, then the compensation gain coefficient corresponding to the current pixel is calculated based on the pixel position information, the inner polygon parameters, and the outer polygon parameters.

[0011] Based on the compensation gain coefficient, the pixel data of the current pixel is compensated to obtain compensated pixel data.

[0012] Preferably, the inner polygon parameters include the position coordinates and height of the inner polygon, and the outer polygon parameters include the position coordinates and height of the outer polygon; the inner polygon parameters and the outer polygon parameters also include the coordinate parameters of multiple endpoints constituting the polygon edges.

[0013] Preferably, determining whether the current pixel is located within the transition region based on the pixel position information, the inner polygon parameters, and the outer polygon parameters includes:

[0014] Based on the horizontal component of the pixel position information, the coordinates of the upper and lower endpoints of the inner polygon and the upper and lower endpoints of the outer polygon are determined by a comparator in the stored lookup table.

[0015] Based on the coordinates of the upper and lower endpoints of the inner polygon, the position of the first intersection point of the inner polygon in the current row is calculated by interpolation.

[0016] Based on the coordinates of the upper and lower endpoints of the outer polygon, the position of the second intersection point of the outer polygon in the current row is calculated by interpolation.

[0017] The vertical component of the pixel position information is compared with the first intersection position and the second intersection position to determine whether the current pixel is located within the transition region.

[0018] Preferably, calculating the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters includes:

[0019] Calculate the first connection equation based on the coordinates of the two endpoints related to the pixel position in the inner polygon parameters;

[0020] Calculate the second connection equation based on the coordinates of the two endpoints related to the pixel position in the outer polygon parameters;

[0021] Based on the pixel position information, the first connection equation, and the second connection equation, the relative position ratio of the current pixel in the transition region is calculated, and the relative position ratio is used as the compensation gain coefficient.

[0022] Preferably, before calculating the compensation gain coefficient, the method further includes:

[0023] Determine the type of the transition sub-region where the current pixel is located; the transition sub-region type includes horizontal transition regions and vertical transition regions.

[0024] The calculation of the first and second line equations, and the calculation of the relative position ratio based on the pixel position information, the first and second line equations, specifically involves: calculating the first and second line equations along the horizontal or vertical direction according to the determined transition sub-region type, and calculating the intersection point of the pixel position with the inner polygon edge and the outer polygon edge in the selected direction, thereby calculating the relative position ratio.

[0025] Preferably, before performing compensation processing on the pixel data of the current pixel according to the compensation gain coefficient, the method further includes:

[0026] Based on the brightness response characteristics of the pixel data, the compensation gain coefficient calculated based on the linear relationship of brightness is converted into a final gain coefficient applicable to the numerical domain of the pixel data.

[0027] Preferably, converting the compensation gain coefficient calculated based on the linear relationship of brightness into the final gain coefficient includes:

[0028] The compensation gain coefficient is used as input, and the final gain coefficient is obtained by combining lookup table and interpolation calculation, or by polynomial approximation calculation.

[0029] Preferably, the step of compensating the pixel data of the current pixel according to the compensation gain coefficient specifically includes:

[0030] The compensated pixel data is obtained by multiplying the compensation gain coefficient by the pixel data of the current pixel.

[0031] In a second aspect, this application also provides a display edge compensation apparatus, comprising: a parameter acquisition module configured to acquire parameters describing a transition region of the effective display area edge of a display panel, the parameters including an inner polygon parameter and an outer polygon parameter for defining the boundary of the transition region;

[0032] The pixel data processing module is configured to receive pixel data to be displayed and obtain pixel position information corresponding to the pixel data;

[0033] The position determination module is configured to determine whether the current pixel is located within the transition region based on the pixel position information, the inner polygon parameters, and the outer polygon parameters.

[0034] The gain calculation module is configured to calculate the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters if the current pixel is located in the transition region.

[0035] The compensation processing module is configured to perform compensation processing on the pixel data of the current pixel according to the compensation gain coefficient to obtain compensated pixel data.

[0036] This application calculates the compensation gain coefficient directionally by determining the type of the transition sub-region where the pixel is located, making the gain coefficient calculation more closely match the transition characteristics of irregular edges. It combines the brightness response characteristics of pixel data to perform linear and nonlinear domain conversion, ensuring accurate compensation of pixel data by the gain coefficient. This effectively improves the jaggedness, color cast, and signal dispersion problems of irregularly cut edges on display panels, enhancing the uniformity of edge display. The compensation range of this method can be flexibly controlled by adjusting the width of the transition region of the inner and outer polygons, adapting to various types of display panels such as AMOLED, Micro OLED, and Micro LED. It can be executed in display driver integrated circuits or source devices, fully adapting to display driving scenarios with high screen-to-body ratio, high resolution, and high refresh rate. Furthermore, the timing of the collaborative operation of each circuit module during implementation is compatible with existing display driver systems, requiring no significant modification to existing hardware and facilitating industrial application. Attached Figure Description

[0037] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0038] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0039] Figure 1 This is a schematic diagram of a display edge compensation method provided in an embodiment of this application;

[0040] Figure 2 A schematic diagram of fitting 8 and 16 line segments to a 1 / 4 AA hole provided for embodiments of this application;

[0041] Figure 3 This is a schematic diagram of the transition region determination process provided in an embodiment of this application;

[0042] Figure 4 This is a schematic diagram illustrating the process of calculating the compensation gain coefficient by interpolation in an embodiment of this application.

[0043] Figure 5 This is a schematic diagram of the compensation processing flow provided in the embodiments of this application;

[0044] Figure 6 This is a schematic diagram illustrating the calculation of the gain coefficient formula provided in an embodiment of this application;

[0045] Figure 7 This is a schematic diagram of the horizontal / vertical transition area provided in an embodiment of this application;

[0046] Figure 8 A schematic diagram of the horizontal / vertical interpolation calculation formula provided in the embodiments of this application;

[0047] Figure 9 A block diagram of a conversion circuit provided in an embodiment of this application;

[0048] Figure 10 A block diagram of a fusion computing circuit provided in an embodiment of this application;

[0049] Figure 11 Comparison diagrams before and after compensation based on interpolation calculation provided in this application embodiment;

[0050] Figure 12 Comparison diagrams before and after non-interpolation calculation compensation provided in the embodiments of this application;

[0051] Figure 13 This is a schematic diagram of a display edge compensation device provided in an embodiment of this application. Detailed Implementation

[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0053] It should be noted that all user information (including but not limited to user device information, user personal information, object information corresponding to device usage data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, device usage data, etc.) involved in all embodiments of this application are information and data authorized by the user or fully authorized by all parties.

[0054] This method is applicable to source matrix driven display panels, especially AMOLED, Micro OLED, and Micro LED display panels with irregular structures such as R-corners, C-corners, and AA holes formed by laser cutting. It can be executed within the display driver integrated circuit or in the source device transmitting image data to the display driver integrated circuit, and is suitable for display driving scenarios with high screen-to-body ratio, high resolution, and high refresh rate. Before implementing this method, the inner and outer polygon parameters defining the edge transition region of the effective display area of ​​the display panel can be pre-stored in the static random access memory, dynamic random access memory, or one-time programmable memory of the display driver integrated circuit. For symmetrical irregular structures, only one set of polygon parameters can be stored, and the other set can be derived through internal calculations. During implementation, it can be achieved through the coordinated work of pixel position determination circuit, coefficient calculation circuit, linear domain to nonlinear domain conversion circuit, and fusion calculation circuit. If the pixel data is a compressed data stream, it can be decompressed by a decompression circuit before subsequent compensation processing.

[0055] For example, the transition region mentioned in this method refers to the area connecting the effective display area and the non-display area of ​​the display panel. Due to the laser-cut irregular shape and the stepped arrangement of pixels, this area is prone to display problems such as brightness dispersion, jagged edges, and color cast. The inner polygon and the outer polygon are polygonal structures that fit the irregular cut edge of the display panel. The inner polygon defines the boundary between the transition region and the non-display area, and the outer polygon defines the boundary between the transition region and the normal display area. The area between the two is the transition region. The transition sub-region is a further division of the transition region according to the transition direction, including the horizontal transition region and the vertical transition region, which are used to calculate the compensation gain coefficient in different directions to improve the compensation accuracy.

[0056] The implementation process of the display edge compensation method described in this application will be described in detail below with reference to specific embodiments. It should be noted that this embodiment is only used to explain this application and is not intended to limit the scope of protection of this application. Conventional adjustments or substitutions of each step by those skilled in the art without departing from the concept of this application should be included in the scope of protection of this application.

[0057] like Figure 1 As shown in the figure, this application discloses a schematic diagram of a method for display edge compensation, including the following method steps:

[0058] S1, obtain parameters describing the transition region of the effective display area of ​​the display panel, the parameters including inner polygon parameters and outer polygon parameters for defining the boundary of the transition region;

[0059] S2, Receive the pixel data to be displayed, and obtain the pixel position information corresponding to the pixel data;

[0060] S3, based on the pixel position information and the inner polygon parameters and outer polygon parameters, determine whether the current pixel is located within the transition region;

[0061] S4, if the current pixel is located within the transition region, then calculate the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters;

[0062] S5, according to the compensation gain coefficient, perform compensation processing on the pixel data of the current pixel to obtain compensated pixel data.

[0063] In some embodiments, for step S1, parameters describing the transition region at the edge of the effective display area of ​​the display panel are obtained. In this step, the parameters to be obtained are inner polygon parameters and outer polygon parameters used to define the boundary of the transition region. These parameters are pre-stored in the static random access memory, dynamic random access memory, or one-time programmable memory of the display driver integrated circuit, and the acquisition process is completed by the compensation circuit directly reading from the aforementioned memory.

[0064] Specifically, the parameters of the inner polygon include the position coordinates, height, and coordinate parameters of the multiple endpoints that make up each side of the inner polygon; the parameters of the outer polygon include the position coordinates, height, and coordinate parameters of the multiple endpoints that make up each side of the outer polygon. Among them, the position coordinates represent the reference position of the polygon in the display panel coordinate system, the height is the feature size of the polygon fitting the irregular edge, and the endpoint coordinate parameters are the horizontal and vertical coordinates of the vertices that make up each side of the polygon in the display panel coordinate system.

[0065] like Figure 2 As shown, Figure 2 The diagram illustrates the fitting of 8 and 16 line segments to a 1 / 4 AA hole in embodiments of this application. For symmetrical irregular cut structures such as a 1 / 4 AA hole circle in a display panel, since the endpoints of the inner and outer polygons pass through the center of the irregular structure, the memory can store only one set of complete parameters for the inner or outer polygons. The parameters of the other set of polygons can be derived from the internal calculation circuit through coordinate symmetry, without additional storage. This reduces the total amount of parameter storage and solves the problem of excessive storage resources occupied by edge compensation parameters in the prior art.

[0066] For example, the inner polygon parameters and outer polygon parameters in the memory can be stored in a compact arrangement, that is, stored continuously in the order of position coordinates, height, horizontal coordinates of each endpoint, and vertical coordinates of each endpoint, without redundant address intervals, effectively improving the space utilization of the memory. The arrangement of parameters can be adjusted according to the type and capacity of the memory, and this disclosure does not impose any restrictions.

[0067] In some embodiments, for step S2, pixel data to be displayed is received, and pixel position information corresponding to the pixel data is obtained. The pixel data to be displayed is sent by the source device to the display driver integrated circuit or the compensation circuit inside the source device through a data / instruction interface. If the pixel data sent by the source device is a compressed data stream, it needs to be decompressed by a decompression circuit first to restore it to the original RGB pixel data, and then cached in the image buffer for subsequent processing; if it is uncompressed pixel data, it can be directly cached in the image buffer.

[0068] Pixel position information corresponding to pixel data is transmitted synchronously with the pixel data, or generated in real time by the timing control circuit according to the driving timing of the display panel. Pixel position information includes horizontal and vertical components. The horizontal component represents the column position of the pixel in the display panel coordinate system, and the vertical component represents the row position of the pixel in the display panel coordinate system. Together, they uniquely determine the specific position of the pixel in the display panel. When generating pixel position information, the timing control circuit assigns corresponding horizontal and vertical components to each pixel according to the synchronous timing of the scan driving circuit and the source driving circuit, ensuring accurate matching between the position information and the pixel data.

[0069] The pixel data reception and position information acquisition process in this step is completed collaboratively by the data / command interface, decompression circuit, image buffer, and timing control circuit. Each module operates according to the conventional timing of the display driver to ensure the synchronization and integrity of pixel data and position information.

[0070] In some embodiments, for step S3, it is determined whether the current pixel is located within the transition region based on the pixel position information and the inner polygon parameters and outer polygon parameters. For example... Figure 7 As shown, this is a schematic diagram of the horizontal / vertical transition zone.

[0071] This step addresses the problem in existing technologies where identifying irregular edge regions either consumes excessive storage resources or involves high computational complexity. By combining polygon fitting of irregular edges with interpolation and position comparison, it reduces both storage resource consumption and computational complexity, achieving accurate identification of transition regions. The principle involves fitting a polygon to the irregularly shaped cutting curve of the display panel, calculating the intersection point of the polygon with the current row of the pixel through interpolation, and then comparing the pixel position with the intersection point position to determine whether the pixel is in a transition region, thus balancing storage and computational efficiency. This can be performed independently by the pixel position determination circuit, such as... Figure 3 As shown, Figure 3 This is a schematic diagram of the transition region determination process provided in an embodiment of this application. Specifically, it includes:

[0072] In step S301, the coordinates of the upper and lower endpoints of the inner and outer polygons are determined. Based on the horizontal component of the pixel position information, the corresponding coordinates of the upper and lower endpoints of the inner and outer polygons are determined by a comparator in a pre-stored lookup table. The lookup table pre-stores the horizontal and vertical coordinates of all endpoints of the inner and outer polygons. The comparator compares the horizontal component of the current pixel with the horizontal coordinates of each endpoint of the inner polygon in the lookup table, matching the two inner polygon endpoints whose horizontal components fall within the horizontal coordinate range of those endpoints. These two endpoints are the upper and lower endpoints of the inner polygon. Similarly, the comparator matches the upper and lower endpoints of the outer polygon corresponding to the horizontal component of the current pixel.

[0073] For example, if the horizontal component of the current pixel is The horizontal coordinates of the endpoints of the inner polygon are as follows: The comparator determines the result after comparison. Then the horizontal coordinate is and The two endpoints of the inner polygon are the upper and lower endpoints of the inner polygon, and their corresponding perpendicular coordinates are the perpendicular coordinates of the upper and lower endpoints of the inner polygon. The determination of the upper and lower endpoints of the outer polygon is exactly the same as that of the inner polygon. For the endpoint coordinates that are evenly distributed in the lookup table, a shift operation can be used to replace part of the comparator's work, further reducing the consumption of computing resources. The comparison method can be selected according to actual needs.

[0074] In S302, interpolation is used to calculate the position of the first intersection point of the inner polygon in the current row. Based on the determined coordinates of the upper and lower endpoints of the inner polygon, linear interpolation is used to calculate the position of the first intersection point of the inner polygon in the row containing the current pixel. The interpolation formula is as follows:

[0075]

[0076] In the formula, The position of the first intersection point of the inner polygon in the current row represents the vertical component of the first intersection point in the display panel coordinate system; The horizontal component of the current pixel position information; Let be the horizontal coordinates of the lower endpoint of the inner polygon. represents the horizontal coordinate of the upper endpoint of the inner polygon; Here are the vertical coordinates of the lower endpoint of the inner polygon. The vertical coordinates of the upper endpoint of the inner polygon.

[0077] The principle of linear interpolation is based on the coordinate relationship between the upper and lower endpoints of the inner polygon, from which the horizontal component is derived. When the inner polygon is at the vertical position of the current row, this position is the intersection point of the inner polygon and the current row, which is also the boundary position between the transition area and the non-display area.

[0078] In S303, interpolation is used to calculate the second intersection point of the outer polygon in the current row. Based on the determined coordinates of the upper and lower endpoints of the outer polygon, the same linear interpolation method as in S302 is used to calculate the second intersection point of the outer polygon in the row containing the current pixel. The interpolation formula is:

[0079]

[0080] In the formula, The position of the second intersection point of the outer polygon in the current row represents the vertical component of the second intersection point in the display panel coordinate system; The horizontal component of the current pixel position information; Let be the horizontal coordinates of the lower endpoint of the outer polygon. is the horizontal coordinate of the upper endpoint of the outer polygon; Let be the vertical coordinate of the lower endpoint of the outer polygon. The vertical coordinates of the upper endpoint of the outer polygon.

[0081] The second intersection point is the intersection of the outer polygon and the current row, which is the boundary between the transition area and the normal display area.

[0082] In S304, a position comparison is used to determine whether a pixel is located in a transition region. The vertical component of the current pixel position information is compared with the first intersection point position. The second intersection point Perform a size comparison and determine whether the current pixel is within the transition region based on the comparison result. If the vertical component of the current pixel's position information is... Then when When, it is determined that the current pixel is within the transition region; when When, determine that the current pixel is in the normal display area; when When this happens, it is determined that the current pixel is located in the non-display area. For example... Figure 11 The image shown is a comparison of compensation before and after calculation based on interpolation. Figure 11 (a) is a schematic diagram before compensation. Figure 11 (b) is a schematic diagram after compensation.

[0083] Optionally, for irregularly shaped cut structures where the edges of the inner and outer polygons are nearly circular, such as AA holes and rounded corners, a simplified determination method can be used. For example, the heights of the inner and outer polygons are used as the inner and outer radii of the fitted circle. Based on the current pixel's position information, the square of the distance between the current pixel and the center pixel of the irregular structure is calculated. This squared distance is then compared with the squares of the inner and outer polygon heights. If the horizontal component of the current pixel is... The vertical component is The height of the inner polygon is The height of the outer polygon is Then the square of the distance between the pixel and the center pixel is ;when When, it is determined that the current pixel is within the transition region; when When, determine that the current pixel is in the normal display area; when When the current pixel is located outside the display area, it is determined that the current pixel is in the non-display area. This simplified method eliminates the need for interpolation calculations, further reducing computational resource consumption while ensuring the accuracy of region determination. For example... Figure 12 The image shown is a comparison of compensation before and after non-interpolation calculation. Figure 12 (a) is a schematic diagram before compensation. Figure 12 (b) is a schematic diagram after compensation.

[0084] In some embodiments, for step S4, if the current pixel is located within the transition region, the compensation gain coefficient (Gain) corresponding to the current pixel is calculated based on the pixel position information, the inner polygon parameters, and the outer polygon parameters.

[0085] In one embodiment, the compensation gain coefficient is calculated using a formula. Specifically, taking the edge compensation scenario for an irregularly shaped screen adapting to a 1 / 4 circle AA hole as an example, such as... Figure 6 As shown, the center of the 1 / 4 circle of the AA hole is taken as the reference origin. The edge of the AA hole 1 / 4 circle is fitted using polygon fitting, and one segment of the inner polygon is taken as... One side of the outer polygon is The inner polygon edges The two endpoints are , The outer polygonal edge The two endpoints are , Within the polygon fitting region, endpoints , , , relative to the reference origin The position coordinates are respectively , , , Target pixels to be compensated Located within the transition region defined by the inner and outer polygons, its relative reference origin The position coordinates are .

[0086] For the target pixels within the transition region Its edge compensation gain coefficient The calculation method is based on the target pixel. to the inner polygon edge The ratio of the perpendicular distance to the total perpendicular distance between the inner and outer polygon sides is shown in the following formula:

[0087]

[0088] in, For target pixels The vertical reference line and the inner polygon edge intersection The vertical coordinate value, which is determined by the target pixel Position coordinates and endpoints of the inner polygon , The position coordinates are calculated as shown in the following formula:

[0089]

[0090] For target pixels The vertical reference line and the outer polygon edge intersection The vertical coordinate value, which is determined by the target pixel Position coordinates and endpoints of the outer polygon , The position coordinates are calculated as shown in the following formula:

[0091]

[0092] The meanings of each parameter are explained below:

[0093] : This is the center of the 1 / 4 circle of the AA hole, serving as the reference origin for all position coordinates. The coordinates of all subsequent pixels and polygon endpoints are values ​​relative to this origin.

[0094] : is any segment of the inner polygon that fits the edge of the 1 / 4 circle of the AA hole, and is the boundary reference edge between the non-display area and the transition area of ​​the irregular screen;

[0095] : is any segment of the outer polygon of the 1 / 4 circle edge of the AA hole, and is the boundary reference edge between the transition area of ​​the irregular screen and the normal display area;

[0096] : These are the sides of the inner polygon. The two endpoints are the basic geometric reference points for fitting the inner polygon;

[0097] : These are the outer polygon sides The two endpoints are the basic geometric reference points for fitting the outer polygon;

[0098] : These are the endpoints of the inner polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0099] : These are the endpoints of the inner polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0100] : These are the endpoints of the outer polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0101] : These are the endpoints of the outer polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0102] : refers to the target pixel to be compensated located within the transition area defined by the inner and outer polygons, and is the object of edge compensation gain coefficient calculation;

[0103] : These are the target pixels to be compensated. relative to the reference origin The horizontal and vertical coordinate values;

[0104] : Target pixel to be compensated The edge compensation gain coefficient is the core calculation parameter for achieving a smooth transition at the edge of the pixel.

[0105] : Target pixel to be compensated The vertical reference line and the inner polygon edge The intersection point is a key reference point for the inner boundary of the transition zone;

[0106] : Intersection point relative to the reference origin The vertical coordinate value is the core intermediate parameter for calculating the compensation gain coefficient;

[0107] : Target pixel to be compensated The vertical reference line and the outer polygon edge The intersection point is a key reference point for the outer boundary of the transition zone;

[0108] : Intersection point relative to the reference origin The vertical coordinate value is the core intermediate parameter for calculating the compensation gain coefficient;

[0109] : Target pixel to be compensated to the intersection The vertical distance is equivalent to the value of ;

[0110] : Intersection point to the intersection The total vertical distance is equivalent to the following: , where is the total vertical width of the transition zone at that location.

[0111] Optionally, in edge compensation scenarios for irregularly shaped screens adapted to a 1 / 4 circle AA hole, to simplify the calculation process of the compensation gain coefficient and reduce the consumption of hardware computing resources, the calculation formula of the gain coefficient can be approximately simplified. Taking the center of the 1 / 4 circle AA hole as the reference origin O, the inner boundary of the irregular shape fitted by the inner polygon is equivalent to an inner circle, with OE being the radius of this inner circle. The outer boundary of the irregular shape fitted by the outer polygon is equivalent to an outer circle, with OF being the radius of this outer circle. The target pixel G to be compensated is located within the transition area defined by the inner and outer circles. The ratio of the sum of the distance OG from the target pixel G to the origin and the inner circle radius OE to the sum of the outer circle radius OF and the inner circle radius OE is calculated. When approximately 1, the compensation gain coefficient of the target pixel G It can be determined from the original vertical distance ratio This can be approximately converted into a ratio of the squared distances, i.e. This approximate calculation method eliminates the need to solve for the intersection coordinates of pixels and polygon edges. It directly calculates the gain coefficient based on the positional relationship between pixels and the center of the circle, greatly simplifying the calculation steps. While ensuring compensation accuracy, it improves the calculation efficiency of the gain coefficient, thus meeting the high-speed computing requirements of display driver chips.

[0112] Alternatively, in another embodiment, the compensation gain coefficient can be calculated using interpolation. See also... Figure 4 , Figure 4 This is a schematic diagram illustrating the process of calculating the compensation gain coefficient using interpolation, as provided in an embodiment of this application. Specifically, when calculating the compensation gain coefficient of pixels in the transition region using interpolation, the direction of the transition calculation is related to the angle of the pixel relative to the reference origin. Taking the edge compensation scenario for an irregularly shaped screen with an AA hole of 1 / 4 circle as an example, as follows... Figure 7As shown, 45° is set as the transition reference angle, and the vertical direction is used as the angle reference line to determine the transition type of the pixel in the transition area: when the angle between the pixel and the reference line is less than 45°, the pixel belongs to the horizontal transition area, and the compensation gain coefficient is obtained by interpolation in the row direction; when the angle between the pixel and the reference line is greater than 45°, the pixel belongs to the vertical transition area, and the compensation gain coefficient is obtained by interpolation in the column direction.

[0113] With the center of the AA hole 1 / 4 circle as the reference origin The edge of the AAhole 1 / 4 circle is fitted using polygon fitting, and one segment of the inner polygon is taken as... One side of the outer polygon is The inner polygon edges The two endpoints are , The outer polygonal edge The two endpoints are , Within the polygon fitting region, endpoints , , , relative to the reference origin The position coordinates are respectively , , , Target pixels to be compensated Located within the transition region defined by the inner and outer polygons, its relative reference origin The position coordinates are ,like Figure 8 As shown.

[0114] In S401, the compensation gain coefficient of the horizontal transition region is calculated.

[0115] When the target pixel to be compensated When belonging to the horizontal transition region, its edge compensation gain coefficient is calculated by interpolation along the row direction. This coefficient is for the target pixel. to the inner polygon edge The ratio of the horizontal distance to the total horizontal distance between the inner and outer polygon sides is shown in the following formula:

[0116]

[0117] in, For target pixels The horizontal reference line and the inner polygon side intersection The horizontal coordinate value is determined by the target pixel. Position coordinates and endpoints of the inner polygon , The position coordinates are calculated by interpolation, as shown in the following formula:

[0118]

[0119] For target pixels The horizontal reference line and the outer polygon side intersection The horizontal coordinate value is determined by the target pixel. Position coordinates and endpoints of the outer polygon , The position coordinates are calculated by interpolation, as shown in the following formula:

[0120]

[0121] In S402, the compensation gain coefficient of the vertical transition region is calculated.

[0122] When the target pixel to be compensated When it belongs to the vertical transition region, its edge compensation gain coefficient is calculated by interpolation along the column direction. This coefficient is for the target pixel. to the inner polygon edge The ratio of the perpendicular distance to the total perpendicular distance between the inner and outer polygon sides is shown in the following formula:

[0123]

[0124] in, For target pixels The vertical reference line and the inner polygon edge intersection The vertical coordinate value is determined by the target pixel. Position coordinates and endpoints of the inner polygon , The position coordinates are calculated by interpolation, as shown in the following formula:

[0125]

[0126] For target pixels The vertical reference line and the outer polygon edge intersection The vertical coordinate value is determined by the target pixel. Position coordinates and endpoints of the outer polygon , The position coordinates are calculated by interpolation, as shown in the following formula:

[0127]

[0128] The meanings of each parameter are explained below:

[0129] : This is the center of the 1 / 4 circle of the AA hole, serving as the reference origin for all position coordinates. The coordinates of all subsequent pixels and polygon endpoints are values ​​relative to this origin.

[0130] : is any segment of the inner polygon that fits the edge of the 1 / 4 circle of the AA hole, and is the boundary reference edge between the non-display area and the transition area of ​​the irregular screen;

[0131] : is any segment of the outer polygon of the 1 / 4 circle edge of the AA hole, and is the boundary reference edge between the transition area of ​​the irregular screen and the normal display area;

[0132] : These are the sides of the inner polygon. The two endpoints are the basic geometric reference points for fitting the inner polygon;

[0133] : These are the outer polygon sides The two endpoints are the basic geometric reference points for fitting the outer polygon;

[0134] : These are the endpoints of the inner polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0135] : These are the endpoints of the inner polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0136] : These are the endpoints of the outer polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0137] : These are the endpoints of the outer polygon. relative to the reference origin The horizontal and vertical coordinate values;

[0138] : refers to the target pixel to be compensated located within the transition area defined by the inner and outer polygons, and is the object of edge compensation gain coefficient calculation;

[0139] : These are the target pixels to be compensated. relative to the reference origin The horizontal and vertical coordinate values;

[0140] : Target pixel to be compensated The edge compensation gain coefficient is the core calculation parameter for achieving a smooth transition at the edge of the pixel.

[0141] : Target pixel to be compensated Reference line and inner polygon edge The intersection point is a key reference point for the inner boundary of the transition zone;

[0142] : The intersection point in the horizontal transition zone relative to the reference origin The horizontal coordinate value is the core intermediate parameter for interpolation calculation;

[0143] : Intersection point in the vertical transition zone relative to the reference origin The vertical coordinate value is the core intermediate parameter for interpolation calculation;

[0144] : Target pixel to be compensated Reference line and outer polygon edge The intersection point is a key reference point for the outer boundary of the transition zone;

[0145] : The intersection point in the horizontal transition zone relative to the reference origin The horizontal coordinate value is the core intermediate parameter for interpolation calculation;

[0146] : Intersection point in the vertical transition zone relative to the reference origin The vertical coordinate value is the core intermediate parameter for interpolation calculation;

[0147] : Target pixel to be compensated to the intersection Horizontal / vertical distance, horizontal transition zone equivalent to The vertical transition region is equivalent to ;

[0148] : Intersection point to the intersection The total horizontal / vertical distance, the horizontal transition zone is equivalent to The vertical transition region is equivalent to , which is the total width of the corresponding transition area at that position.

[0149] Optionally, to further reduce the hardware computing resource consumption during the calculation of the compensation gain coefficient and improve the computing efficiency of the display driver chip, the compensation gain coefficient Gain can be digitally approximated, converting Gain into... fractional form (where , (Taking positive integers greater than 1), the gain coefficient is calculated by using shift operations instead of traditional division operations, thus avoiding the high resource consumption problem caused by division circuits.

[0150] As an example, in this approximate characterization method, molecules The solution is obtained by using a binary search approach, with the traversal range limited to... Within the interval, the core solution objective is to find the condition that satisfies... of Value, of which The distance from the pixel to be compensated to the edge of the inner polygon. The total distance between the inner and outer polygon edges is the fundamental parameter for calculating the gain coefficient. This method transforms the division operation of the gain coefficient into a simple shift operation, significantly simplifying the computational logic. While ensuring compensation accuracy, it effectively reduces the resource consumption of the computational circuit, adapting to the high-speed computational requirements of display driver chips with high refresh rates and high resolutions.

[0151] In some embodiments, for step S5, the pixel data of the current pixel is compensated according to the compensation gain coefficient to obtain compensated pixel data.

[0152] In this step, before compensating the pixel data of the current pixel, the compensation gain coefficient calculated based on the linear relationship of brightness can be converted into a final gain coefficient suitable for the numerical domain of the pixel data, based on the brightness response characteristics of the pixel data. This solves the problem of poor compensation effect caused by the mismatch between the compensation gain coefficient and the numerical domain of the pixel data. The principle is to convert the gain coefficient based on the linear relationship of brightness to a gain coefficient adapted to the encoded value of the pixel data, based on the non-linear response characteristics of the pixel data brightness and the encoded value, ensuring that the compensation effect of the gain coefficient on the pixel data can be accurately mapped to the brightness performance of the display panel. The final compensation processing can be completed by the fusion calculation circuit, such as... Figure 5 As shown, Figure 5 A schematic diagram of the compensation processing flow provided in an embodiment of this application. Specifically, it includes:

[0153] In S501, the compensation gain coefficient is converted into a final gain coefficient applicable to the numerical domain of the pixel data. The brightness response characteristics of pixel data are divided into linear and non-linear domains. In the linear domain, the encoded value of the pixel data has a linear relationship with the display brightness, while in the non-linear domain, the encoded value of the pixel data has a non-linear exponential relationship with the display brightness. This can be accomplished by a linear-to-non-linear domain conversion circuit, such as... Figure 9 The conversion circuit block diagram shown can achieve the conversion through a combination of lookup tables and interpolation calculations, or through polynomial approximation calculations, as detailed below:

[0154] For pixel data in the non-linear domain, the relationship between its display brightness and encoded value satisfies the following formula:

[0155]

[0156] In the formula, The actual display brightness of the pixel. This represents the maximum display brightness of the display panel. The encoded value of pixel data, The maximum encoded value of the pixel data. This is the gamma correction factor for the display panel.

[0157] Brightness-based compensation gain coefficient The linear gain of brightness, i.e. To make the gain coefficient adapt to the non-linear encoded values ​​of the pixel data, the luminance linear gain needs to be converted into the linear domain gain corresponding to the encoded pixel data values. The conversion formula is:

[0158]

[0159] During conversion, the compensation gain coefficient will be used. As input, the upper and lower interval binding points are found in the pre-stored lookup table through a lookup circuit: for evenly divided binding points, such as the value range of 0 to 255 with binding points set in steps of 16, shift operations can be used. and Obtain the corresponding binding point positions, where The input is the compensation gain coefficient. For non-uniformly distributed binding points, the comparator compares the input compensation gain coefficient with the binding point values ​​in the lookup table one by one to find the corresponding upper and lower interval binding point positions.

[0160] After finding the binding points of the upper and lower intervals, output the values ​​of the binding points of the upper and lower intervals. , and the corresponding output value , The final linear domain gain is then calculated using linear interpolation. This refers to the final gain coefficient applicable to the numerical domain of the pixel data. The interpolation formula is:

[0161]

[0162] For pixel data in the linear domain, its encoded value is linearly related to the display brightness. There is no need to perform the above domain conversion. The compensation gain coefficient calculated in step four can be directly used as the final gain coefficient.

[0163] Optionally, this method is also applicable to pixel data conversion in the nonlinear domain, where the compensation gain coefficients are directly applied using a pre-fitted polynomial formula. Convert to final gain coefficient The formula for polynomial approximation is:

[0164]

[0165] In the formula, These are polynomial fitting coefficients, which are calibrated by the brightness response characteristics of the display panel and are pre-stored in the memory of the linear-to-nonlinear domain conversion circuit. The order of the polynomial can be adjusted according to the characteristics of the display panel, and this disclosure does not impose any limitations.

[0166] In S502, pixel data is compensated to obtain compensated pixel data. The fusion calculation circuit determines the region of the current pixel, such as... Figure 10 The circuit block diagram for fusion calculation shown executes corresponding pixel data processing operations, including: if the current pixel is located in the normal display area or the non-display area, no compensation processing is required, and the original pixel data is directly output; if the current pixel is located in the transition area, the final gain coefficient obtained in step 5.1 is multiplied by the original pixel data of the current pixel, and the result of the multiplication is the compensated pixel data. The calculation formula is as follows:

[0167]

[0168] In the formula, To compensate for the pixel data, This is the raw pixel data. This is the final gain coefficient obtained above.

[0169] For example, if the RGB encoding value of the original pixel data is With a final gain coefficient of 0.6, the RGB encoding value of the compensated pixel data is... After further processing, the corresponding pixels on the display panel will display the brightness of the transition area, thus solving the problem of edge brightness dispersion.

[0170] After the compensated pixel data is output by the fusion calculation circuit, it will be transmitted to the digital Gamma circuit, which will convert it into a pixel voltage driving signal. Then, the source driving circuit will generate a voltage to drive the display panel. In conjunction with the scan driving circuit, the corresponding gate line will be selected and the driving voltage will be written into the pixel driving circuit of the corresponding pixel, so that the pixel presents the compensated target brightness.

[0171] This edge compensation method fits the irregularly shaped edges of the display panel using polygon parameters. It requires only a small amount of polygon parameters to define the transition region, significantly reducing storage resource consumption. Simultaneously, it achieves accurate identification of the transition region through interpolation calculation and directional determination, reducing computational complexity and balancing storage and computational efficiency. This solves the technical pain point of existing technologies that either consume excessive storage or computational resources. The method calculates the compensation gain coefficient directionally by determining the type of the transition sub-region where the pixel is located, making the gain coefficient calculation more closely match the transition characteristics of the irregular edge. It combines the brightness response characteristics of the pixel data to perform linear and nonlinear domain conversion, ensuring accurate compensation of the pixel data by the gain coefficient. This effectively improves the jaggedness, color cast, and signal dispersion problems of irregularly shaped edges of the display panel, enhancing the uniformity of edge display. The compensation range of this method can be flexibly controlled by adjusting the width of the transition area between the inner and outer polygons. It is compatible with various types of display panels such as AMOLED, Micro OLED, and Micro LED. It can be implemented in display driver integrated circuits or source devices, and is fully compatible with display driver scenarios with high screen ratio, high resolution, and high refresh rate. In addition, the timing of the collaborative work of each circuit module during implementation is compatible with the existing display driver system, without the need for major modifications to the existing hardware, making it easy to achieve industrial application.

[0172] It should be noted that although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0173] Please see Figure 13 , Figure 13 This is a structural block diagram of a display edge compensation device provided in an embodiment of this application. The device specifically includes:

[0174] The parameter acquisition module 1301 is configured to acquire parameters describing the transition region of the effective display area edge of the display panel, the parameters including inner polygon parameters and outer polygon parameters for defining the boundary of the transition region;

[0175] The pixel data processing module 1302 is configured to receive pixel data to be displayed and obtain pixel position information corresponding to the pixel data;

[0176] The position determination module 1303 is configured to determine whether the current pixel is located within the transition region based on the pixel position information, the inner polygon parameters, and the outer polygon parameters.

[0177] The gain calculation module 1304 is configured to calculate the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters if the current pixel is located in the transition region.

[0178] The compensation processing module 1305 is configured to perform compensation processing on the pixel data of the current pixel according to the compensation gain coefficient to obtain compensated pixel data.

[0179] Preferably, the position determination module includes:

[0180] The lookup and comparison unit is configured to determine the coordinates of the upper and lower endpoints of the inner polygon and the upper and lower endpoints of the outer polygon in a stored lookup table based on the horizontal component of the pixel position information using a comparator.

[0181] An interpolation calculation unit, connected to the search and comparison unit, is configured to calculate the first intersection point position of the inner polygon in the current row by interpolation based on the coordinates of the upper and lower endpoints of the inner polygon, and to calculate the second intersection point position of the outer polygon in the current row by interpolation based on the coordinates of the upper and lower endpoints of the outer polygon.

[0182] The comparison and determination unit is connected to the interpolation calculation unit and is configured to compare the vertical component of the pixel position information with the first intersection position and the second intersection position to output a determination result on whether the current pixel is located in the transition region.

[0183] It should be noted that the working process of each module in the display edge compensation system described in this embodiment can refer to the working process of the display edge compensation method described in the above embodiments, and the technical effect achieved is the same as that of the display edge compensation method described in the above embodiments, so it will not be repeated here.

[0184] The above description represents the preferred embodiments of the present invention. It should be noted that, for those skilled in the art, various improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for display edge compensation, characterized in that, Includes the following steps: Obtain parameters describing the transition region at the edge of the effective display area of ​​the display panel, the parameters including inner polygon parameters and outer polygon parameters for defining the boundary of the transition region; Receive the pixel data to be displayed, and obtain the pixel position information corresponding to the pixel data; Based on the pixel position information and the inner polygon parameters and outer polygon parameters, determine whether the current pixel is located within the transition region; If the current pixel is located within the transition region, then the compensation gain coefficient corresponding to the current pixel is calculated based on the pixel position information, the inner polygon parameters, and the outer polygon parameters. Based on the compensation gain coefficient, the pixel data of the current pixel is compensated to obtain compensated pixel data.

2. The method for display edge compensation according to claim 1, characterized in that, The inner polygon parameters include the position coordinates and height of the inner polygon, and the outer polygon parameters include the position coordinates and height of the outer polygon; the inner polygon parameters and the outer polygon parameters also include the coordinate parameters of multiple endpoints that constitute the edges of the polygon.

3. The method for display edge compensation according to claim 2, characterized in that, The step of determining whether the current pixel is located within the transition region based on the pixel position information, the inner polygon parameters, and the outer polygon parameters includes: Based on the horizontal component of the pixel position information, the coordinates of the upper and lower endpoints of the inner polygon and the upper and lower endpoints of the outer polygon are determined by a comparator in the stored lookup table. Based on the coordinates of the upper and lower endpoints of the inner polygon, the position of the first intersection point of the inner polygon in the current row is calculated by interpolation. Based on the coordinates of the upper and lower endpoints of the outer polygon, the position of the second intersection point of the outer polygon in the current row is calculated by interpolation. The vertical component of the pixel position information is compared with the first intersection position and the second intersection position to determine whether the current pixel is located within the transition region.

4. The method for display edge compensation according to claim 2, characterized in that, The step of calculating the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters includes: Calculate the first connection equation based on the coordinates of the two endpoints related to the pixel position in the inner polygon parameters; Calculate the second connection equation based on the coordinates of the two endpoints related to the pixel position in the outer polygon parameters; Based on the pixel position information, the first connection equation, and the second connection equation, the relative position ratio of the current pixel in the transition region is calculated, and the relative position ratio is used as the compensation gain coefficient.

5. A method for display edge compensation according to claim 4, characterized in that, Before calculating the compensation gain coefficient, the following steps are also included: Determine the type of the transition sub-region where the current pixel is located; the transition sub-region type includes horizontal transition regions and vertical transition regions. The calculation of the first and second line equations, and the calculation of the relative position ratio based on the pixel position information, the first and second line equations, specifically involves: calculating the first and second line equations along the horizontal or vertical direction according to the determined transition sub-region type, and calculating the intersection point of the pixel position with the inner polygon edge and the outer polygon edge in the selected direction, thereby calculating the relative position ratio.

6. The method for display edge compensation according to claim 1, characterized in that, Before performing compensation processing on the pixel data of the current pixel based on the compensation gain coefficient, the method further includes: Based on the brightness response characteristics of the pixel data, the compensation gain coefficient calculated based on the linear relationship of brightness is converted into a final gain coefficient applicable to the numerical domain of the pixel data.

7. A method for display edge compensation according to claim 6, characterized in that, The step of converting the compensation gain coefficient calculated based on the linear relationship of brightness into the final gain coefficient includes: The compensation gain coefficient is used as input, and the final gain coefficient is obtained by combining lookup table and interpolation calculation, or by polynomial approximation calculation.

8. A method for display edge compensation according to claim 1, characterized in that, The step of compensating the pixel data of the current pixel according to the compensation gain coefficient specifically involves: The compensated pixel data is obtained by multiplying the compensation gain coefficient by the pixel data of the current pixel.

9. A device for displaying edge compensation, characterized in that, include: The parameter acquisition module is configured to acquire parameters describing the transition region of the effective display area edge of the display panel, the parameters including inner polygon parameters and outer polygon parameters for defining the boundary of the transition region; The pixel data processing module is configured to receive pixel data to be displayed and obtain pixel position information corresponding to the pixel data; The position determination module is configured to determine whether the current pixel is located within the transition region based on the pixel position information, the inner polygon parameters, and the outer polygon parameters. The gain calculation module is configured to calculate the compensation gain coefficient corresponding to the current pixel based on the pixel position information, the inner polygon parameters, and the outer polygon parameters if the current pixel is located in the transition region. The compensation processing module is configured to perform compensation processing on the pixel data of the current pixel according to the compensation gain coefficient to obtain compensated pixel data.

10. The display edge compensation apparatus according to claim 9, characterized in that, The location determination module includes: The lookup and comparison unit is configured to determine the coordinates of the upper and lower endpoints of the inner polygon and the upper and lower endpoints of the outer polygon in a stored lookup table based on the horizontal component of the pixel position information using a comparator. An interpolation calculation unit, connected to the search and comparison unit, is configured to calculate the first intersection point position of the inner polygon in the current row by interpolation based on the coordinates of the upper and lower endpoints of the inner polygon, and to calculate the second intersection point position of the outer polygon in the current row by interpolation based on the coordinates of the upper and lower endpoints of the outer polygon. The comparison and determination unit is connected to the interpolation calculation unit and is configured to compare the vertical component of the pixel position information with the first intersection position and the second intersection position to output a determination result on whether the current pixel is located in the transition region.