CN107331341B - Sub-pixel rendering method and system - Google Patents

Sub-pixel rendering method and system Download PDF

Info

Publication number
CN107331341B
CN107331341B CN201710680804.4A CN201710680804A CN107331341B CN 107331341 B CN107331341 B CN 107331341B CN 201710680804 A CN201710680804 A CN 201710680804A CN 107331341 B CN107331341 B CN 107331341B
Authority
CN
China
Prior art keywords
sub
pixel
image
pixels
boundary
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
Application number
CN201710680804.4A
Other languages
Chinese (zh)
Other versions
CN107331341A (en
Inventor
田念
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan China Star Optoelectronics Technology Co Ltd
Original Assignee
Wuhan China Star Optoelectronics Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan China Star Optoelectronics Technology Co Ltd filed Critical Wuhan China Star Optoelectronics Technology Co Ltd
Priority to CN201710680804.4A priority Critical patent/CN107331341B/en
Publication of CN107331341A publication Critical patent/CN107331341A/en
Application granted granted Critical
Publication of CN107331341B publication Critical patent/CN107331341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels

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)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The embodiment of the invention discloses a method for rendering a sub-pixel, which is applied to the rendering of a Delta type sub-pixel arrangement structure and comprises the following steps: dividing a plurality of sub-pixels into a plurality of repeated pixel regions arranged according to Delta, wherein each repeated pixel region comprises twelve sub-pixels of three colors, corresponds to three image pixels in the transverse direction and corresponds to two image pixels in the longitudinal direction; sequentially loading 1 × 3 image data, and performing binarization processing on the image data according to a preset threshold value; judging whether the loaded 1 x 3 image data is a boundary image and a boundary type according to the binarization processing result; and if the judgment result is the boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a filtering strategy corresponding to the boundary type. The invention also discloses a corresponding system, and according to the embodiment of the invention, the distortion problem when the image boundary area is displayed can be improved.

Description

Sub-pixel rendering method and system
Technical Field
The present invention relates to the field of display, and in particular, to a method and a system for rendering subpixels.
Background
Conventional lcd displays and oled displays are composed of a two-dimensional array of pixels, each of which includes a plurality of subpixels of different colors, such as red (R), green (G), and blue (B), arranged in a certain order. The sub-pixels of each pixel display different colors by color mixing, thereby enabling the display to display color images. The resolution of a conventional display depends on the density of the pixel arrangement and thus fundamentally on the density of the sub-pixel arrangement. To improve the resolution of the display, the density of the arrangement of the sub-pixels on the screen needs to be increased, i.e. the size of the sub-pixels needs to be reduced. However, due to the limitation of the aperture ratio and the manufacturing process, when the size of the sub-pixels on the screen is reduced to a certain degree, the sub-pixels are difficult to be reduced continuously, and the resolution of the display is difficult to be improved continuously.
The Sub-Pixel Rendering (SPR) technique improves the sensory resolution by sharing a part of Sub-pixels with adjacent pixels, so that the display can achieve a higher sensory resolution with the same Sub-Pixel arrangement density, or the requirement for the arrangement density of the Sub-pixels of the display is reduced while the same sensory resolution is maintained. Therefore, the sub-pixel rendering technology provides a solution to the above-mentioned problems.
However, in the prior art, due to the reduction of the number of sub-pixels, when the color change is fast in the boundary region of the image (such as the edge picture of characters, lines, etc.), the color and contrast are distorted.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for rendering sub-pixels, which can improve the distortion problem when displaying the boundary region of an image.
In order to solve the above technical problem, an aspect of the embodiments of the present invention provides a method for rendering a sub-pixel, which is applied to rendering a Delta-type sub-pixel arrangement structure, and includes the following steps:
dividing a plurality of sub-pixels into a plurality of repeated pixel regions arranged according to Delta, wherein each repeated pixel region comprises twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
sequentially loading 1 × 3 image data, and performing binarization processing on the image data according to a preset threshold value;
judging whether the loaded 1 x 3 image data is a boundary image and a boundary type according to the binarization processing result;
if the judgment result is a boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a filtering strategy corresponding to the boundary type of the boundary image; and if the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a general filtering strategy.
Each repeated pixel region comprises 4 columns of sub-pixels, wherein the sub-pixels of the 2 nd column and the 3 rd column are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
wherein each image pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel.
Wherein, the step of judging whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result specifically comprises:
comparing the binarization processing result with at least one preset boundary template to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type;
wherein the boundary types are: at least one of a left boundary, a right boundary, a white point, a black point, a left shoulder and a right shoulder, wherein each boundary type corresponds to a boundary template for comparison.
Wherein, further comprising the steps of:
the general filtering strategy and the filtering strategy corresponding to each boundary type are predefined.
Wherein, the step of performing sub-pixel rendering processing on the loaded 1 × 3 image according to the filtering strategy or the general filtering strategy corresponding to the boundary type includes:
and determining the relative luminous intensity of each column of sub-pixels in the 1 x 3 image according to the filter strategy or the general filter strategy corresponding to the determined boundary type, and controlling each column of sub-pixels to emit light with the determined relative luminous intensity.
Accordingly, in another aspect of the embodiments of the present invention, a sub-pixel rendering system is further provided, which is applied to rendering a Delta-type sub-pixel arrangement structure, and includes:
the repeated pixel region dividing unit is used for dividing a plurality of sub-pixels into a plurality of repeated pixel regions arranged according to Delta, and each repeated pixel region comprises twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
a binarization processing unit used for loading 1 × 3 image data in sequence and carrying out binarization processing on the image data according to a preset threshold value;
a comparison and judgment unit, configured to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result;
the rendering processing unit is used for performing sub-pixel rendering processing on the loaded 1 x 3 image according to a filtering strategy corresponding to the boundary type when the judgment result is the boundary image; and when the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a general filtering strategy.
Each repeated pixel region comprises 4 columns of sub-pixels, wherein the sub-pixels of the 2 nd column and the 3 rd column are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
wherein each image pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel.
Wherein the comparison and judgment unit further comprises:
a comparing unit, configured to compare the binarization processing result with at least one preset boundary template, so as to determine whether the loaded 1 × 3 image data is a boundary image and a boundary type;
wherein the boundary types are: at least one of a left boundary, a right boundary, a white point, a black point, a left shoulder and a right shoulder, wherein each boundary type corresponds to a boundary template for comparison.
Wherein, further include:
and the pre-defining unit is used for pre-defining a general filtering strategy and a filtering strategy corresponding to each boundary type.
Wherein the rendering processing unit includes:
the luminous intensity determining unit is used for determining the relative luminous intensity of each column of sub-pixels in the 1 x 3 image according to the filtering strategy or the general filtering strategy corresponding to the boundary type determined by the comparing unit;
and the adjusting unit is used for controlling each column of sub-pixels to emit light with the determined relative light-emitting intensity.
The embodiment of the invention has the following beneficial effects:
firstly, the embodiment of the invention defines the repeated pixel area with RGB Delta arrangement, and adopts a sub-pixel rendering method, so that the number of sub-pixels under the same display resolution can be effectively reduced, and the number of sub-pixels under the same resolution can be reduced;
in addition, in the embodiment of the invention, the loaded 1 × 3 image data is subjected to binarization processing according to the preset threshold value, the result after binarization processing is compared with the preset boundary template, edge detection is performed, and the matched image data is subjected to sub-pixel rendering processing by adopting a specific filtering strategy, so that the color distortion of the image boundary area can be effectively reduced, and the picture displayed by the display is more vivid.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating an embodiment of a method for rendering a sub-pixel according to the present invention;
FIG. 2 is a schematic diagram of one embodiment of the repeating pixel region referred to in FIG. 1;
FIG. 3 is a schematic diagram of the structure of the boundary template referred to in FIG. 1;
FIG. 4 is a diagram illustrating the correspondence between image data and sub-pixel distribution in the sub-pixel rendering referred to in FIG. 1;
FIG. 5 is a diagram showing the comparison of display effect after rendering the white point of the boundary by the normal strategy and the boundary type strategy;
FIG. 6 is a schematic structural diagram illustrating an embodiment of a sub-pixel rendering system according to the present invention;
fig. 7 is a schematic structural diagram of the rendering processing unit in fig. 6.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.
Furthermore, the following description of the various embodiments refers to the accompanying drawings, which illustrate specific embodiments in which the invention may be practiced. Directional phrases used in this disclosure, such as, for example, "upper," "lower," "front," "rear," "left," "right," "inner," "outer," "side," and the like, refer only to the orientation of the appended drawings and are, therefore, used herein for better and clearer illustration and understanding of the invention, and do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
In the description of the present invention, it should be noted that unless otherwise specifically stated or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, integrally connected, mechanically connected, directly connected, indirectly connected through an intermediate medium, or connected through a communication path between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. In the present specification, the term "step" is used to mean not only an independent step but also an independent step unless clearly distinguished from other steps, as long as the intended function of the step is achieved. In this specification, the value range represented by "—" is a range in which the values of the "— front-and-rear descriptions are included as the minimum value and the maximum value, respectively. In the drawings, structures that are similar or identical are denoted by the same reference numerals.
Referring to fig. 1, a main flow chart of an embodiment of a method for rendering a sub-pixel according to the present invention is shown, and is combined with fig. 2 to 5, in which the method for rendering a sub-pixel is applied to rendering a Delta-type sub-pixel arrangement structure, and includes the following steps:
step S10, dividing the multiple sub-pixels into multiple repeated pixel regions arranged according to Delta, wherein each repeated pixel region comprises twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
specifically, as shown in fig. 2, in one example, each of the repeated pixel regions includes 4 columns of sub-pixels, where the 2 nd column and the 3 rd column of sub-pixels are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
each of the image pixels includes a red sub-pixel, a green sub-pixel and a blue sub-pixel, that is, in fig. 2, each of the image pixels includes C1, C2 and C3 sub-pixels, wherein the C1 sub-pixel is one of the red sub-pixel, the green sub-pixel and the blue sub-pixel, the C2 sub-pixel is another one of the red sub-pixel, the green sub-pixel and the blue sub-pixel, and the C3 sub-pixel is a third one of the red sub-pixel, the green sub-pixel and the blue sub-pixel;
it can be understood that the Delta-arranged repeated pixel region shown in fig. 2 can display 2 × 3 image data by using a common technique, and displays by using eighteen sub-pixels in the conventional RGB Stripe arrangement, so that one third of the sub-pixels can be saved; in the arrangement mode, each row comprises three sub-pixels, and the upper positions and the lower positions of the three sub-pixels are staggered, so that the physical space of the display screen can be more uniformly utilized;
step S11, sequentially loading 1 × 3 image data, and performing binarization processing on the image data according to a preset threshold value; the threshold value is preset, the value of the image pixel after the binarization processing that the gray value is higher than the threshold value is 1, the value of the gray value is lower than the threshold value is 0, and the binarization processing result, namely a three-bit numerical value (each bit is 0 or 1 respectively), can be obtained through the binarization processing;
step S12, determining whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result; specifically, the binarization processing result is compared with at least one preset boundary template to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type; wherein the boundary types are: at least one of a Left boundary (Left edge), a Right boundary (Right edge), a White point (White point), a black point (Dark point), a Left shoulder (Leftshoulder) and a Right shoulder (Right shoulder), wherein each boundary type corresponds to a boundary template for comparison;
as shown in fig. 3, several boundary types and corresponding boundary templates are shown, and it is understood that the six boundary templates shown in the drawing are exemplary and not limiting; where the value of the boundary template is 100 for the left boundary, specifically, when the binarization processing result in step S11 is also 100, it is determined that the loaded 1 × 3 image data is a boundary image and the boundary type is the left boundary.
Step S13, if the judgment result is a boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to the filtering strategy corresponding to the boundary type; and if the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a general filtering strategy.
Wherein, the step of performing sub-pixel rendering processing on the loaded 1 × 3 image according to the filtering strategy or the general filtering strategy corresponding to the boundary type includes:
and determining the relative luminous intensity of each column of sub-pixels in the 1 x 3 image according to the filter strategy or the general filter strategy corresponding to the determined boundary type, and controlling each column of sub-pixels to emit light with the determined relative luminous intensity.
It will be appreciated that the general filtering strategy needs to be predefined, as well as the filtering strategy for each boundary type.
The following description describes, for example, a general filtering strategy or a filtering strategy corresponding to each boundary type, as shown in fig. 4, which shows a diagram of image data and sub-pixel distribution in sub-pixel rendering, wherein,V inis a data value of a certain pixel of the input image, comprisingV C1inV C2inV C3inData values of three colors, and thus it can be understood that forV Cin(m, n-1) andV Cin(m, n) also contains data values for three colors;
in one example, the way of ordinary filtering is as follows:
the relative luminous intensity of the first column of sub-pixels is:
V1 C=V Cin(m,n-1);
the relative luminous intensity of the second column of sub-pixels is:
V2 C= 0.5V Cin(m,n-1)+ 0.5V Cin(m,n);
the relative emission intensity of the third column of subpixels is:
V3 C=V Cin(m,n);
the relative luminous intensity of the sub-pixel of the fourth column is as follows:
V4 C=V Cin(m,n+1);
wherein, C is the colors C1, C2 and C3 corresponding to the sub-pixels respectively;
the filtering strategy corresponding to each boundary type is as follows:
for the right boundary type, the corresponding filtering strategy is as follows:
the relative luminous intensity of the first column of sub-pixels is:
V1 C=V Cin(m,n-1);
the relative luminous intensity of the second column of sub-pixels is:
V2 C=V Cin(m,n-1);
the relative emission intensity of the third column of subpixels is:
V3 C= 0;
the relative luminous intensity of the sub-pixel of the fourth column is as follows:
V4 C= 0。
for the left boundary type, the corresponding filtering strategy is as follows:
the relative luminous intensity of the first column of sub-pixels is:
V1 C=0
the relative luminous intensity of the second column of sub-pixels is:
V2 C=0
the relative emission intensity of the third column of subpixels is:
V3 C=V Cin(m,n+1) ;
the relative luminous intensity of the sub-pixel of the fourth column is as follows:
V4 C=V Cin(m,n+1)。
for the white point type, the corresponding filtering strategy is as follows:
the relative luminous intensity of the first column of sub-pixels is:
V1 C=0
the relative luminous intensity of the second column of sub-pixels is:
V2 C=V Cin(m,n) ;
the relative emission intensity of the third column of subpixels is:
V3 C=V Cin(m,n) ;
the relative luminous intensity of the sub-pixel of the fourth column is as follows:
V4 C= 0。
it is understood that the above specific filtering strategies are only examples, and for other boundary types such as black dots, left shoulders or right shoulders, the corresponding filtering strategies are also predefined and will not be described in detail herein.
As shown in fig. 5, a schematic diagram showing a comparison of display effects after rendering white points of a boundary by a normal strategy and by a boundary type strategy is shown;
it can be seen that for this white point, with the normal subpixel rendering method, only the subpixels of two colors are "lit", there is color distortion, and the white point cannot be displayed correctly. By adopting the filtering strategy corresponding to the white point, the image pixel is subjected to special filtering treatment, the sub-pixels of three colors are lightened, and the white point can be displayed correctly.
It can be understood that, the sub-pixel rendering method based on the RGB Delta arrangement provided by the present invention can perform edge detection by comparing image templates, and perform sub-pixel rendering by adopting a self-adaptive filtering method (i.e. a specific filtering strategy is adopted corresponding to each boundary type), so as to effectively reduce the color distortion of the image boundary.
Accordingly, as shown in fig. 6, another aspect of the embodiment of the present invention further provides a sub-pixel rendering system, and please refer to fig. 7, in this embodiment, the sub-pixel rendering system 1 is applied to rendering of a Delta-type sub-pixel arrangement structure, and includes:
a repeated pixel region dividing unit 10, configured to divide the multiple sub-pixels into multiple repeated pixel regions arranged according to Delta, where each repeated pixel region includes twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
a binarization processing unit 11, configured to load 1 × 3 image data in sequence, and perform binarization processing on the image data according to a preset threshold;
a comparison and judgment unit 12, configured to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result;
a rendering processing unit 13, configured to perform sub-pixel rendering processing on the loaded 1 × 3 image according to a filtering policy corresponding to a boundary type of the loaded 1 × 3 image when the determination result is a boundary image; when the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image according to a general filtering strategy;
and a pre-defining unit 14, configured to pre-define a general filtering policy and a filtering policy corresponding to each boundary type.
Each repeated pixel region comprises 4 columns of sub-pixels, wherein the sub-pixels of the 2 nd column and the 3 rd column are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
wherein each image pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel.
Wherein, the comparing and judging unit 12 further comprises:
a comparing unit, configured to compare the binarization processing result with at least one preset boundary template, so as to determine whether the loaded 1 × 3 image data is a boundary image and a boundary type;
wherein the boundary types are: at least one of a left boundary, a right boundary, a white point, a black point, a left shoulder and a right shoulder, wherein each boundary type corresponds to a boundary template for comparison.
Wherein the rendering processing unit 13 includes:
a luminous intensity determining unit 130, configured to determine a relative luminous intensity of each column of sub-pixels in the 1 × 3 image according to the filtering policy or the general filtering policy corresponding to the boundary type determined by the comparing unit;
and an adjusting unit 131 for controlling each column of sub-pixels to emit light with the determined relative light-emitting intensity.
For more details, reference may be made to the foregoing description of fig. 1 to 5, which is not detailed here.
The implementation of the invention has the following beneficial effects:
firstly, the embodiment of the invention defines the repeated pixel area with RGB Delta arrangement, and adopts a sub-pixel rendering method, so that the number of sub-pixels under the same display resolution can be effectively reduced, and the number of sub-pixels under the same resolution can be reduced;
in addition, in the embodiment of the invention, the loaded 1 × 3 image data is subjected to binarization processing according to the preset threshold value, the result after binarization processing is compared with the preset boundary template, edge detection is performed, and the matched image data is subjected to sub-pixel rendering processing by adopting a specific filtering strategy, so that the color distortion of the image boundary area can be effectively reduced, and the picture displayed by the display is more vivid.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (8)

