CN109636751B - Edge processing method of special-shaped display panel, display panel and display device - Google Patents
Edge processing method of special-shaped display panel, display panel and display device Download PDFInfo
- Publication number
- CN109636751B CN109636751B CN201811491319.3A CN201811491319A CN109636751B CN 109636751 B CN109636751 B CN 109636751B CN 201811491319 A CN201811491319 A CN 201811491319A CN 109636751 B CN109636751 B CN 109636751B
- Authority
- CN
- China
- Prior art keywords
- edge
- display panel
- pixel
- shaped
- special
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000009499 grossing Methods 0.000 claims abstract description 54
- 238000000034 method Methods 0.000 claims abstract description 34
- 238000012545 processing Methods 0.000 claims abstract description 24
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000001788 irregular Effects 0.000 claims description 8
- 238000004088 simulation Methods 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 3
- 230000002194 synthesizing effect Effects 0.000 claims description 3
- 238000009827 uniform distribution Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 7
- 238000004422 calculation algorithm Methods 0.000 abstract description 4
- 238000000605 extraction Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 15
- 230000007704 transition Effects 0.000 description 12
- 230000000694 effects Effects 0.000 description 10
- 238000005286 illumination Methods 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G06T5/70—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20192—Edge enhancement; Edge preservation
Abstract
The embodiment of the application provides an edge processing method of a special-shaped display panel, which comprises the following steps: fitting the edges of the display area of the display panel into a function f (x) according to the shape of the target display area of the display panel; d pixel points are arranged in each pixel; wherein d is more than or equal to 4; judging the number c of the pixel points in the fitting function f (x) in each pixel; generating a compensation coefficient k, wherein k is c/d; and generating an edge smoothing coefficient according to the compensation coefficient. The edge processing method of the special-shaped display panel can be used for solving the edge smoothing coefficient extraction algorithm of the special-shaped screen in any shape, and the edge processing method is adopted to improve edge sawteeth. The whole edge processing process is finished before leaving the factory, the occupation amount and the calculated amount of resources of the driving chip are small, and the power consumption of the driving chip can be reduced.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of display, in particular to an edge processing method of a special-shaped display panel, the display panel and a display device.
[ background of the invention ]
With the great development of display technology, the requirements of consumers on the screen ratio of display devices are higher and higher. More and more consumers are willing to purchase full screen display devices. Furthermore, the requirement of the display panel by the consumer is not limited to the rectangular display panel, but needs to be adapted to various other requirements, such as the requirement of the consumer for a smart watch with a circular display area, the requirement of a vehicle-mounted display panel with a cool appearance, and the like. However, the special-shaped display panel has saw-teeth at the special-shaped edge, which affects the display effect, please refer to fig. 1 and 2, and the special-shaped edge of the heart-shaped display panel has a lot of saw-teeth, which greatly affects the appearance.
[ summary of the invention ]
Embodiments of the present invention provide a solution to the above technical problem.
In one aspect, the present application discloses a method for processing edges of a special-shaped display panel,
fitting the edges of the display area of the display panel into a function f (x) according to the shape of the target display area of the display panel; d pixel points are arranged in each pixel; wherein d is more than or equal to 4; judging the number c of the pixel points in the fitting function f (x) in each pixel; generating a compensation coefficient k, wherein k is c/d; and generating an edge smoothing coefficient according to the compensation coefficient.
Optionally, the fitting the edge of the display area of the display panel to the function f (x) according to the shape of the target display area of the display panel specifically includes: determining one point in a plane as a coordinate origin; segmenting a special-shaped area at the edge of a display area of the display panel; fitting the edges to a piecewise function f (x);
optionally, the coordinate of each pixel point is ai(xi,yi) And i is a positive integer from 1 to d, and setting d pixel points in each pixel further comprises: the d pixel points are uniformly distributed; the uniform distribution is that the geometric center of the figure formed by the d pixel points is approximately superposed with the geometric center of the pixel.
Optionally, rotating the d pixel points around the geometric center of the pixel by a rotation angle θ; in the coordinate axes, the abscissa of the pixel is located at [ m, n ]; 0.5 ≦ f '(z) tan θ ≦ 2 f' (z), where z ∈ [ m, n ].
Optionally, the d pixel points are rotated around the geometric center of the pixel by an angle θ, and the rotation angle θ is determined through pre-simulation.
Optionally, dividing the edge fitting function f (x) into rotation groups according to the slope of the tangent; the total number of rotated groups does not exceed 8 groups.
Optionally, when the special-shaped area is located at the upper half of the display panel, the determining the number c of the pixel points located in the fitting function f (x) in each pixel includes: traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi-f(xi) And when the sum of the pixel points is less than or equal to 0, recording that the pixel points are positioned in the sum function f (x).
Optionally, when the said shaped areaThe determining the number c of the pixels in the fitting function f (x) in each pixel comprises: traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi-f(xi) And when the pixel point is larger than or equal to 0, marking that the pixel point is positioned in the function f (x).
Optionally, the generating an edge smoothing coefficient according to the compensation coefficient includes: mapping the compensation coefficient k into a first compensation coefficient k'; the first compensation coefficient k' is taken as an edge smoothing coefficient.
Optionally, the edge processing method further includes: synthesizing a base image according to the pixel arrangement information; extracting edge smoothing data; and inputting a basic image, and performing operation and output with the edge smoothing coefficient. The edge smoothing data is the edge smoothing coefficient.
Optionally, the inputting the base image, and performing operation and output with the edge smoothing processing coefficient includes: and extracting the gray scale G of the edge pixel in the basic image, and outputting the gray scale k'. G after performing linear calculation on the edge pixel.
In another aspect, the present application provides a display panel, where the above-mentioned edge processing method for the special-shaped display panel is applied to the display panel.
In yet another aspect, the present application provides a display device comprising the contoured display panel of the above claims.
The edge processing method of the special-shaped display panel can be used for solving the edge smoothing coefficient extraction algorithm of the special-shaped screen in any shape, and is not limited to the special-shaped display panel with the rule of a rain circle and the like. The edge processing method is adopted to improve the edge saw teeth. The whole edge processing process is finished before leaving the factory, the occupation amount and the calculated amount of resources of the driving chip are small, and the power consumption of the driving chip can be reduced.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art method for processing edges of a shaped display panel;
FIG. 2 is a schematic diagram of prior art profiled display panel edge serrations;
FIG. 3 is a schematic view of a contoured display panel according to one embodiment of the present application;
FIG. 4 is a flow chart of a method for processing a shaped display panel according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an edge of a profiled display panel to which the edge processing method of the present application is not applied;
FIG. 6 is a schematic diagram of an edge of a display panel with a special shape to which the edge processing method of the present application is applied;
FIG. 7 is a partially enlarged schematic view of the shaped display panel of the embodiment of FIG. 3;
FIG. 8 is a schematic diagram of a partial method of the FIG. 7 embodiment of a contoured display panel;
FIG. 9 is a schematic diagram of another partial method of the contoured display panel of the embodiment of FIG. 7;
FIG. 10 is a schematic diagram of another partial method of the contoured display panel of the embodiment of FIG. 7;
FIG. 11 is another enlarged partial view of the display panel of FIG. 3;
FIG. 12 is another enlarged partial view of the display panel of FIG. 3;
fig. 13 is a flowchart illustrating a processing method of the irregular display panel according to still another embodiment of the present application.
FIG. 14 is a schematic view of a contoured display device according to one embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe the compensation coefficients in embodiments of the present invention, the electrodes should not be limited to these terms. These terms are only used to distinguish the compensation factors from each other. For example, the first compensation coefficient may also be referred to as a second compensation coefficient, and similarly, the second compensation coefficient may also be referred to as a first compensation coefficient, without departing from the scope of embodiments of the present invention.
With the great development of display technology, the requirements of consumers on the screen ratio of display devices are higher and higher. More and more consumers are willing to purchase full screen display devices. Furthermore, the requirement of the display panel by the consumer is not limited to the rectangular display panel, but needs to be adapted to various other requirements, such as the requirement of the consumer for a smart watch with a circular display area, the requirement of a vehicle-mounted display panel with a cool appearance, and the like. The special-shaped display panel has saw-toothed shape at the special-shaped edge, which affects the display effect. Whereas prior art solutions typically reduce the sub-pixel brightness at the edges of the shaped display panel to reduce this jaggy. However, this requires matching of the algorithms, and then the prior art can only solve the problem of singlesThe problem of edge jagging of a curved shaped edge. Referring to fig. 1, fig. 1 is a schematic diagram illustrating a method for processing an edge of a special-shaped display panel 01 in the prior art. The common method for smoothing the edge of the edge R angle is to draw a circular arc with a certain radius and define the interval to form a transition zone [ a, b ]]Reducing the edge pixel brightness step by step, as in equation (1) Wherein L is the original brightness, L' is the optimized brightness, k is the edge smoothing coefficient, and can be changed into different values according to the thinning of the transition zone. However, this is not achieved for the irregular display panel with the edge curvature changing, as shown in fig. 2, fig. 2 is a schematic diagram of the edge sawtooth of the irregular display panel in the prior art. The simple edge processing method cannot be adopted on the special-shaped edge of the heart-shaped display panel, and a large amount of sawteeth appear on the special-shaped display edge, so that the appearance is influenced greatly.
Therefore, the edge processing method of the special-shaped display panel can adapt to the special-shaped display panel in any shape, is small in calculation amount, can be completed before shipment, does not occupy driving chip resources of the display panel, and can reduce display power consumption. Specifically, the method comprises the following steps:
referring to fig. 3, fig. 4, fig. 5, fig. 6 and fig. 7, fig. 3 is a schematic view of a special-shaped display panel according to an embodiment of the present application; FIG. 4 is a flow chart of a method for processing a shaped display panel according to an embodiment of the present application; FIG. 5 is a schematic diagram of an edge of a profiled display panel to which the edge processing method of the present application is not applied; FIG. 6 is a schematic diagram of an edge of a display panel with a special shape to which the edge processing method of the present application is applied; fig. 7 is a partially enlarged schematic view of the special-shaped display panel of the embodiment of fig. 3.
In an embodiment of the application, an edge processing method of a special-shaped display panel includes:
s1: fitting the edges 110 of the display panel display area to a function f (x) according to the shape of the target display area 100 of the display panel;
s2: d pixel points are arranged in each pixel; wherein d is more than or equal to 4;
s3: judging the number c of the pixel points in the fitting function f (x) in each pixel;
s4: generating a compensation coefficient k, wherein k is c/d;
s5: and generating an edge smoothing coefficient according to the compensation coefficient.
The following description will be made by taking the "heart-shaped" display panel shown in fig. 3 as an example,
s1: according to the shape of the target display area of the special-shaped display panel shown in fig. 3, the edge 110 of the display area 100 of the display panel is fitted to the function f (x), and it should be noted that the target display area refers to the display area that we want to obtain, or the display area 100 that the customer requires. Regarding the edge portion of the display area 100 as a curve, a coordinate system is established in which the curve is fitted as a function. Of course, it is difficult to fit the "heart" display panel shown in fig. 3 to a function, so the fitting function f (x) in this embodiment may be a piecewise function.
S2: referring to fig. 4, fig. 4 is a partially enlarged view of the edge 111 of fig. 3. D pixel points 120 are provided in each pixel 12; wherein d is more than or equal to 4; in this embodiment, the reason for setting 4 or more pixel points in each pixel is to implement uniform edge transition. Of course, the transition is smooth as the number of the pixel points 120 is larger. After a lot of experiments, the inventor finds that when the number of the pixel points 120 is greater than or equal to 4, the uniformity is sufficient under the condition of normal observation distance (the distance between eyes and the display panel exceeds 15 cm). That is to say, when the observation distance is 15cm, the ordinary consumer can observe the difference of the edge smoothing effect obtained by 3 pixels and 4 pixels, but can hardly perceive the difference of the edge smoothing effect obtained by 4 pixels and 5 pixels, so that the inventor determines the number of the pixels 120 to be greater than or equal to 4. It should be noted that the pixel herein may refer to a "white pixel" composed of sub-pixels of different colors, for example, in a non-rendering pixel arrangement, three sub-pixels of RGB compose a "white pixel"; or RG or RB or GB constitutes a "white pixel" in the rendered pixel arrangement, where the "white pixel" needs to borrow missing colors from neighboring sub-pixels, and in summary, the pixel may refer to a unit pixel of a pixel in the display picture. When the unit pixel is the pixel 12 of the present application, the amount of calculation is relatively low and the efficiency is relatively high. Of course, the pixel referred to in this application may also refer to a sub-pixel, and when the sub-pixel is referred to as the pixel 12 in this application, the edge adjustment precision is higher, and the edge smoothing effect is better.
S3: the most important decision of the embodiment is how much the brightness is reduced. In this embodiment, the number c of the pixel points 120 in the fitting function f (x) in each pixel 12 is determined. Since the fitting function f (x) is determined from the edge 110 of the target display area. It is desirable that the edge of the display area is illuminated internally and not externally. In other words, if the pixel 120 is located within the fitting function f (x), then illumination is required, and if it is located outside the fitting function f (x), then illumination is not required. However, in practice, the pixels are a whole, and half of the pixels cannot emit light and half of the pixels cannot emit no light, so that the number of the pixels 120 located in the pixels is used to represent how many regions of the pixels should emit light. Further compensating for this. It should be noted that, in this embodiment, the term "located in the fitting function f (x)" means located in the display area.
S4: generating a compensation coefficient k, wherein k is c/d; as can be known from the foregoing theory, the number of the obtained pixel points 120 in the fitting function f (x) represents the area that should emit light, and the compensation coefficient is determined by the ratio of the area that should emit light to the total light emitting area. The ratio of the number of pixels 120 in the fitting function f (x) to the total number of pixels can represent the compensation coefficient. Therefore, the compensation coefficient k is determined as c/d
S5: and generating an edge smoothing coefficient according to the compensation coefficient k. Since the compensation coefficient k is the ratio of the area to be illuminated to the total illumination area based on the principle of c/d, the ratio and the luminance are substantially linear. The final edge smoothing coefficient is applied to the gray scale voltage, which is not linear with the brightness. Therefore, in order to obtain the most accurate edge smoothing coefficient, it cannot be said that the compensation coefficient K is directly equal to the edge smoothing coefficient, but the compensation coefficient K needs to be mapped to the edge smoothing coefficient K'.
In this embodiment, the edge 110 of the target display area 100 is fitted to the function f (x), so that the method is not limited to the irregular edge with a fixed radius or curvature, and the applicability of the processing method is greatly improved. And, by setting the number of the pixel points 120 to be greater than or equal to 4, the smooth transition of the edge is ensured. In addition, the edge processing method of the embodiment can be completely finished on a computer, the whole edge processing process is finished before delivery, the occupation amount and the calculation amount of resources of a drive chip (IC) are small, and the power consumption of the drive chip can be reduced. Referring to fig. 5 and 6, fig. 6 is a simulation diagram of a display effect after the edge processing method of the present embodiment is applied. Fig. 5 is a display effect simulation diagram of the edge processing method not referring to the present embodiment. It can be seen that the edge of fig. 5 appears heavily jagged, like a stepped edge. In contrast to fig. 5, it can be seen in fig. 6 that the edge thereof is smoothed in multiple stages, and the edge looks naturally smooth, much like a circular arc.
Further, in an embodiment of the present application, the method for processing an edge of a special-shaped display panel specifically includes:
s1: fitting the edge 110 of the display area of the display panel to a function f (x) according to the shape of the target display area 100 of the display panel specifically comprises:
determining one point in a plane as a coordinate origin O; ,
segmenting a shaped area of a display area edge 110 of the display panel;
fitting the edges to a piecewise function f (x);
it should be noted that the selection of the origin of coordinates O may affect the difficulty of function fitting, and taking fig. 3 as an example, the edge 110 of the display panel may be divided into two elliptical curves, and if the origin of coordinates is selected at the center of one of the ellipses, the relation of the functions f (x) will be simpler. The choice of the origin of coordinates o can be determined as desired. In the embodiment of fig. 3, the edge 110 of the display panel is divided into two parts, and the functions f1(x) and f2(x) are respectively fitted, so that the fitting difficulty is greatly reduced. It should be noted that the coordinate system that can be established in the present application is not limited to the cartesian coordinate system disclosed in the present embodiment, and may be polar coordinates, and the like. The polar coordinates for some curves can greatly reduce the complexity of the functional relation, which is beneficial to reducing the workload of the computer and can make the fitted curve more accurate.
S2: d pixel points are arranged in each pixel; wherein d is more than or equal to 4; with continuing reference to fig. 8, 9 and 10, fig. 8 is a partial schematic view of the irregular display panel of fig. 7; FIG. 9 is a schematic diagram of another partial method of the contoured display panel of the embodiment of FIG. 7; FIG. 10 is a schematic diagram of another partial method of the contoured display panel of the embodiment of FIG. 7;
the coordinate of each pixel point 120 is Ai(xi,yi) I is a positive integer from 1 to d, and the d pixel points are uniformly distributed; the uniform distribution is that the geometric center of the figure formed by the d pixel points is approximately superposed with the geometric center of the pixel. As shown in fig. 8, each pixel 12 includes 4 pixels 120, and the coordinates of the pixels 120 are a1(x1,y1),A2(x2,y2),A3(x3,y3),A4(x4,y4) The folded 4 pixels 120 form a box rectangle whose geometric center S' approximately coincides with the set center S of the pixels 12. Therefore, the pixel points can be uniformly distributed in the pixels, and the obtained compensation coefficient k can be a smoother transition of the edge.
Further, referring to fig. 10, in order to make the transition of the edge smoother, the d pixel points may be rotated around the geometric center of the pixel by an angle θ; referring to FIG. 8, A is in the coordinate axis before rotation3A4Parallel to the x-axis, it makes an angle θ with the x-axis after rotation. The abscissa of the pixel 12 represented by a square on the x-axis lies in the range m, n]And (4) the following steps. The formula 0.5 x f ' (z) tan theta 2f ' (z), where z ∈ [ m, n ≦ z ≦ n ≦ 2f ' (z)]In that the fitting function f (x) located within the pixel 12 is at the coordinates m, n]Is arbitrarily insideThe slope of the tangent line at a point is f' (z), and the tangent value of the rotation angle θ and the tangent value of the angle formed by the tangent line at any point and the x-axis satisfy the above relationship. That is, the tangent of the rotation angle θ is equal to or greater than the fitting function f (x) for the position x ∈ [ m, n ∈]The tangent of any point in the inner part is one half of the minimum value of the tangent value of the included angle between the tangent of any point in the inner part and the x axis; the tangent of the rotation angle theta is less than or equal to the fitting function f (x) for the position x epsilon [ m, n ∈]The tangent of any point in the inner circle has twice the maximum value of the tangent of the angle of the x-axis. The relationship essentially defines the relationship between the rotation angle theta and the maximum and minimum values of the angle between the tangent to f (x) within the pixel 12 and the x-axis. Referring further to fig. 10, the area of the region below the fitting function f (x) is about 1/4 of the area of the entire pixel 12, if the pixels 120 are not rotated, the number of pixels in the fitting function f (x) should be 2, and the generated compensation coefficient k should be 2/4, which is very different from 1/4, which is located below f (x) and approximately equal to the area of the pixel 12, and this may cause the edge transition to be harder and unnatural. According to the method of this embodiment, please refer to fig. 10, the number of the pixel points 120 in the pixel 12 located in the fitting function f (x) is 1, and the generated compensation coefficient k should be k-1/4, which is consistent with 1/4, which is located under f (x), and the area of the pixel 12 is approximately, so that the edge transition of the present application is more natural.
In another embodiment of the present application, the d pixel points are rotated around the geometric center of the pixel by an angle θ, and the rotation angle θ is determined through pre-simulation. In order to obtain a more efficient method for acquiring the rotation angle θ, the optimal rotation angle θ can be selected through pre-simulation. Specifically, a plurality of rotation angles θ may be set, then an effect graph of edge processing is obtained through simulation, and then the rotation angles θ are selected according to the effect graph to perform final edge processing on the display panel.
Further, if a corresponding rotation angle is set for each pixel, the amount of calculation of this edge processing method is greatly increased, wasting time and reducing efficiency. Under the precondition of ensuring smooth transition of the edge, the inventor finds that the edge fitting function f (x) is divided into rotation groups according to the slope of the tangent line, and the smooth transition of the edge can be achieved by using the same rotation angle for each rotation group. Further, in order to reduce the amount of calculation, the total number of rotation groups does not exceed 8 groups.
S3: judging the number c of the pixel points in the fitting function f (x) in each pixel;
referring to fig. 11 and 12, fig. 11 is another enlarged partial schematic view of the irregular-shaped display panel of the embodiment of fig. 3; FIG. 12 is another enlarged partial view of the display panel of FIG. 3;
referring to fig. 3, the edge processing method of the present application is to determine the number c of the pixel points 120 in each pixel 12 located in the fitting function f (x), where the fitting function f (x) is located in the display area surrounded by the fitting function f (x). We determine whether the pixel 120 is within the fitting function f (x) by calculating the size of the ordinate. The determination method of the ordinate is different between the upper half 100a of the display panel 100 and the lower half 100b of the display panel 100. In addition, the upper half and the lower half mean that, when the fitting function f (x) is within a range of the abscissa, the slope of the tangent increases with the increase of the abscissa, and the shortening is in the upper half. That is, for a segment of the fitting function f (x), the segment belongs to the upper half of the display panel 100 when its second derivative is greater than zero. Similarly, when the fitting function f (x) is within a range of the abscissa, the slope of the tangent line decreases with increasing abscissa, and then becomes lower. That is, for a segment of the fitting function f (x), the segment belongs to the lower half of the display panel 100 when its second derivative is less than zero.
Referring to FIG. 12, the second derivative of the edge 112 of the display panel is less than zero, and thus it is located in the lower half 100b of the display panel for A1~A4For four pixels, A1And A2Is located within the edge 112 and pixel point a3And A4Is located outside of the edge 112.
Specifically, referring to fig. 3 and 7, fig. 7 is a partially enlarged view of the edge 111 of the upper half 100a of the display panel 100 of fig. 3. When the irregular area is located at the upper half portion of the display panel, the determining the number c of the pixel points located in the fitting function f (x) in each pixel includes:
traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi-f(xi) And when the pixel point is less than or equal to 0, marking that the pixel point is positioned in the fitting function f (x). That is, when the pixel 120 is located below the fitting function f (x), the pixel 120 is determined to be located within the fitting function f (x), and the number c of the pixels 120 in each pixel 12 can be obtained after all the pixels 120 in one pixel 12 are traversed. Taking the example of fig. 7 as an example, the number of the pixel points 120 located below the fitting function f (x) in the first pixel 12 from left to right is 0; the number of pixel points 120 located below the fitting function f (x) in the second pixel 12 from left to right is 1; the number of pixel points 120 located below the fitting function f (x) in the sixth pixel 12 from left to right is 3.
Specifically, referring to fig. 3 and 11, fig. 11 is a partially enlarged view of the lower half 100b of the display panel 100 of fig. 3 at the edge 112. When the irregular area is located at the upper half portion of the display panel, the determining the number c of the pixel points located in the fitting function f (x) in each pixel includes:
traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi-f(xi) And when the pixel point is larger than or equal to 0, marking that the pixel point is positioned in the fitting function f (x). That is, when the pixel 120 is located above the fitting function f (x), the pixel 120 is determined to be located in the fitting function f (x), and the number c of the pixels 120 in each pixel 12 can be obtained after all the pixels 120 in one pixel 12 are traversed. Taking the example of fig. 11 as an example, the number of the pixel points 120 located above the fitting function f (x) in the first pixel 12 in the first row from left to right is 1; the number of pixel points 120 below the fitting function f (x) in the fourth row of the third pixels 12 from left to right is 3; the number of pixel points 120 located below the fitting function f (x) in the fourth pixel 12 in the fifth row from left to right is 4.
Then, a compensation coefficient k is generated according to the number c of the pixel points in the fitting function f (x) in each pixel, specifically,
s4: generating a compensation coefficient k, wherein k is c/d; as can be known from the foregoing theory, the number of the obtained pixel points 120 in the fitting function f (x) represents the area that should emit light, and the compensation coefficient is determined by the ratio of the area that should emit light to the total light emitting area. The ratio of the number of pixels 120 in the fitting function f (x) to the total number of pixels can represent the compensation coefficient. Therefore, the compensation coefficient k is determined as c/d
S5: and generating an edge smoothing coefficient according to the compensation coefficient k. Since the compensation coefficient k is the ratio of the area to be illuminated to the total illumination area based on the principle of c/d, the ratio and the luminance are substantially linear. The final edge smoothing coefficient is applied to the gray scale voltage, which is not linear with the brightness. Therefore, in order to obtain the most accurate edge smoothing coefficient, it cannot be said that the compensation coefficient k is directly equal to the edge smoothing coefficient, but the compensation coefficient k needs to be mapped to the edge smoothing coefficient k'.
Specifically, the generating the edge smoothing coefficient according to the compensation coefficient includes: mapping the compensation coefficient k into a first compensation coefficient k'; the first compensation coefficient k' is taken as an edge smoothing coefficient. The specific first compensation coefficient k' may be determined according to a gamma curve of gray scale and brightness. Therefore, the linear relation between the compensation coefficient k and the brightness can be converted into the nonlinear relation of the gamma curve which is more suitable for the gray scale and the brightness, and the edge transition is smoother.
Further, please refer to fig. 13, fig. 13 is a flowchart illustrating a processing method of a special-shaped display panel according to another embodiment of the present application.
At S5: after generating the edge smoothing coefficient according to the compensation coefficient k, the method further comprises:
s6: synthesizing a base image according to the pixel arrangement information; the edge smoothing coefficients are required to be displayed on the display panel after the external device generates the edge smoothing coefficients. The processing logic of this embodiment is to first synthesize a base image based on the pixel arrangement information. The basic image is not subjected to edge smoothing processing, and processing steps are not added to image synthesis of the display panel, so that the applicability of the driving chip is greatly enhanced, and an image synthesis module of the driving chip is not required to be additionally designed.
S7: extracting edge smoothing data;
s8: and inputting a basic image, and performing operation and output with the edge smoothing coefficient. The edge smoothing data is the edge smoothing coefficient. And the synthesized image and the edge smoothing coefficient are operated and output, so that the image displayed by the display panel is subjected to edge smoothing processing, and the visual adverse effect caused by edge sawtooth is greatly reduced. In addition, in this embodiment, only the image needs to be transmitted to the edge smoothing processing module after the driver chip has synthesized the image, and the edge smoothing processing module invokes the edge smoothing coefficient to process the synthesized image and then transmit the processed image to the display panel, which is equivalent to adding a step before the image is transmitted to the display panel, and has no influence on the synthesis and processing of the original image.
Specifically, the inputting the base image, and performing operation and output with the edge smoothing processing coefficient includes:
and extracting the gray scale G of the edge pixel in the basic image, and outputting the gray scale k'. G after performing linear calculation on the edge pixel. In the edge processing, in order to reduce the amount of computation, only the gray scale G of the pixel located at the edge in the image may be extracted, only the edge pixel may be calculated, and the gray scale G of the edge pixel may be multiplied by the edge smoothing coefficient k ', so as to obtain the final gray scale k' × G of the edge pixel.
The application also discloses a display panel and a display device. The display panel of the application applies the edge processing method of the special-shaped display panel. The display device of the present application may include the display panel 10000 as described above, including but not limited to the cellular phone 1000, a tablet computer, a display of a computer, a display applied to a smart wearable device, a display applied to a vehicle such as an automobile, and the like as shown in fig. 14. The display device is considered to fall within the scope of protection of the present application as long as the display device includes the display panel included in the display device disclosed in the present application.
The edge processing method of the special-shaped display panel can be used for solving the edge smoothing coefficient extraction algorithm of the special-shaped screen in any shape, and is not limited to the special-shaped display panel with the rule of a rain circle and the like. The edge processing method is adopted to improve the edge saw teeth. The whole edge processing process is finished before leaving the factory, the occupation amount and the calculated amount of resources of the driving chip are small, and the power consumption of the driving chip can be reduced.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (12)
1. The edge processing method of the special-shaped display panel is characterized in that the display panel is provided with a target display area, and the target display area is provided with a special-shaped edge;
fitting the edges of the display area of the display panel into a function f (x) according to the shape of the target display area of the display panel;
d pixel points are arranged in each pixel; wherein d is more than or equal to 4;
judging the number c of the pixel points in the fitting function f (x) in each pixel;
generating a compensation coefficient k, wherein k = c/d;
generating an edge smoothing coefficient according to the compensation coefficient;
wherein the generating of the edge smoothing coefficient according to the compensation coefficient comprises:
mapping the compensation coefficient k into a first compensation coefficient k';
taking the first compensation coefficient k' as an edge smoothing coefficient;
the edge smoothing coefficient is applied to a gray scale voltage of the display panel, and the gray scale voltage and the brightness are not in a linear relation.
2. The method of claim 1, wherein the edge of the shaped display panel is processed,
the fitting the edge of the display area of the display panel to the function f (x) according to the shape of the target display area of the display panel specifically includes:
determining one point in a plane as a coordinate origin;
segmenting a special-shaped area at the edge of a display area of the display panel;
the edges are fitted to a piecewise function f (x).
3. The edge processing method of claim 1, wherein the coordinates of each pixel point is Ai(xi,yi) I is a positive integer from 1 to d,
the setting d pixel points in each pixel further comprises:
the d pixel points are uniformly distributed; the uniform distribution is that the geometric center of the figure formed by the d pixel points is approximately superposed with the geometric center of the pixel.
4. The method of claim 3, wherein the edge of the shaped display panel is processed,
rotating the d pixel points around the geometric center of the pixel by a certain angle theta; in the coordinate axes, the abscissa of the pixel is located at [ m, n ];
0.5 ≦ f '(z) tan θ ≦ 2 f' (z), where z ∈ [ m, n ];
wherein the slope of the tangent line of the fitting function f (x) at any point in the coordinates [ m, n ] is f' (z).
5. The method of claim 3, wherein the edge of the shaped display panel is processed,
rotating the d pixel points by an angle theta around the geometric center of the pixel,
the rotation angle theta is determined by pre-simulation.
6. An edge processing method of a shaped display panel according to claim 5,
dividing the edge fitting function f (x) into rotation groups according to the slope of the tangent;
the total number of rotated groups does not exceed 8 groups.
7. The method of claim 2, wherein the edge of the shaped display panel is processed,
when the irregular area is located at the upper half portion of the display panel, the determining the number c of the pixel points located in the fitting function f (x) in each pixel includes:
traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi -f(xi) And when the pixel point is less than or equal to 0, marking that the pixel point is positioned in the fitting function f (x).
8. The method of claim 2, wherein the edge of the shaped display panel is processed,
when the special-shaped area is located in the lower half portion of the display panel, the determining the number c of the pixel points located in the fitting function f (x) in each pixel includes:
traversing all pixel points, wherein the pixel point coordinate Ai(xi,yi) When y isi -f(xi) And when the pixel point is larger than or equal to 0, marking that the pixel point is positioned in the fitting function f (x).
9. The method of claim 1, wherein the edge of the shaped display panel is processed,
the edge processing method further includes:
synthesizing a base image according to the pixel arrangement information;
extracting edge smoothing data;
inputting a basic image, and performing operation and output with the edge smoothing coefficient;
the edge smoothing data is the edge smoothing coefficient.
10. The method of claim 9, wherein the edge of the shaped display panel is processed,
the inputting the basic image, and the calculating and outputting with the edge smoothing processing coefficient comprises:
and extracting the gray scale G of the edge pixel in the basic image, and outputting the gray scale k'. G after performing linear calculation on the edge pixel.
11. A display panel, wherein the method for processing the edge of the special-shaped display panel according to any one of claims 1 to 10 is applied to the display panel.
12. A display device characterized by comprising the display panel according to claim 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811491319.3A CN109636751B (en) | 2018-12-07 | 2018-12-07 | Edge processing method of special-shaped display panel, display panel and display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811491319.3A CN109636751B (en) | 2018-12-07 | 2018-12-07 | Edge processing method of special-shaped display panel, display panel and display device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109636751A CN109636751A (en) | 2019-04-16 |
CN109636751B true CN109636751B (en) | 2020-11-27 |
Family
ID=66071658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811491319.3A Active CN109636751B (en) | 2018-12-07 | 2018-12-07 | Edge processing method of special-shaped display panel, display panel and display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109636751B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110930919B (en) * | 2019-11-20 | 2023-04-21 | 豪威触控与显示科技(深圳)有限公司 | Image processing method and display driving device |
CN111081149B (en) * | 2019-12-26 | 2021-12-03 | Tcl华星光电技术有限公司 | Display method and display device |
CN110930915B (en) * | 2019-12-26 | 2022-08-16 | 厦门天马微电子有限公司 | Display device and debugging method and debugging device thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104359403A (en) * | 2014-11-21 | 2015-02-18 | 天津工业大学 | Plane part size measurement method based on sub-pixel edge algorithm |
CN105514134A (en) * | 2016-01-04 | 2016-04-20 | 京东方科技集团股份有限公司 | Display panel and display device |
CN106530993A (en) * | 2016-12-28 | 2017-03-22 | 上海天马微电子有限公司 | Display panel and display device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2247596B (en) * | 1990-08-28 | 1995-03-01 | Avesco Plc | Video image formation |
JP2957511B2 (en) * | 1997-03-28 | 1999-10-04 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Graphic processing unit |
US8269788B2 (en) * | 2005-11-15 | 2012-09-18 | Advanced Micro Devices Inc. | Vector graphics anti-aliasing |
JPWO2013021525A1 (en) * | 2011-08-11 | 2015-03-05 | パナソニック株式会社 | Image processing apparatus, image processing method, program, and integrated circuit |
CN106903877A (en) * | 2017-02-18 | 2017-06-30 | 无锡金谷三维科技有限公司 | A kind of photocuring 3D printing antialiasing optimization method of the LCD based on RGB arrangements |
CN108009978B (en) * | 2017-11-24 | 2021-04-20 | 中国航空工业集团公司西安航空计算技术研究所 | Non-blocking parallel triangular rasterization unit structure |
-
2018
- 2018-12-07 CN CN201811491319.3A patent/CN109636751B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104359403A (en) * | 2014-11-21 | 2015-02-18 | 天津工业大学 | Plane part size measurement method based on sub-pixel edge algorithm |
CN105514134A (en) * | 2016-01-04 | 2016-04-20 | 京东方科技集团股份有限公司 | Display panel and display device |
CN106530993A (en) * | 2016-12-28 | 2017-03-22 | 上海天马微电子有限公司 | Display panel and display device |
Also Published As
Publication number | Publication date |
---|---|
CN109636751A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11392197B2 (en) | Image rendering method, device, system, storage medium, image display method and computer device | |
CN109636751B (en) | Edge processing method of special-shaped display panel, display panel and display device | |
CN109243384B (en) | Display device, driving method thereof, driving apparatus thereof, and computer readable medium | |
JP2009192887A (en) | Display device | |
WO2018149172A1 (en) | Image processing method and apparatus | |
US10210788B2 (en) | Displaying method and display with subpixel rendering | |
CN109461400B (en) | Sub-pixel rendering method and device for converting RGB (red, green and blue) image into RGBW (red, green and blue) image | |
WO2019101005A1 (en) | Pixel compensation method and apparatus, and terminal device | |
MXPA03002165A (en) | Hardware-enhanced graphics acceleration of pixel sub-component-oriented images. | |
CN109801233B (en) | Method for enhancing true color remote sensing image | |
CN106204690A (en) | A kind of image processing method and device | |
US20200279415A1 (en) | Efficiently Computed Distance Fields | |
JP2006053887A (en) | Interpolation method for resolution conversion, image processor, image display device, program, and recording medium | |
WO2023207275A1 (en) | Display control method and apparatus, display device, electronic device and medium | |
US20080252658A1 (en) | Method of Converting Signals For Multi-Primary Color Display | |
US6512524B1 (en) | Method and apparatus for object element attribute determination using barycentric coordinates | |
CN111798810A (en) | Special-shaped screen contour compensation method with good compensation effect and high efficiency and terminal | |
US6507348B1 (en) | Method and apparatus for clipping an object element in accordance with a clip volume | |
US20150302612A1 (en) | Image-rendering device, image-rendering method, and navigation device | |
US20200160492A1 (en) | Image Adjustment Method and Device, Image Display Method and Device, Non-Transitory Storage Medium | |
US6459438B1 (en) | Method and apparatus for determining clipping distance | |
US10096135B2 (en) | Image processing LSI and image processing program | |
CN111402354B (en) | Color contrast enhancement drawing method, device and system suitable for optical transmission type head-mounted display | |
CN112884661A (en) | Image processing apparatus, display apparatus, computer-readable storage medium, and image processing method | |
CN116168658A (en) | LCD color difference adjusting method, device, equipment and medium based on radial reflection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |