This application claims the priority of Chinese Patent Application No. 201510964317.1, entitled “Pixel rendering method, pixel rendering device and display device”, filed on Dec. 18, 2015, the disclosure of which is incorporated herein by reference in its entirety.
The present invention relates to a display technology field, and more particularly to a pixel rendering method, a pixel rendering device and a display device.
The digital image generally comprises a plurality of image pixels, and each image pixel has limited, discrete color values. For example, these color values are gray scale values of the red component, the green component and the blue component in the (RGB, Red Green Blue) color space. The plurality of display pixels which are aligned in an array on the display are driven according to the digital image, and the digital image can be shown on the display.
As performing display according to the traditional sub pixel driving method, one sub pixel is employed for showing the value of one color component in the display image pixels. For raising the resolution of the display, more image pixels have to be shown. Namely, the amount of the sub pixels of the display screen has to be increased. However, due to the restriction of the manufacture process, after the sub pixel amount of the display screen reaches a certain level, it will be difficult to continue the increase. This causes that the resolution of the display is hard to be promote constantly.
Therefore, in prior art, it is common to show the digital image of high resolution on the display of low resolution, and the space resolution and the clarity of the shown digital image has to be ensured. For showing the digital image of high resolution on the display of low resolution, the method of Subpixel rendering (SPR) shown in
The present invention relates to a pixel rendering method, a pixel rendering device, reducing the sub pixels and image detail disposed as pixel rendering to prevent the image blur.
The present invention further provides a display device.
The present invention provides a pixel rendering method, including: obtaining gray scales of three primary color components RGB of original image pixels RGBW; converting the gray scales of three primary color components of the original image pixels into three primary color components of compensation image pixels and gray scales of initial compensation components; sampling a compensation image, and each row of pixels of the compensation image comprises a plurality of pixel sets consisted of two adjacent compensation image pixels, and extracting the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and grays scales of the compensation components; setting the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels.
The compensation components of the compensation image pixels are white color components.
A row resolution of an original image is twice of a row resolution of a display image.
In the step of converting the gray scales of three primary color components of the original image pixels into the three primary color components of the compensation image pixels and the gray scales of the initial compensation components, determining the gray scales of the compensation components according to a saturation of the original image pixels and a minimum of the grays scales of the three primary color components; calculating the gray scales of the three primary color components of the compensation image pixels according to a maximum of the grays scales of the three primary color components and the gray scales of the compensation components.
The present invention provides a pixel rendering device, comprising: an extracting unit, employed to obtain gray scales of three primary color components of original image pixels in RGBW color space; an converting unit, employed to convert the gray scales of three primary color components of the original image pixels into three primary color components of compensation image pixels and gray scales of compensation components; a sampling unit, employed to sample a compensation image, and each row of pixels of the compensation image comprises a plurality of pixel sets consisted of two adjacent compensation image pixels, and extract the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and grays scales of the compensation components; a multiplexing unit, employed to set the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels.
The converting unit is further employed for: determining the gray scales of the compensation components according to a saturation of the original image pixels and a minimum of the grays scales of the three primary color components; calculating the gray scales of the three primary color components of the compensation image pixels according to a maximum of the grays scales of the three primary color components and the gray scales of the compensation components.
The compensation components of the compensation image pixels are white color components.
The present invention provides a display device, comprising the pixel rendering device; a display panel, having a plurality of rows of display pixels, and the display pixel comprises sub pixels of three primary colors and compensation sub pixels, and in each row of display pixels, the sub pixels of three primary colors and the compensation sub pixels are alternately aligned; a scan driving circuit, employed to circularly driving each row of display pixels; a data driving circuit, employed to receive gray scales of respective sub pixels of each row of display pixels from a pixel rendering device, and providing the same to corresponding sub pixels in the display pixels.
In the process of sampling the compensation image in the pixel rendering method of the present invention, it is to extract the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and grays scales of the compensation components, and then, in the following multiplexing process, it is to set the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels. It primarily prevents from disposing too many sub pixels and image detail, and the disposed data amount is reduced from the previous two-thirds according to prior art to the half. Therefore, the appearance of the serious image blur phenomenon can be prevented.
In order to more clearly illustrate the embodiments of the present invention or prior art, the following figures will be described in the embodiments are briefly introduced. It is obvious that the drawings are merely some embodiments of the present invention, those of ordinary skill in this field can obtain other figures according to these figures without paying the premise.
For better explaining the technical solution and the effect of the present invention, the present invention will be further described in detail with the accompanying drawings in the specific embodiments.
Please refer to
step S1, providing an original image of high resolution, and obtaining gray scales of the three primary color components of original image pixels RGB.
The gray scales of the three primary color components means the gray scales of the red component (R), the green component (G) and the blue component (B). The illustration of
step 2, converting the original image into a compensation image. Specifically, converting the gray scales of three primary color components of the original image pixels (R, G, B) into three primary color components (R′, G′, B′) of compensation image pixels and gray scales of initial compensation components W. Generally, the transmission and the mixing efficiency of the display screen of the RGB mixture are lower, and the image brightness which is actually shown on the display is darker. In this step, the added compensation components of the compensation image pixels can improve the brightness of the display screen. The compensation component W can be the white component, the yellow component, the blue component or magenta component.
In this embodiment, the white component is illustrated for the compensation components W to explain the calculation process of respective components of the compensation image in this embodiment.
The maximum of the grays scales of the three primary color components (R, G, B) is indicated with Max (R, G, B), and the minimum is indicated with Min (R, G, B). The saturation of the original image pixels is represented:
S=[Max(R,G,B)−Min(R,G,B)]/Max(R,G,B) (1)
First, the gray scale of the compensation component is determined according to the saturation of the original image pixels and the gray scales of the three primary color components (R, G, B). The initial compensation component of the compensation image pixel is represented:
W=Min(R,G,B)*(1−S) (2)
Then, the gray scales of the three primary color components of the compensation image pixels are calculated: The three primary color components of the compensation image pixel are represented:
R′=[Max(R,G,B)+W]/Max(R,G,B)*R−W
G′=[Max(R,G,B)+W]/Max(R,G,B)*G−W (3)
B′=[Max(R,G,B)+W]/Max(R,G,B)*B−W
The red component is illustrated:
Due to
thus, R′<R. Similarly, it can be derived that G′<G, B′<B.
Thus, in comparison with the conversion from the RGB data to the RGBW data according to prior art, the aforesaid process in this embodiment can reduce the values of the three primary color components (R′, G′, B′) while reducing the values of the compensation components W to reduce the power consumption of the display panel altogether. Meanwhile, it can increase the three primary color components of the actual display image, and can compensate the display brightness descend due to the decreases of the three primary color component values, and can maintain the brightness of the display remained.
Please refer to
step 4, setting the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels. Namely, the former two primary color components (R′, G′) of M−1, the primary color B′ of the compensation image pixel M and the compensation component W are multiplexed into the display pixel C to be one RGBW sub pixel. Similarly, the former two primary color components (R′, G′) of compensation image pixel M+1, and the primary color B′ of N−1 and the compensation component W are respectively loaded to the RGBW sub pixels of the display pixel D. Accordingly, the display data of the display image pixels C and D shown in
In the process of sampling the compensation image as aforementioned, it is to extract the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and grays scales of the compensation components, and then, in the following multiplexing process, it is to set the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels. It does not only well complete the multiplexing and rendering of the sub pixels but also primarily prevent from disposing too many sub pixels and image detail, and the disposed data amount is reduced from the previous two-thirds according to prior art to the half. Therefore, the appearance of the serious image blur phenomenon can be prevented, and the image process quality can be significantly promoted.
In this embodiment, a row resolution of an original image is twice of a row resolution of a display image.
Furthermore, in the step of converting the gray scales of three primary color components of the original image pixels into the three primary color components of the compensation image pixels and the gray scales of the initial compensation components, determining the gray scales of the compensation components according to a saturation of the original image pixels and a minimum of the grays scales of the three primary color components; calculating the gray scales of the three primary color components of the compensation image pixels according to a maximum of the grays scales of the three primary color components and the gray scales of the compensation components.
The present invention further provides a pixel rendering device, comprising:
an extracting unit 10, employed to obtain gray scales of three primary color components RGB of original image pixels in RGBW1 color space;
a converting unit 20, employed to convert the gray scales of three primary color components RGB of the original image pixels RGBW1 into three primary color components (R′, G′, B′) of compensation image pixels and gray scales of initial compensation components W;
a sampling unit 30, employed to sample a compensation image, and each row of pixels of the compensation image comprises a plurality of pixel sets consisted of two adjacent compensation image pixels, and extract the former two primary color components (R′, G′) of the former compensation image pixel and the third primary color component B′ of the latter compensation image pixel in each set and grays scales of the compensation components W;
a multiplexing unit 40, employed to set the former two primary color components of the former compensation image pixel and the third primary color component of the latter compensation image pixel in each set and the grays scales of the compensation components to be a gray scale of each corresponding sub pixel of each row of display pixels.
Furthermore, the converting unit 20 is further employed for: determining the gray scales of the compensation components according to a saturation of the original image pixels and a minimum of the grays scales of the three primary color components; calculating the gray scales of the three primary color components of the compensation image pixels according to a maximum of the grays scales of the three primary color components and the gray scales of the compensation components.
The present invention further provides a display device, comprising the pixel rendering device, a display panel, a scan driving circuit and a data driving circuit. The display panel has a plurality of rows of display pixels, and the display pixel comprises (R, G, B) sub pixels of three primary colors and compensation sub pixels W, and in each row of display pixels, the (R, G, B) sub pixels of three primary colors and the compensation sub pixels W are alternately aligned. The scan driving circuit is employed to circularly driving each row of display pixels. The data driving circuit is employed to receive gray scales of respective sub pixels of each row of display pixels from a pixel rendering device, and providing the same to corresponding sub pixels in the display pixels. The image after rendering is shown on the display panel.
Above are only specific embodiments of the present invention, the scope of the present invention is not limited to this, and to any persons who are skilled in the art, change or replacement which is easily derived should be covered by the protected scope of the invention. Thus, the protected scope of the invention should go by the subject claims.
Number | Date | Country | Kind |
---|---|---|---|
201510964317.1 | Dec 2015 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2016/070911 | 1/14/2016 | WO | 00 |