1. A method for rendering a sub-pixel is applied to rendering a Delta type sub-pixel arrangement structure, and is characterized by comprising the following steps:
dividing a plurality of sub-pixels into a plurality of repeated pixel regions arranged according to Delta, wherein each repeated pixel region comprises twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
sequentially loading 1 × 3 image data, and performing binarization processing on the image data according to a preset threshold value;
judging whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result, specifically including: comparing the binarization processing result with at least one preset boundary template to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type; wherein the boundary types are: at least one of a left boundary, a right boundary, a white point, a black point, a left shoulder and a right shoulder, wherein each boundary type corresponds to a boundary template for comparison;
if the judgment result is a boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image data according to a filtering strategy corresponding to the boundary type of the boundary image; and if the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image data according to a general filtering strategy.
2. The method for rendering sub-pixels according to claim 1, wherein each of the repeated pixel regions comprises 4 columns of sub-pixels, wherein the 2 nd column and the 3 rd column of sub-pixels are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
wherein each image pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel.
3. A method of subpixel rendering as claimed in claim 1 or 2, further comprising the step of:
the general filtering strategy and the filtering strategy corresponding to each boundary type are predefined.
4. The method as claimed in claim 3, wherein the step of performing the sub-pixel rendering process on the loaded 1 x 3 image data according to the filtering policy corresponding to the boundary type or the general filtering policy comprises:
and determining the relative luminous intensity of each column of sub-pixels in the 1 x 3 image data according to a filter strategy or a general filter strategy corresponding to the determined boundary type, and controlling each column of sub-pixels to emit light with the determined relative luminous intensity.
5. A sub-pixel rendering system is applied to rendering of a Delta type sub-pixel arrangement structure and is characterized by comprising:
the repeated pixel region dividing unit is used for dividing a plurality of sub-pixels into a plurality of repeated pixel regions arranged according to Delta, and each repeated pixel region comprises twelve sub-pixels of three colors; corresponding to three image pixels in the transverse direction and two image pixels in the longitudinal direction;
a binarization processing unit used for loading 1 × 3 image data in sequence and carrying out binarization processing on the image data according to a preset threshold value;
a comparison and judgment unit, configured to judge whether the loaded 1 × 3 image data is a boundary image and a boundary type according to the binarization processing result;
the rendering processing unit is used for performing sub-pixel rendering processing on the loaded 1 × 3 image data according to a filtering strategy corresponding to the boundary type when the judgment result is the boundary image; when the judgment result is a non-boundary image, performing sub-pixel rendering processing on the loaded 1 × 3 image data according to a general filtering strategy;
wherein the comparison and judgment unit further comprises:
a comparing unit, configured to compare the binarization processing result with at least one preset boundary template, so as to determine whether the loaded 1 × 3 image data is a boundary image and a boundary type; wherein the boundary types are: at least one of a left boundary, a right boundary, a white point, a black point, a left shoulder and a right shoulder, wherein each boundary type corresponds to a boundary template for comparison.
6. The system for subpixel rendering of claim 5, wherein each of said repeating pixel regions comprises 4 columns of subpixels, wherein the subpixels of column 2 and column 3 are shared;
in the upper part of the repeated pixel region, two sub-pixels in a 1 st column and one sub-pixel in a 2 nd column form one image pixel, the sub-pixel in the 2 nd column and two sub-pixels in a 3 rd column form one image pixel, and the two sub-pixels in the 3 rd column and one sub-pixel in a 4 th column form one image pixel;
in the lower part of the repeated pixel region, one sub-pixel in the 1 st column and two sub-pixels in the 2 nd column form one image pixel, the two sub-pixels in the 2 nd column and one sub-pixel in the 3 rd column form one image pixel, and the one sub-pixel in the 3 rd column and two sub-pixels in the 4 th column form one image pixel;
wherein each image pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel.
7. A sub-pixel rendering system according to claim 5 or 6, further comprising:
and the pre-defining unit is used for pre-defining a general filtering strategy and a filtering strategy corresponding to each boundary type.
8. A sub-pixel rendering system according to claim 7, wherein the rendering processing unit comprises:
the luminous intensity determining unit is used for determining the relative luminous intensity of each column of sub-pixels in the 1 x 3 image data according to the filtering strategy or the general filtering strategy corresponding to the boundary type determined by the comparing unit;
and the adjusting unit is used for controlling each column of sub-pixels to emit light with the determined relative light-emitting intensity.
CN201710680804.4A 2017-08-10 2017-08-10 Sub-pixel rendering method and system Active CN107331341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710680804.4A CN107331341B (en) 2017-08-10 2017-08-10 Sub-pixel rendering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710680804.4A CN107331341B (en) 2017-08-10 2017-08-10 Sub-pixel rendering method and system

