CN110930919B - Image processing method and display driving device - Google Patents
Image processing method and display driving device Download PDFInfo
- Publication number
- CN110930919B CN110930919B CN201911138599.4A CN201911138599A CN110930919B CN 110930919 B CN110930919 B CN 110930919B CN 201911138599 A CN201911138599 A CN 201911138599A CN 110930919 B CN110930919 B CN 110930919B
- Authority
- CN
- China
- Prior art keywords
- pixel points
- display area
- group
- smoothed
- pixel
- 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
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2092—Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G3/2096—Details of the interface to the display terminal specific for a flat panel
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The embodiment of the invention provides an image processing method and a display driving device for a display screen, wherein the display screen comprises a display area with pixel points and a non-display area without pixel points, which are adjacent to each other, and the image processing method comprises the following steps: receiving image data of the whole display screen; setting a first group of pixel points corresponding to a non-display area in the image data as black points; smoothing a second group of pixel points corresponding to the edge of the display area in the image data; and sending the processed image data to a display screen, wherein the smoothing process includes gain compensating the second set of pixels according to the shape of the edge of the display area. The invention compensates the gain according to the shape of the display screen, so that each display screen can be compensated to the optimal smooth effect, and when the invention is applied to the display screen with the arc edge, the phenomenon of image jagging at the arc edge of the display screen is solved.
Description
Technical Field
The present invention relates to the field of image processing, and in particular, to an image processing method and a display driving device for a display screen.
Background
In order to increase the screen ratio of a mobile phone, many mobile phone manufacturers continuously reduce the frame on the front side of the mobile phone, and in addition, in order to reduce the empty area on the front side of the mobile phone due to the front camera, the optical sensor and the mobile phone receiver, mobile phone manufacturers also improve the mobile phone display screen.
Currently, mobile phone manufacturers have designed improvement on the mobile phone display screen, such as designing a water drop screen, liu Haibing shown in fig. 1 (a), and a hole digging screen shown in fig. 1 (b), and converting the four corners of the display screen from right angles to arc angles so as to be closer to the mobile phone frame. For these improvements of the display screen, the display screen needs to be cut out into arc-shaped edge lines, and the display screen is divided into a display area with pixels and a non-display area without pixels by the arc-shaped edge lines. However, since the display screen is formed by arranging a plurality of pixels in an array, a jagged image may occur at the arc-shaped edge of the display area.
Aiming at the phenomenon of image jagging at the arc-shaped edge of a display screen, an effective processing method is lacking in the prior art.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide an image processing method and system, and a display driving device, which can effectively process the image jagged phenomenon at the arc edge of the display screen, so as to achieve a better processing effect.
According to a first aspect of the present invention, there is provided an image processing method of a display screen including a display area having pixel points and a non-display area having no pixel points, which are adjacent to each other, the image processing method comprising:
receiving image data of the whole display screen;
setting a first group of pixel points corresponding to the non-display area in the image data as black points;
smoothing a second group of pixel points corresponding to the edge of the display area in the image data; and
transmitting the processed image data to the display screen,
the smoothing process includes performing gain compensation on the second group of pixel points according to the shape of the edge of the display area.
Optionally, at least a portion of the non-display area edge is arcuate.
Optionally, the second group of pixels is preset by:
scanning the display screen through a 3 x 3 scanning matrix;
judging whether a current scanning area of the scanning matrix meets a target condition, wherein the target condition is that the center of the scanning matrix is positioned in the display area and pixel points belonging to the first group of pixel points exist at the edge of the scanning matrix;
and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the current scanning area of the scanning matrix meets the target condition.
Optionally, smoothing the second group of pixels corresponding to the edge of the display area in the image data includes:
for each pixel point to be smoothed in the second group of pixel points, obtaining a gain coefficient of the pixel point to be smoothed, wherein the gain coefficient is the ratio of the weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points to the brightness value of the pixel point to be smoothed;
and determining the brightness value of the pixel point to be smoothed after processing by the gain coefficient.
Optionally, the brightness value is processed by a weighted average filtering mode to obtain a weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points.
Optionally, the weighted average filter adopted in the weighted average filtering method is a 3×3 weighted matrix, and three rows of weights of the weighted matrix are sequentially arranged in a matrix arrangement order: (1, 2, 1), (2, 4, 2) and (1, 2, 1).
Optionally, the second group of pixels is preset by:
acquiring a reference line, wherein the reference line is positioned in a display area of the display screen and is separated from an edge line of the display area by a distance of one pixel point in the direction along the radius of curvature;
traversing the reference line to find each pixel point divided by the reference line;
and determining the searched pixel point as one pixel point in the second group of pixel points.
Optionally, smoothing the second group of pixels corresponding to the edge of the display area in the image data includes:
for each pixel point to be smoothed in the second group of pixel points, acquiring a first area facing one side of the display area after each pixel point to be smoothed is divided by the reference line;
determining the ratio of the first area in the total area of the pixel points to be smoothed as a gain coefficient of the pixel points to be smoothed;
and determining the product of the brightness value of the pixel to be smoothed and the gain coefficient as the brightness value of the pixel to be smoothed after processing.
Optionally, the brightness value included in the image data is not gamma corrected, and smoothing processing is performed on a second group of pixels corresponding to the edge of the display area in the image data, including:
obtaining the gain coefficient of the smoothing process in a linear region;
converting the gain coefficient according to the gamma correction characteristic of the display screen;
and adjusting the brightness value of the corresponding pixel point through the converted gain coefficient.
Optionally, the non-display area at least includes any one of a hole digging area, an edge opening area and a corner rounding area of the display screen.
According to a second aspect of the present invention, there is provided a display driving apparatus for a display panel including a display area having pixel dots and a non-display area having no pixel dots, the display driving apparatus comprising:
the input end is used for receiving the image data of the whole display screen;
a preprocessing module, configured to set a first group of pixel points corresponding to the non-display area in the image data as black points;
the processing module is used for carrying out smoothing processing on a second group of pixel points corresponding to the edge of the display area in the image data;
an output end for transmitting the processed image data to the display screen,
the smoothing process includes performing gain compensation on the second group of pixel points according to the shape of the edge of the display area.
Optionally, at least a portion of the non-display area edge is arcuate.
Optionally, the second group of pixels is preset by:
scanning the display screen through a 3 x 3 scanning matrix;
judging whether a current scanning area of the scanning matrix meets a target condition, wherein the target condition is that the center of the scanning matrix is positioned in the display area and pixel points belonging to the first group of pixel points exist at the edge of the scanning matrix;
and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the current scanning area of the scanning matrix meets the target condition.
Optionally, the processing module is configured to:
for each pixel point to be smoothed in the second group of pixel points, obtaining a gain coefficient of the pixel point to be smoothed, wherein the gain coefficient is the ratio of the weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points to the brightness value of the pixel point to be smoothed;
and determining the brightness value of the pixel point to be smoothed after processing by the gain coefficient.
Optionally, the processing module is configured to process the luminance value by a weighted average filtering manner to obtain a weighted average of the luminance value of the pixel point to be smoothed and the luminance value of surrounding pixel points.
Optionally, the weighted average filter adopted in the weighted average filtering method is a 3×3 weighted matrix, and three rows of weights of the weighted matrix are sequentially arranged in a matrix arrangement order: (1, 2, 1), (2, 4, 2) and (1, 2, 1).
Optionally, the second group of pixels is preset by:
acquiring a reference line, wherein the reference line is positioned in a display area of the display screen and is separated from an edge line of the display area by a distance of one pixel point in the direction along the radius of curvature;
traversing the reference line to find each pixel point divided by the reference line;
and determining the searched pixel point as one pixel point in the second group of pixel points.
Optionally, the processing module is configured to:
for each pixel point to be smoothed in the second group of pixel points, acquiring a first area facing one side of the display area after each pixel point to be smoothed is divided by the reference line;
determining the ratio of the first area in the total area of the pixel points to be smoothed as the gain coefficient of the pixel points to be smoothed;
and determining the product of the brightness value of the pixel to be smoothed and the gain coefficient as the brightness value of the pixel to be smoothed after processing.
Optionally, the brightness value included in the image data is not gamma corrected, and the processing module is configured to:
acquiring a gain coefficient of the smoothing processing in a linear region;
converting the gain coefficient according to the gamma correction characteristic of the display screen;
and adjusting the brightness value of the corresponding pixel point through the converted gain coefficient.
Optionally, the non-display area at least includes any one of a hole digging area, an edge opening area and a corner rounding area of the display screen.
Embodiments of the present invention have the following advantages or benefits:
according to the image processing method and the display driving device for the display screen, after the first group of pixel points corresponding to the non-display area in the image data are set as black points, the second group of pixel points corresponding to the edge of the display area in the image data are subjected to smoothing processing, and the second group of pixel points are subjected to gain compensation according to the shape of the edge of the display area.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing embodiments thereof with reference to the following drawings in which:
fig. 1 (a) is a schematic diagram of Liu Haibing;
FIG. 1 (b) is a schematic view of a screen;
FIG. 2 is a flow chart of an image processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a second group of pixels according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram of a second group of pixels according to a first embodiment of the present invention;
FIG. 5 is a flowchart of another image processing method according to an embodiment of the present invention;
fig. 6 (a) is an unprocessed image data display effect;
fig. 6 (b) shows the display effect of the image data of fig. (a) after being processed by the image processing method according to the first embodiment of the present invention;
fig. 7 is a block diagram showing a structure of a display driving apparatus according to a second embodiment of the present invention;
fig. 8 is a block diagram of another display driving apparatus according to the second embodiment of the present invention.
Detailed Description
The present invention is described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in detail. The present invention will be fully understood by those skilled in the art without the details described herein. Well-known methods, procedures, and flows have not been described in detail so as not to obscure the nature of the invention. The figures are not necessarily drawn to scale.
Before describing the image processing method and the display driving device provided by the invention in detail, it should be noted that, in the embodiment of the invention, the display screen includes a display area with pixels and a non-display area without pixels, which are adjacent to each other. Fig. 2 is a flowchart of an image processing method according to a first embodiment of the present invention. Referring to fig. 2, an image processing method for a display screen includes:
step S101, receiving image data of the entire display screen.
In step S102, a first group of pixel points corresponding to the non-display area in the image data is set as black points.
It should be noted that, each pixel point is composed of three sub-pixels of RGB, wherein the brightness value range of each sub-pixel is 0-255, and when the brightness of the three components of RGB is 0, the pixel point displays black, so that the first group of pixel points corresponding to the non-display area in the image data is set as black points, and the brightness of the three components of RGB of the first group of pixel points is set as 0.
Step S103, performing smoothing processing on a second group of pixel points corresponding to the edge of the display area in the image data, wherein the smoothing processing comprises performing gain compensation on the second group of pixel points according to the shape of the edge of the display area.
Step S104, the processed image data is sent to a display screen.
In the embodiment of the invention, after the first group of pixel points corresponding to the non-display area in the image data are set as black points, the second group of pixel points corresponding to the display area edge in the image data are subjected to smoothing treatment, and the second group of pixel points are subjected to gain compensation according to the shape of the display area edge, so that each display screen can be compensated to the optimal smoothing effect due to the gain compensation according to the shape of the display screen, and the phenomenon of image jagging at the arc edge of the display screen is solved when the display screen is applied to the display screen with the arc edge.
The non-display area includes, for example, at least any one of a hole digging area, an edge opening area, and a corner rounding area of the display screen. In some special examples, at least a part of the edge of the non-display area is arc-shaped, so that obvious image jaggies appear at the edge of the display screen.
In an alternative embodiment, the second set of pixels is preset by: scanning the display screen through a 3 x 3 scanning matrix; judging whether the current scanning area of the scanning matrix meets a target condition, wherein the target condition is that the center of the scanning matrix is in a display area and pixel points belonging to a first group of pixel points exist at the edge of the scanning matrix; and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the current scanning area of the scanning matrix meets the target condition.
For example, in the display screen shown in fig. 3, the white curve is an edge line, and the image data is a white image after being displayed on the display screen, where if the black box is the current scanning area of the scanning matrix, the point P is a pixel point of the processing area, and the whole processing area is composed of the point P and the points Q shown in fig. 3.
Further, step S103, performing smoothing processing on a second group of pixels corresponding to the edge of the display area in the image data, includes: for each pixel to be smoothed in the second group of pixel points, obtaining a gain coefficient of the pixel to be smoothed, wherein the gain coefficient is the ratio of the weighted average value of the brightness value of the pixel to be smoothed and the brightness value of surrounding pixel points to the brightness value of the pixel to be smoothed; and determining the brightness value of the pixel to be smoothed after processing by the gain coefficient, namely determining the product of the gain coefficient and the brightness value of the pixel to be smoothed as the brightness value of the pixel to be smoothed after processing. The brightness value can be processed by a weighted average filtering mode to obtain a weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points, wherein a weighted average filter adopted by the weighted average filtering method can be a 3×3 weighted matrix, each element of the weighted matrix can be determined according to the adjustment requirement of a processing area, namely, the weight ratio of the weighted average filter can be arbitrarily proportioned according to the adjustment requirement of the processing area, and three rows of weights of the weighted matrix can be sequentially selected as follows in a matrix arrangement sequence in some practical operations: (1, 2, 1), (2, 4, 2) and (1, 2, 1).
It should be noted that, first, each numerical value in the weighting matrix only represents the ratio between the weights, but when each weight is used for calculating the gain coefficient of the pixel point to be smoothed, the normalization processing is performed; second, the weighted average may be a fraction, and since the luminance value is an integer, the weighted average may be rounded off or the like. Based on this, since the non-display area without the pixel is regarded as the luminance value 0 and the display area with the pixel is regarded as the luminance value 255 after the display screen without the image processing is lighted, taking the current scanning area shown in fig. 3 (located in a black thick line frame with the point P as the center point and including nine pixel points) as an example, the nine-grid luminance is (0, 255;255, 255) in order from top to bottom and from left to right, and the luminance of the point P is the whole result of the calculation of the following formula:
[(16*0+32*255+16*255)+(32*255+64*255+32*255)+(16*255+32*255+16*255)]/256,
that is, the luminance of the P-point is 239, the luminance of the P-point is between 0 and 255, and the luminance gradation is constructed between the non-display area and the display area by the P-point to alleviate the jaggy phenomenon.
In another alternative embodiment, the second set of pixels is preset by: acquiring a reference line (refer to a black arc line shown in fig. 4) which is positioned in a display area of the display screen and is separated from an edge line (refer to a white arc line shown in fig. 3) of the display area by a distance of one pixel point in a direction along a curvature radius; traversing the reference line to find each pixel point divided by the reference line; and determining the searched pixel point as one pixel point in the second group of pixel points. It should be understood that the reference line is a reference line introduced for image processing and is not a borderline actually present in the display screen.
Further, referring to fig. 4, in step S103, smoothing processing is performed on a second group of pixels corresponding to an edge of the display area in the image data, including: for each pixel point to be smoothed in the second group of pixel points, acquiring a first area facing one side of the display area after each pixel point to be smoothed is divided by a reference line; determining the ratio of the first area in the total area of the pixel points to be smoothed as a gain coefficient of the pixel points to be smoothed; and determining the product of the brightness value of the pixel to be smoothed and the gain coefficient as the brightness value of the pixel to be smoothed after processing, so that the brightness value of the pixel to be smoothed is not only in the transition area of the brightness of surrounding pixels, but also modulated by the number of black pixels in the surrounding pixels, and the smoothing of the arc edge is facilitated.
Referring to fig. 5, in another alternative embodiment, the brightness values included in the image data are not gamma corrected, that is, are in the linear RGB domain, so that the processed image data are directly displayed on the display screen without gamma correction, and the smoothing process is performed on the second group of pixels corresponding to the edge of the display area in the image data in step S103, including:
step S1031, obtaining a gain coefficient G of smoothing processing in a linear region, and converting the gain coefficient G according to gamma correction characteristics of a display screen to obtain a converted gain coefficient G';
in step S1032, the brightness value of the corresponding pixel is adjusted by the converted gain coefficient G'.
It should be noted that, the gain coefficient G may be obtained by software calculation, and the brightness value included in the image data is multiplied by the ratio of the converted gain coefficient G' to the maximum brightness value to obtain the adjusted brightness value.
The conversion of the gain coefficient G according to the gamma correction characteristic of the display screen may specifically be that a pre-stored correspondence is read from the memory, where the correspondence is a correspondence between various values of the gain coefficient G obtained according to the gamma correction characteristic of the display screen and the converted gain coefficient G'; then, the gain coefficient G is converted according to the correspondence relation.
Fig. 6 (a) shows an unprocessed image data display effect, fig. 6 (b) shows a display effect of the image data of fig. 6 (a) processed by the above-described image processing method, and the unprocessed image data is data to be displayed as a white image on a display screen. Referring to fig. 6 (a) and (b), it is apparent that there are some areas with brightness between black and white at the edges of the black pixels, i.e., the above-mentioned constituent areas of the second group of pixels, which alleviate the image jaggies at the arcuate edges.
Fig. 7 is a block diagram showing a display driving apparatus for a display panel according to a second embodiment of the present invention, wherein the display panel includes a display area having pixels and a non-display area having no pixels, and the display area and the non-display area are adjacent to each other. Referring to fig. 7, the display driving apparatus includes:
an input 100 for receiving image data of the entire display screen;
a preprocessing module 200, configured to set a first group of pixel points corresponding to a non-display area in the image data as black points;
a processing module 300, configured to perform smoothing processing on a second set of pixel points corresponding to the edge of the display area in the image data, where the smoothing processing includes performing gain compensation on the second set of pixel points according to the shape of the edge of the display area;
and an output 400 for transmitting the processed image data to a display screen.
In the display driving device shown in fig. 5, the input terminal 100 and the processing module 300 are connected, and the preprocessing module 200 and the input terminal 100 synchronously receive image data.
According to the display driving device provided by the embodiment of the invention, after the first group of pixel points corresponding to the non-display area in the image data are set as black points, the second group of pixel points corresponding to the edge of the display area in the image data are subjected to smoothing treatment, and the second group of pixel points are subjected to gain compensation according to the shape of the edge of the display area.
The non-display area of the display screen driven by the display driving device may at least include any one of a hole digging area, an edge opening area and a corner rounding area of the display screen. In some particular examples. At least a portion of the edge of the non-display area is arcuate.
In an alternative embodiment, the second set of pixels is preset by:
scanning the display screen through a 3 x 3 scanning matrix;
judging whether the current scanning area of the scanning matrix meets a target condition, wherein the target condition is that the center of the scanning matrix is in a display area and pixel points belonging to a first group of pixel points exist at the edge of the scanning matrix;
and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the current scanning area of the scanning matrix meets the target condition.
In an alternative embodiment, the processing module 300 is configured to:
for each pixel to be smoothed in the second group of pixel points, obtaining a gain coefficient of the pixel to be smoothed, wherein the gain coefficient is the ratio of the weighted average value of the brightness value of the pixel to be smoothed and the brightness value of surrounding pixel points to the brightness value of the pixel to be smoothed;
and determining the brightness value of the pixel point to be smoothed after processing through the gain coefficient.
In an alternative embodiment, the processing module 300 is configured to:
the processing module is used for processing the brightness value in a weighted average filtering mode to obtain a weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points.
In an alternative embodiment, the processing module 300 implements a weighted average filtering method with a weighted average filter of 3×3 weighting matrices, and three rows of weighting matrices are sequentially arranged in the matrix order: (1, 2, 1), (2, 4, 2) and (1, 2, 1).
In an alternative embodiment, the second set of pixels is preset by:
acquiring a reference line, wherein the reference line is positioned in a display area of a display screen and is separated from an edge line of the display area by a distance of one pixel point along the direction of a curvature radius;
traversing the reference line to find each pixel point divided by the reference line;
and determining the searched pixel point as one pixel point in the second group of pixel points.
In an alternative embodiment, the processing module 300 is configured to:
for each pixel point to be smoothed in the second group of pixel points, acquiring a first area facing one side of the display area after each pixel point to be smoothed is divided by a reference line;
determining the ratio of the first area in the total area of the pixel points to be smoothed as a gain coefficient of the pixel points to be smoothed;
and determining the product of the brightness value of the pixel to be smoothed and the gain coefficient as the brightness value of the pixel to be smoothed after processing.
Referring to fig. 8, in an alternative embodiment, the preprocessing module 200 includes a black-out unit 201 and a gain compensation unit 202, where the black-out unit 201 is configured to set a first group of pixels corresponding to a non-display area in the image data as black points, and the gain compensation unit 202 is configured to calculate a gain coefficient G of the linear area smoothing process; the processing module 300 includes a processing unit 301 and a calculating unit 302, where the processing unit 301 is configured to obtain the gain coefficient G calculated by the gain compensation unit 202 and convert the gain coefficient G according to the gamma correction characteristic of the display screen, and the calculating unit 302 adjusts the brightness value of the corresponding pixel point according to the converted gain coefficient G'.
Referring to fig. 8, based on this embodiment, the preprocessing module 200 may include a plurality of sets of the blackout unit 201 and the gain compensation unit 202, and one set of the blackout unit 201 and the gain compensation unit 202 is directed to one or a type of arc edge line, so that the display driving apparatus may adapt to a plurality of different display screen designs. Referring to fig. 1 (a) and (b), if the non-pixel areas of four corners of the display screen are designated as a burner, the non-pixel areas starting at the edges are designated as a Notch, and the holes on the display screen are designated as a hole, the preprocessing module 200 may include three sets of black-out units 201 and gain compensation units 202, the three sets of black-out units 201 and gain compensation units 202 being respectively directed to the burner, the Notch and the hole, and thus the display screen may be designed with an unlimited number of notches and holes and four burners corresponding to the four corners of the display screen. The display driving device provided by the embodiment of the invention is not limited to the arc-shaped edge line with specific radian and arc length and is also not limited to the position of the arc-shaped edge line, so that the radian of the edge line of the burner can be set arbitrarily; the position of the notch can be in any one of the directions of the upper, lower, left and right of the screen, and the length, the width and the radian can be adjusted; the position of Hole can appear in any area of the screen, and the length, width and radian are also adjustable, so that the display driving device provided by the embodiment of the invention can flexibly adapt to various different display screen designs.
It should be noted that, the display driving device provided in the second embodiment of the present invention performs the image processing method according to the first embodiment of the present invention, and in view of the detailed description of the image processing method in the first embodiment, the second embodiment of the present invention will not be repeated for the display driving device.
It should be appreciated that executable instructions implementing prescribed logic functions may be recombined to generate new modules, and thus the display driving apparatus described above is not limited to being partitioned by the module partitioning method described above.
The flowcharts, block diagrams in the figures illustrate the possible architectural framework, functions, and operations of the systems, methods, apparatus of the embodiments of the present invention, and the blocks in the flowcharts and block diagrams may represent a module, a program segment, or a code segment, which is an executable instruction for implementing the specified logical function(s). The blocks of the drawings and the order of the blocks are merely for better illustrating the processes and steps of the embodiments and should not be taken as limiting the invention itself.
The various modules or units of the system may be implemented in hardware, firmware, or software. The software includes, for example, code programs formed using various programming languages such as JAVA, C/C++/C#, SQL, and the like. Although steps and sequences of steps of embodiments of the present invention are presented in terms of methods and apparatus, executable instructions for implementing the specified logical function(s) of the steps may be rearranged to produce new steps. The order of the steps should not be limited to only the order of the steps in the method and method illustration, but may be modified at any time as required by the function. For example, some of the steps may be performed in parallel or in reverse order.
Systems and methods according to the present invention may be deployed on a single or multiple servers. For example, different modules may be deployed on different servers, respectively, to form a dedicated server. Alternatively, the same functional units, modules, or systems may be distributed across multiple servers to relieve load pressure. The server includes, but is not limited to, a plurality of PCs, PC servers, blades, supercomputers, etc. connected on the same local area network and through the Internet.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. An image processing method for a display screen including a display area having pixel points and a non-display area having no pixel points, which are adjacent to each other, the image processing method comprising:
receiving image data of the whole display screen;
setting a first group of pixel points corresponding to the non-display area in the image data as black points;
performing smoothing processing on a second group of pixel points corresponding to the edge of the display area in the image data, wherein the smoothing processing comprises performing gain compensation on the second group of pixel points according to the shape of the edge of the display area; and
transmitting the processed image data to the display screen;
wherein the second set of pixels is determined based on a predetermined manner: scanning the display screen through a 3×3 scanning matrix, judging whether a current scanning area of the scanning matrix meets a target condition, and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the target condition is met, wherein the target condition is that the center of the scanning matrix is in the display area and the edge of the scanning matrix has the pixel points belonging to the first group of pixel points;
or determining each pixel point divided by the reference line as one pixel point in the second group of pixel points, and performing smoothing processing on the second group of pixel points corresponding to the edge of the display area in the image data, wherein the smoothing processing comprises the following steps: and acquiring a first area of each pixel point to be smoothed in the second group of pixel points, which is divided by the reference line and faces one side of the display area, determining the ratio of the first area in the total area of the pixel points to be smoothed as a gain coefficient of the pixel points to be smoothed, and determining the product of the brightness value of the pixel points to be smoothed and the gain coefficient as the brightness value of the pixel points to be smoothed after processing, wherein the reference line is positioned in the display area of the display screen and is separated from the edge line of the display area by a distance of one pixel point in the direction along the curvature radius.
2. The method of claim 1, wherein at least a portion of the non-display area edge is arcuate.
3. The method of claim 1, wherein smoothing a second set of pixels in the image data corresponding to the display area edge if the second set of pixels is determined based on the predetermined manner, comprises:
for each pixel point to be smoothed in the second group of pixel points, obtaining a gain coefficient of the pixel point to be smoothed, wherein the gain coefficient is the ratio of the weighted average value of the brightness value of the pixel point to be smoothed and the brightness value of surrounding pixel points to the brightness value of the pixel point to be smoothed;
and determining the brightness value of the pixel point to be smoothed after processing by the gain coefficient.
4. A method according to claim 3, wherein the luminance values are processed by weighted average filtering to obtain a weighted average of the luminance values of the pixel points to be smoothed and the luminance values of surrounding pixels.
5. The method of claim 4, wherein the weighted average filter used in the weighted average filtering method is a 3 x 3 weighting matrix, and the three rows of weights of the weighting matrix are in the order of the matrix arrangement: (1, 2, 1), (2, 4, 2) and (1, 2, 1).
6. The method of claim 1, wherein the image data includes luminance values that are not gamma corrected, and wherein smoothing the second set of pixels in the image data that correspond to the display area edges comprises:
obtaining the gain coefficient of the smoothing process in a linear region;
converting the gain coefficient according to the gamma correction characteristic of the display screen;
and adjusting the brightness value of the corresponding pixel point through the converted gain coefficient.
7. The method of claim 1, wherein the non-display area comprises at least any one of a hollowed-out area, an edge opening area, and a corner rounding area of the display screen.
8. A display driving apparatus for a display panel, the display panel including a display area having pixels and a non-display area having no pixels, the two being adjacent to each other, the display driving apparatus comprising:
the input end is used for receiving the image data of the whole display screen;
a preprocessing module, configured to set a first group of pixel points corresponding to the non-display area in the image data as black points;
the processing module is used for carrying out smoothing processing on a second group of pixel points corresponding to the edge of the display area in the image data, wherein the smoothing processing comprises gain compensation on the second group of pixel points according to the shape of the edge of the display area;
the output end is used for sending the processed image data to the display screen;
wherein the second set of pixels is determined based on a predetermined manner: scanning the display screen through a 3×3 scanning matrix, judging whether a current scanning area of the scanning matrix meets a target condition, and determining the center of the scanning matrix as one pixel point in the second group of pixel points under the condition that the target condition is met, wherein the target condition is that the center of the scanning matrix is in the display area and the edge of the scanning matrix has the pixel points belonging to the first group of pixel points;
or determining each pixel point divided by the reference line as one pixel point in the second group of pixel points, and performing smoothing processing on the second group of pixel points corresponding to the edge of the display area in the image data, wherein the smoothing processing comprises the following steps: and acquiring a first area of each pixel point to be smoothed in the second group of pixel points, which is divided by the reference line and faces one side of the display area, determining the ratio of the first area in the total area of the pixel points to be smoothed as a gain coefficient of the pixel points to be smoothed, and determining the product of the brightness value of the pixel points to be smoothed and the gain coefficient as the brightness value of the pixel points to be smoothed after processing, wherein the reference line is positioned in the display area of the display screen and is separated from the edge line of the display area by a distance of one pixel point in the direction along the curvature radius.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911138599.4A CN110930919B (en) | 2019-11-20 | 2019-11-20 | Image processing method and display driving device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911138599.4A CN110930919B (en) | 2019-11-20 | 2019-11-20 | Image processing method and display driving device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110930919A CN110930919A (en) | 2020-03-27 |
CN110930919B true CN110930919B (en) | 2023-04-21 |
Family
ID=69850361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911138599.4A Active CN110930919B (en) | 2019-11-20 | 2019-11-20 | Image processing method and display driving device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110930919B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112261242B (en) * | 2020-10-21 | 2022-09-27 | 合肥芯颖科技有限公司 | Image data processing method and device |
CN112927147B (en) * | 2021-01-18 | 2023-12-22 | 华兴源创(成都)科技有限公司 | Display data correction method and device of display module, computer equipment and medium |
CN114974090A (en) * | 2022-05-31 | 2022-08-30 | 深圳市裕铭数智装备科技有限公司 | Method and system for processing pixel change wiring diagram of special-shaped LED screen |
CN115188314B (en) * | 2022-09-08 | 2023-01-31 | 惠科股份有限公司 | Display circuit and display device of dysmorphism screen |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5708451A (en) * | 1995-07-20 | 1998-01-13 | Sgs-Thomson Microelectronics, S.R.L. | Method and device for uniforming luminosity and reducing phosphor degradation of a field emission flat display |
KR20080002394A (en) * | 2006-06-30 | 2008-01-04 | 엘지.필립스 엘시디 주식회사 | Liquid crystal display device gamma-error |
CN101308641A (en) * | 2007-05-18 | 2008-11-19 | 株式会社半导体能源研究所 | Method for driving liquid crystal display device |
CN101308301A (en) * | 2007-05-17 | 2008-11-19 | 株式会社半导体能源研究所 | Liquid crystal display device |
CN101667389A (en) * | 2009-10-09 | 2010-03-10 | 友达光电股份有限公司 | Compensation method of pixel data, time sequence controller and liquid crystal display (LCD) |
JP2013015630A (en) * | 2011-07-01 | 2013-01-24 | Hitachi Consumer Electronics Co Ltd | Image display device, image display method, and image processing device |
CN108537736A (en) * | 2017-02-28 | 2018-09-14 | 上海顺久电子科技有限公司 | Method for enhancing picture contrast and device in a kind of camber display screen |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3957430B2 (en) * | 1998-09-18 | 2007-08-15 | シャープ株式会社 | Liquid crystal display |
JP2008067230A (en) * | 2006-09-08 | 2008-03-21 | Sony Corp | Image processing apparatus, image processing method, and program |
JP2008233536A (en) * | 2007-03-20 | 2008-10-02 | Sony Corp | Display device |
JP5414894B2 (en) * | 2010-06-01 | 2014-02-12 | シャープ株式会社 | Display device |
US8488031B2 (en) * | 2011-01-14 | 2013-07-16 | DigitalOptics Corporation Europe Limited | Chromatic noise reduction method and apparatus |
KR102400506B1 (en) * | 2015-10-30 | 2022-05-23 | 엘지디스플레이 주식회사 | Deformed display divice |
US10504417B2 (en) * | 2015-12-31 | 2019-12-10 | Omnivision Technologies, Inc. | Low latency display system and method |
CN105741263A (en) * | 2016-01-20 | 2016-07-06 | 杭州电子科技大学 | Hand contour extraction and orientation-positioning algorithm |
CN109859673B (en) * | 2016-08-04 | 2022-04-01 | 苹果公司 | Display with pixel dimming for curved edges |
CN107507520B (en) * | 2017-09-30 | 2019-05-28 | Oppo广东移动通信有限公司 | The method that terminal, display screen and control display screen are shown |
CN109636751B (en) * | 2018-12-07 | 2020-11-27 | 厦门天马微电子有限公司 | Edge processing method of special-shaped display panel, display panel and display device |
-
2019
- 2019-11-20 CN CN201911138599.4A patent/CN110930919B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5708451A (en) * | 1995-07-20 | 1998-01-13 | Sgs-Thomson Microelectronics, S.R.L. | Method and device for uniforming luminosity and reducing phosphor degradation of a field emission flat display |
KR20080002394A (en) * | 2006-06-30 | 2008-01-04 | 엘지.필립스 엘시디 주식회사 | Liquid crystal display device gamma-error |
CN101308301A (en) * | 2007-05-17 | 2008-11-19 | 株式会社半导体能源研究所 | Liquid crystal display device |
CN101308641A (en) * | 2007-05-18 | 2008-11-19 | 株式会社半导体能源研究所 | Method for driving liquid crystal display device |
CN101667389A (en) * | 2009-10-09 | 2010-03-10 | 友达光电股份有限公司 | Compensation method of pixel data, time sequence controller and liquid crystal display (LCD) |
JP2013015630A (en) * | 2011-07-01 | 2013-01-24 | Hitachi Consumer Electronics Co Ltd | Image display device, image display method, and image processing device |
CN108537736A (en) * | 2017-02-28 | 2018-09-14 | 上海顺久电子科技有限公司 | Method for enhancing picture contrast and device in a kind of camber display screen |
Non-Patent Citations (1)
Title |
---|
张涛 ; 巫红英 ; 李蒙 ; 雷志春 ; .一种提高图像对比度和视觉质量的新型区域背光算法.工程科学学报.2017,(第12期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110930919A (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110930919B (en) | Image processing method and display driving device | |
CN109658877B (en) | Display device, driving method thereof and electronic equipment | |
CN111968570B (en) | Display compensation information acquisition method, display compensation method and device | |
CN108322683B (en) | Display apparatus and image processing apparatus | |
CN108510947B (en) | Double-screen dimming method and display device | |
CN106886380B (en) | Display device, image data processing device and method | |
US9886882B2 (en) | Grayscale compensation method | |
KR101134269B1 (en) | Luminance adjustment in a display device | |
CN105185314A (en) | Uniformity compensation method for LED display screen | |
CN109243384B (en) | Display device, driving method thereof, driving apparatus thereof, and computer readable medium | |
EP3659026A1 (en) | Calibration method and system for tiled displays | |
CN105719611A (en) | Display uniformity adjusting method and device for liquid crystal display equipment | |
CN109935219B (en) | Display method of spliced panel | |
US8237747B2 (en) | Method of converting signals for multi-primary color display | |
KR102522423B1 (en) | Display apparatus and method for processing image of the display apparatus | |
KR102389196B1 (en) | Display device and image rendering method thereof | |
CN112927654B (en) | Backlight control method and device and terminal equipment | |
US7095888B2 (en) | Apparatus for detecting average picture level | |
US9953558B1 (en) | Transparent display apparatus and method for driving transparent display panel thereof | |
US11195482B2 (en) | Display device and driving method thereof | |
CN107204175A (en) | Pixel driving method and panel driving circuit | |
US20090251494A1 (en) | Apparatus and method for gamma correction | |
JP6265710B2 (en) | Image processing apparatus, computer program, and image processing method | |
CN110544457B (en) | Inverse Gamma dynamic mapping algorithm | |
US20140125689A1 (en) | Display device, electronic apparatus, and drive method for display device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 2405, yuemeite building, No. 1, Gaoxin South seventh Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000 Applicant after: Howell touch and display technology (Shenzhen) Co.,Ltd. Address before: 518000 Room 601, east block, Haibin City, Wenxin 5th Road, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province Applicant before: GIGADISPLAY SEMICONDUCTOR Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |