The present application claims the priority to the Chinese Patent Application No. 201811383608.1, filed with National Intellectual Property Administration, PRC on Nov. 20, 2018 and entitled “PIXEL DRIVING METHOD AND PIXEL DRIVING APPARATUS”, which is incorporated herein by reference in its entirety.
The present application relates to a pixel driving method, a pixel driving apparatus and a computer device.
The statements herein merely provide background information related to the present application and do not necessarily constitute the conventional art.
Currently, a Vertical Alignment (VA) liquid crystal technology or an In-Plane Switching (IPS) liquid crystal technology is mostly adopted for a large-sized display panel. The Vertical Alignment (VA) liquid crystal technology has higher production efficiency and lower cost compared with the In-Plane Switching (IPS) liquid crystal technology; however, it has more obvious defects compared with the In-Plane Switching (IPS) liquid crystal technology in optical property, especially when the large-sized display panel needs a larger viewing angle to be displayed in commercial application. As shown in
Currently, the pixel driving method provided by the example technique may cause the image to have graininess due to the alternation of the bright and dark sub-pixels.
The purpose of the present application is to provide a pixel driving method, a pixel driving apparatus and a computer device, so as to avoid the graininess in image display, thereby improving display quality.
A pixel driving method includes:
acquiring an average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
The average pixel signal of the sub-pixels of each color in each unit pixel in the pixel block is acquired according to the pixel driving method provided by the embodiments of the present application, the color that the pixel block deflects to during display is determined according to the average pixel signal of the sub-pixels of each color and the preset main color-rendering determination condition, and the first-type gray-scale signal and the second-type gray-scale signal are loaded to each sub-pixel according to the determination result, then the proportion and the lightness of the high and low gray-scale voltage loaded to the pixel block are controlled, thus the graininess of the pixel block during display is improved.
In one or more embodiments, the main color-rendering determination condition includes a red-rendering condition, and the step of loading the first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading the second-type gray-scale signals to the remaining same-color sub-pixels based on the preset rule according to the color signal and the preset main color-rendering determination condition includes:
if the color signal meets the red-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent red sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units;
and loading the first-type gray-scale signals to three green sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one green sub-pixel in the second grouping unit, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units.
In one or more embodiments, the main color-rendering determination condition includes a green-rendering condition, and the step of loading the first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading the second-type gray-scale signals to the remaining same-color sub-pixels based on the preset rule according to the color signal and the preset main color-rendering determination condition includes:
if the color signal meets the green-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent green sub-pixels of each first grouping unit in the pixel block;
and loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one red sub-pixel in the second grouping unit.
In one or more embodiments, the step of loading the first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading the second-type gray-scale signals to the remaining same-color sub-pixels based on the preset rule according to the color signal and the preset main color-rendering determination condition includes:
loading the first-type gray-scale signal and the second-type gray-scale signal respectively to blue sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, the main color-rendering determination condition includes a blue-rendering condition, and the step of loading the first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading the second-type gray-scale signals to the remaining same-color sub-pixels based on the preset rule according to the color signal and the preset main color-rendering determination condition includes:
if the color signal meets the blue-rendering condition, loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to the remaining one red sub-pixel in the second grouping unit;
and loading the first-type gray-scale signals to three green sub-pixels of each of the second grouping units in the pixel block and loading the second-type gray-scale signal to the remaining one green sub-pixel in the second grouping unit.
In one or more embodiments, before the step of acquiring the average pixel signal of the sub-pixels of each color in each unit pixel in the pixel block, the method further includes:
loading a group of initial high and initial low gray-scale signals to same-color sub-pixels in a first grouping unit of the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, a color signal includes chroma and hue angle, and the red-rendering condition is:
0°<H≤45° or 315°<H≤360°, and CTL1≤C≤CTH2
where H is chroma, C is hue angle, CTL1 is the lowest predefined red hue threshold value, and CTH2 is the highest predefined red hue threshold value.
A pixel driving apparatus includes:
an average signal acquisition circuit for acquiring average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
a color signal acquisition unit for acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
a driving signal loading unit for loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
A computer device includes a memory and a processor, where the memory stores a computer program, which is characterized in that the processor When executing the computer program implements the steps of:
acquiring an average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
In one or more embodiments, a processor, when executing the computer readable instructions, further performs the steps of:
if the color signal meets the red-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent red sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units;
and loading the first-type gray-scale signals to three green sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one green sub-pixel in the second grouping unit, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units.
In one or more embodiments, a processor, when executing the computer readable instructions, further performs the steps of:
if the color signal meets the green-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent green sub-pixels of each first grouping unit in the pixel block;
and loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one red sub-pixel in the second grouping unit.
In one or more embodiments, a processor, when executing the computer readable instructions, further performs the steps of:
loading the first-type gray-scale signal and the second-type gray-scale signal respectively to blue sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, a processor, when executing the computer readable instructions, further performs the steps of:
if the color signal meets the blue-rendering condition, loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to the remaining one red sub-pixel in the second grouping unit;
and loading the first-type gray-scale signals to three green sub-pixels of each of the second grouping units in the pixel block and loading the second-type gray-scale signal to the remaining one green sub-pixel in the second grouping unit.
In one or more embodiments, a processor, when executing the computer readable instructions, further performs the steps of:
loading a group of initial high and initial low gray-scale signals to same-color sub-pixels in a first grouping unit of the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, a color signal includes chroma and hue angle, and the red-rendering condition is:
0°<H≤45° or 315°<H≤360°, and CTL1≤C≤CTH2
where H is chroma, C is hue angle, CTL1 is the lowest predefined red hue threshold value, and CTH2 is the highest predefined red hue threshold value.
The details of one or more embodiments of the present application are set forth in the accompanying drawings and the description below. Other features and advantages of the present application will be apparent from the specification, drawings and claims.
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are merely some embodiments of the present application, and those of ordinary skill in the art can acquire other drawings according to the drawings without any inventive labor.
In order to make the technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining, but not for limiting the present application.
It should be noted that when an element is referred to as being “connected to” another element, it can be directly connected to the other element, or an intervening element may also be present. The terms “mounted”, “one end”, “the other end” and the like as used herein are for illustration purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The term used in the specification of the present application herein is for the purpose of describing particular embodiment only and is not intended to be limiting of the present application. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
In an example technique, two adjacent red sub-pixels (green sub-pixels/blue sub-pixels) are divided into primary pixels and secondary pixels, and then different gray-scale voltages are applied to the primary pixels and the secondary pixels, as shown in
Referring to
Based on the above, it is desirable to provide a pixel driving method, a pixel driving apparatus, a computer device, and a computer-readable storage medium for solving a problem of the graininess in image display.
In one aspect, as shown in
S20: acquiring an average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
S40: acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
S60: loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
The pixel block may be a block including a plurality of unit pixels, for example, a pixel block may be a block including n*m unit pixels. The unit pixel includes a red sub-pixel, a green sub-pixel, and a blue sub-pixel. The main color-rendering determination condition is used to determine which one of red, green and blue that the pixel block composed of unit pixels deflects to during display. The preset rule is a rule preset by experience such as experiments and used to direct the adjustment of the difference value of the first-type gray-scale signals and the second-type gray-scale signals loaded to the same-color sub-pixels in each unit pixel and the adjustment of the proportion of the sub-pixels loaded with the first-type gray-scale signals and the second-type gray-scale signals in the pixel block so as to weaken the graininess when the pixel block is displayed. As shown in
When a display panel composed of multi-color sub-pixels is displayed, due to different loaded pixel voltages, the color that each pixel block deflects to is also different. The sensitivity of human eyes to the graininess caused by the difference of high and low gray-scale signals when the sub-pixels of each color in each pixel block are displayed is also different due to different color-deflection degree. Therefore, firstly, the average pixel signal of the sub-pixels of each color in each unit pixel in the pixel block is acquired, the color signal of the pixel block is acquired according to the average pixel signal of the sub-pixels of each color, then the color that the pixel block deflects to during display is determined according to the color signal and the preset main color-rendering determination condition, and the first-type gray-scale signals are loaded to a part of same-color sub-pixels in the pixel block and the second-type gray-scale signals are loaded to the remaining same-color sub-pixels based on a preset rule according to the deflected color. The part of the same-color sub-pixels and the remaining same-color sub-pixels referred to herein refer to sub-pixels with the same color. The rule for loading the gray-scale signals is for the same-color sub-pixels in the unit pixel.
In one or more embodiments, as shown in
S61: if the color signal meets the red-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent red sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units;
and loading the first-type gray-scale signals to three green sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one green sub-pixel in the second grouping unit, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units.
According to the Commission Internationale de L'Eclairage (CIE) specifications, L (Lightness), C (Chroma), and H (Hue) are functions with respect to R, G, B three-color space coordinates in a color coordinate system, where L=f1(R, G, B), C=f1(R, G, B), and H=f1(R, G, B), respectively. Referring to
Specifically, in this embodiment, average pixel signal R of the red sub-pixel, average pixel signal G of the green sub-pixel, and average pixel signal B of the blue sub-pixel in the pixel block are acquired by acquiring pixel signal of the sub-pixels of each color, and the lightness, the chroma, and the hue angle of the color signal corresponding to the pixel block can be acquired according to the acquired average pixel signal of the sub-pixels of each color. If the color signal meets the preset red-rendering condition, it is indicated that the average color signal of the pixel block is deflected to red during display, and thus for most of red sub-pixels of the pixel block, 2 adjacent red sub-pixel signals of each first grouping unit in the interval are averaged, and the first-type gray-scale signal and the second-type gray-scale signal corresponding to the average pixel signal are acquired by looking up a table to drive the two adjacent red sub-pixels respectively according to
In one or more embodiments, as shown in
S62: if the color signal meets the green-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent green sub-pixels of each first grouping unit in the pixel block;
and loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one red sub-pixel in the second grouping unit.
Similarly, if the color signal meets the green-rendering condition, it is indicated that for most of green sub-pixels of the pixel block, the 2 adjacent green sub-pixel signals of each first grouping unit in the interval are averaged, and the first-type gray-scale signal GH and the second-type gray-scale signal GL corresponding to the averaged pixel signal are acquired by looking up a table to drive the two adjacent green sub-pixels respectively according to
In one or more embodiments, as shown in
S63: loading the first-type gray-scale signal and the second-type gray-scale signal respectively to blue sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
Because human eyes have low sensitivity to the variation of blue color lightness and to the difference of lightness of blue sub-pixels, for the driving signals of the blue sub-pixels, a group of first-type and second-type gray-scale signals corresponding to the average pixel signal of every two adjacent blue sub-pixels can be used to respectively replace the pixel signals B1 and B2 originally loaded to the two adjacent blue sub-pixels, the combination of the first-type gray-scale signal and the second-type gray-scale signal can achieve the effect of improving the color shift of viewing angle, and at the positive viewing angle, the average lightness of the group of first-type and second-type gray-scale signals can maintain the same as that of the original two independent sub-pixel signals B1 and B2. Optionally, for the blue sub-pixel, the original two independent blue sub-pixel signals B1 and B2 may also be maintained.
In one or more embodiments, as shown in
S64: if the main color-rendering determination condition corresponding to the color signal is a blue-rendering condition, loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to the remaining one red sub-pixel in the second grouping unit;
and loading the first-type gray-scale signals to three green sub-pixels of each of the second grouping units in the pixel block and loading the second-type gray-scale signal to the remaining one green sub-pixel in the second grouping unit.
If the color signal meets the blue-rendering condition, it is indicated that the average color signal of the pixel block is deflected to blue, and thus for most of red sub-pixels of the pixel block, the first-type gray-scale signal and the second-type gray-scale signal corresponding to the average pixel signal of every 4 adjacent red sub-pixels of each second grouping unit in the interval can be acquired, where the first-type gray-scale signals (high-voltage gray-scale signal RH′) are loaded to 3 red sub-pixels, and the second-type gray-scale signal (low-voltage gray-scale signal RL′) is loaded to the remaining one red sub-pixel according to
In one or more embodiments, as shown in
S50: acquiring an average pixel signal of each second grouping unit in the pixel block, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units; and
S51: acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each second grouping unit by looking up a table.
In one or more embodiments, as shown in
S52: acquiring an average pixel signal of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units; and
S53: acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each first grouping unit by looking up a table.
In one or more embodiments, as shown in
S10: loading a group of initial high and initial low gray-scale signals to same-color sub-pixels in a first grouping unit of the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In order to better ensure the large-viewing-angle display effect when the pixel block is displayed, a group of initial high and initial low gray-scale signals are loaded to every two adjacent unit pixels during initialization. And then whether the pixel block has graininess during display is determined. If so, a group of first-type and second-type gray-scale signals corresponding to the average pixel signal of every four adjacent same-color sub-pixels are acquired, and the first-type gray-scale signals and the second-type gray-scale signals are loaded to each unit pixel according to a preset rule. If not, a group of first-type and second-type gray-scale signals corresponding to the average pixel signal of every two adjacent sub-pixels can be used to replace the original initial high gray-scale signal and the initial low gray-scale signal. Or if not, the original initial high gray-scale signal and the initial low gray-scale signal can be remained unchanged, where the initial high gray-scale signal and the initial low gray-scale signal can be acquired by looking up a table. It should be noted that the loading of the initial high gray-scale signal and the loading of the initial low gray-scale signal herein are both for the same-color sub-pixels in two adjacent unit pixels.
In one or more embodiments, a color signal includes chroma and hue angle, and the red-rendering condition is:
0°<H≤45° or 315°<H≤360°, and CTL1≤C≤CTH2
where H is chroma, C is hue angle, CTL1 is the lowest predefined red hue threshold value, and CTH2 is the highest predefined red hue threshold value.
It should be understood that although the various steps of the flow diagrams in
A pixel driving apparatus, as shown in
an average signal acquisition circuit 10 for acquiring average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
a color signal acquisition circuit 20 for acquiring color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
a driving signal loading circuit 30 for loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
The definitions of the pixel block, the unit pixel, etc. are the same as those in the above embodiments, and are not repeated herein. The average signal acquisition circuit 10 acquires average pixel signal of the sub-pixels of each color in each unit pixel in the pixel block and sends the average pixel signal to the color signal acquisition circuit 20, then the color signal acquisition circuit 20 acquires the color signal of the pixel block according to the average pixel signal of the sub-pixels of each color, and the driving signal loading circuit 30 loads the first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loads the second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition.
The definition of the pixel driving method above can be referred to for the specific definition of the pixel driving apparatus, which thereby will not be described herein again. The circuit modules in the above pixel driving apparatus can be wholly or partially implemented by software, hardware and a combination thereof. The above modules can be a hardware incorporated in or independent of a processor in the computer device, and can also be stored in a memory in the computer device in the form of a software, such that the processor can call and execute operations corresponding to the modules.
In one or more embodiments, a computer device is provided, which may be a server, and the internal structure diagram thereof may be as shown in
It will be understood by those skilled in the art that the structure shown in
A computer device includes a memory and a processor, where the memory stores a computer program, the processor when executing the computer program implements the steps of:
S20: acquiring an average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
S40: acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
S60: loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
When the computer device provided by the embodiment of the application operates, the main color of each pixel block during display can be determined according to the pixel signal of the sub-pixel of the pixel block, and then the first-type gray-scale signal and the second-type gray-scale signal are loaded to each unit pixel of the pixel block according to a pre-stored preset rule, so that the graininess of the pixel block during display is reduced, and the display quality is improved.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
S61: if the color signal meets the red-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent red sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units;
and loading the first-type gray-scale signals to three green sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one green sub-pixel in the second grouping unit, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
S62: if the color signal meets the green-rendering condition, loading the first-type gray-scale signal and the second-type gray-scale signal respectively to two adjacent green sub-pixels of each first grouping unit in the pixel block;
and loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to one red sub-pixel in the second grouping unit.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
S63: loading the first-type gray-scale signal and the second-type gray-scale signal respectively to blue sub-pixels of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
S64: if the color signal meets the blue-rendering condition, loading the first-type gray-scale signals to three red sub-pixels of each second grouping unit in the pixel block and loading the second-type gray-scale signal to the remaining one red sub-pixel in the second grouping unit;
and loading the first-type gray-scale signals to three green sub-pixels of each of the second grouping units in the pixel block and loading the second-type gray-scale signal to the remaining one green sub-pixel in the second grouping unit.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
if determining that the pixel signal of the pixel block meets the first condition, acquiring an average pixel signal of each second grouping unit in the pixel block, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units; and
acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each second grouping unit by looking up a table.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
if determining that the pixel signal of the pixel block meets the first condition, acquiring an average pixel signal of each second grouping unit in the pixel block, where the second grouping unit includes four adjacent unit pixels, and no same unit pixel exists in each of the second grouping units; and
acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each second grouping unit by looking up a table.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
if determining that the pixel signal of the pixel block does not meet the first condition, acquiring an average pixel signal of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units; and
acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each first grouping unit by looking up a table.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
if determining that the pixel signal of the pixel block does not meet the first condition, acquiring an average pixel signal of each first grouping unit in the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units; and
acquiring first-type gray-scale signal and second-type gray-scale signal corresponding to the average pixel signal of each first grouping unit by looking up a table.
In one or more embodiments, the processor in the computer device, when executing the computer readable instructions, further performs the steps of:
loading a group of initial high and initial low gray-scale signals to same-color sub-pixels in a first grouping unit of the pixel block, where the first grouping unit includes two adjacent unit pixels, and no same unit pixel exists in each of the first grouping units.
In one or more embodiments, a color signal includes chroma and hue angle, and the red-rendering condition is:
0°<H≤45° or 315°<H≤360°, and CTL1≤C≤CTH2
where H is chroma, C is hue angle, CTL1 is the lowest predefined red hue threshold value, and CTH2 is the highest predefined red hue threshold value.
A computer-readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the steps of:
S20: acquiring an average pixel signal of sub-pixels of each color in each unit pixel in a pixel block, where the unit pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel;
S40: acquiring a color signal of the pixel block according to the average pixel signal of the sub-pixels of each color; and
S60: loading first-type gray-scale signals to a part of same-color sub-pixels in the pixel block and loading second-type gray-scale signals to the remaining same-color sub-pixels based on a preset rule according to the color signal and a preset main color-rendering determination condition, where the first-type gray-scale signals are not equal to the corresponding second-type gray-scale signals.
It will be understood by those skilled in the art that all or part of the processes of the method of the embodiments described above may be implemented by instructing relevant hardware through a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the method of the embodiments described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include Read-Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration rather than limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link (Synchlink), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), Direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The technical features of the embodiments described above can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features of the above embodiments are not described, and such combinations of the technical features shall be deemed to fall within the scope of the present disclosure as long as there is no contradiction.
The embodiments described above only describe several implementations of the present disclosure, and the description thereof is specific and detailed. However, those cannot be therefore construed as limiting the scope of the present application. It should be noted that, for those of ordinary skill in the art, several variations and modifications can be made without departing from the concept of the present disclosure, which also fall within the scope of the present disclosure. Therefore, the protection scope of the present application shall be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201811383608.1 | Nov 2018 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2018/121540 | 12/17/2018 | WO | 00 |