Publications (2)

Publication Number Publication Date
CN107331341A CN107331341A (en) 2017-11-07
CN107331341B true CN107331341B (en) 2020-11-03

Family

ID=60199370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710680804.4A Active CN107331341B (en) 2017-08-10 2017-08-10 Sub-pixel rendering method and system

Country Status (1)

Country Link
CN (1) CN107331341B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019095513A (en) * 2017-11-20 2019-06-20 シナプティクス インコーポレイテッド Display driver, display device and subpixel rendering processing method
CN109559650B (en) * 2019-01-16 2021-01-12 京东方科技集团股份有限公司 Pixel rendering method and device, image rendering method and device, and display device
CN111312169A (en) * 2019-01-23 2020-06-19 深圳清华大学研究院 Sub-pixel rendering system and method capable of reducing power consumption of display panel
CN110599962B (en) * 2019-09-23 2020-10-23 深圳清华大学研究院 Rendering method of Delta type sub-pixel display panel with different color sequences
CN110580880B (en) * 2019-09-26 2022-01-25 晟合微电子(肇庆)有限公司 RGB (red, green and blue) triangular sub-pixel layout-based sub-pixel rendering method and system and display device
CN111128078B (en) * 2020-02-14 2021-05-11 京东方科技集团股份有限公司 Electronic device, display panel, driving device and driving method thereof
CN111372124B (en) * 2020-03-09 2022-04-15 格兰菲智能科技有限公司 Character and image coding and decoding method
CN111540325B (en) * 2020-05-20 2021-12-03 Tcl华星光电技术有限公司 Image enhancement method and image enhancement device
CN113658549B (en) * 2021-08-17 2022-10-21 晟合微电子(肇庆)有限公司 Sub-pixel rendering method, display device and storage medium
CN114203089B (en) * 2021-12-15 2023-03-24 南京国兆光电科技有限公司 Sub-pixel rendering method for RGB-Delta arrangement

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455994A (en) * 2012-05-28 2013-12-18 佳能株式会社 Method and equipment for determining image blurriness
CN106157876A (en) * 2015-03-27 2016-11-23 上海和辉光电有限公司 The display packing of display image and display
CN106469533A (en) * 2015-08-18 2017-03-01 上海和辉光电有限公司 Display device, image data processing system and method
CN106886380A (en) * 2015-12-16 2017-06-23 上海和辉光电有限公司 Display device, image data processing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455994A (en) * 2012-05-28 2013-12-18 佳能株式会社 Method and equipment for determining image blurriness
CN106157876A (en) * 2015-03-27 2016-11-23 上海和辉光电有限公司 The display packing of display image and display
CN106469533A (en) * 2015-08-18 2017-03-01 上海和辉光电有限公司 Display device, image data processing system and method
CN106886380A (en) * 2015-12-16 2017-06-23 上海和辉光电有限公司 Display device, image data processing system and method

Also Published As

Publication number Publication date
CN107331341A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107331341B (en) Sub-pixel rendering method and system
US7965305B2 (en) Color display system with improved apparent resolution
US9886884B2 (en) Pixel arranging method, pixel rendering method and image display device
KR102118576B1 (en) Display device, data processing apparatus and method thereof
CN102915721B (en) Display device and driving method thereof
US7983506B2 (en) Method, medium and system processing image signals
RU2442291C2 (en) Visual display unit
CN105489177B (en) Sub-pixel rendering intent and rendering device
WO2011102343A1 (en) Display device
US8717255B2 (en) Image device with pixel dots with multi-primary colors
CN106782263B (en) Sub-pixel rendering method
US20160055781A1 (en) Image device with imrpoved chrominance quality
CN104916246A (en) Gray scale compensation method
CN106791755A (en) A kind of RGBW pixel rendering device and method
US9887245B2 (en) Image device with improved chrominance quality
US20070035557A1 (en) Method and apparatus for displaying image signal
US11557634B2 (en) Display panel and display module with variable sub-pixel opening area
CN105185247A (en) Display panel, display device and display method
CN104795052B (en) RGBW signal conversion methods and system
CN111383569A (en) Image compensation method and image processing circuit
US10847079B2 (en) Method of driving display panel and driving device
CN105185258A (en) Pixel matrix, display device and display method
CN105185270A (en) Display panel, display device and display method
CN105185230B (en) Display device and its display methods
US10062312B2 (en) Method and apparatus for discriminating luminance backgrounds for images, and a display apparatus

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