The present application claims the priority of Chinese Patent Application No. 201810813985.8 filed on Jul. 23, 2018, which is incorporated herein by reference as a part of the present application.
Embodiments of the present disclosure relate to a data processing method, a data processing device, an image display driving method, a display panel and a computer-readable storage medium.
A thin film transistor liquid crystal display (TFT-LCD) is widely used in a liquid crystal TV, a mobile phone, a computer and other electronic products due to its advantages of high resolution, power saving and light frame. With development of liquid crystal display technology, traditional RGB (red, green, blue) tricolor display technology has been unable to meet the requirements of high brightness and low power consumption of electronic products. Therefore, multi-color display technology has gradually developed. RGBW (red, green, blue, white) four-color display technology is to add a W (white) sub-pixel on the basis of a RGB pixel unit structure to form a RGBW pixel structure. The RGBW four-color display technology has the advantages of improving the transmittance, improving brightness and reducing power consumption of an LCD panel.
At least one embodiment of the present disclosure provides a data processing method, and the data processing method comprises: based on input RGB grayscale values, calculating a chromaticity coordinate of the input RGB grayscale values on a chromaticity diagram, in which the chromaticity diagram comprises a white basic point; calculating to obtain intermediate grayscale values containing a white component, based on the input RGB grayscale values and according to a position relationship between the chromaticity coordinate and the white basic point; and adjusting the intermediate grayscale values to obtain output RGBW grayscale values.
For example, in the data processing method provided by at least one embodiment of the present disclosure, the input RGB grayscale values comprise an input R sub-grayscale value, an input G sub-grayscale value and an input B sub-grayscale value; and calculating the chromaticity coordinate of the input RGB grayscale values on the chromaticity diagram based on the input RGB grayscale values, comprises: calculating tri-stimulus values of the chromaticity coordinate according to the input RGB grayscale values; and calculating the chromaticity coordinate according to the tri-stimulus values, in which a formula for calculating the tri-stimulus value is expressed as:
in which X0, Y0 and Z0 represent the tri-stimulus values, and Y0 represents an actual brightness value under the input RGB graysc ale values, R0 represents the input R sub-grayscale value, G0 represents the input G sub-grayscale value, B0 represents the input B sub-grayscale value, and XR, YR, ZR, XG, YG, ZG, XB, YB, ZB, XW, YW, and ZW are conversion coefficients and are constants;
formulas for calculating the chromaticity coordinate x0 and y0 are expressed as follows:
For example, in the data processing method provided by at least one embodiment of the present disclosure, the chromaticity diagram further comprises a red basic point, a green basic point and a blue basic point; and calculating to obtain the intermediate grayscale values containing the white component, based on the input RGB grayscale values and according to the position relationship between the chromaticity coordinate and the white basic point comprises: determining the position relationship between the chromaticity coordinate and the white basic point according to the red basic point, the green basic point, the blue basic point, the white basic point and the chromaticity coordinate; and according to the position relationship, calculating the intermediate grayscale values based on the input RGB grayscale values.
For example, in the data processing method provided by at least one embodiment of the present disclosure, the intermediate grayscale values comprise a first intermediate sub-grayscale value, a second intermediate sub-grayscale value and a third intermediate sub-grayscale value; in the chromaticity diagram, a triangular region with the red basic point, the green basic point and the white basic point as vertices is a first region, a triangular region with the red basic point, the blue basic point and the white basic point as vertices is a second region, and a triangular region with the green basic point, the blue basic point and the white basic point as vertices is a third region;
in a case where the position relationship is that the chromaticity coordinate is located in the first region, a formula for calculating the intermediate grayscale values is expressed as:
in which R1, G1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively; or,
in a case where the position relationship is that the chromaticity coordinate is located in the second region, a formula for calculating the intermediate grayscale values is expressed as:
in which R1, B1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively; or,
in a case where the position relationship is that the chromaticity coordinate is located in the third region, a formula for calculating the intermediate grayscale values is expressed as:
in which G1, B1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively.
For example, in the data processing method provided by at least one embodiment of the present disclosure, adjusting the intermediate grayscale values to obtain the output RGBW grayscale values comprises: adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to a brightness information included in the input RGB grayscale values.
For example, in the data processing method provided by at least one embodiment of the present disclosure, adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to the brightness information included in the input RGB grayscale values comprises: calculating a maximum brightness value corresponding to the chromaticity coordinate according to the input RGB grayscale values; adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to the input RGB grayscale values and the maximum brightness value.
For example, in the data processing method provided by at least one embodiment of the present disclosure, calculating a maximum brightness value corresponding to the chromaticity coordinate according to the input RGB grayscale values comprises: obtaining a maximum value among the input R sub-grayscale value, the input G sub-grayscale value and the input B sub-grayscale value as a maximum input sub-grayscale value; and calculating the maximum brightness value based on the maximum input sub-grayscale value and the input RGB grayscale values, in which a formula for calculating the maximum brightness value is expressed as:
in which Xmax, Ymax and Zmax represent tri-stimulus values corresponding to the maximum brightness value of the chromaticity coordinate, Ymax represents the maximum brightness value, and KRGB represents the maximum input sub-grayscale value.
For example, in the data processing method provided by at least one embodiment of the present disclosure, adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to the input RGB grayscale values and the maximum brightness value comprises: calculating the intermediate output RGBW grayscale values according to the input RGB grayscale values and the intermediate grayscale values, in which the intermediate output RGBW grayscale values comprise an intermediate output R sub-grayscale value, an intermediate output G sub-grayscale value, an intermediate output B sub-grayscale value and an intermediate output W sub-grayscale value; obtaining a maximum value among the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value, the intermediate output B sub-grayscale value and the intermediate output W sub-grayscale value as a maximum intermediate output sub-grayscale value; calculating the output RGBW grayscale values according to the intermediate output RGBW grayscale values, the maximum intermediate output sub-grayscale value, the maximum brightness value and the actual brightness value.
For example, in the data processing method provided by at least one embodiment of the present disclosure, in the case where the position relationship is that the chromaticity coordinate is located in the first region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
or, in the case where the position relationship is that the chromaticity coordinate is located in the second region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
or, in the case where the position relationship is that the chromaticity coordinate is located in the third region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
in which R2, G2, B2 and W2 represent the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value, the intermediate output B sub-grayscale value and the intermediate output W sub-grayscale value respectively.
For example, in the data processing method provided by at least one embodiment of the present disclosure, a formula for calculating the output RGBW grayscale values is expressed as:
in which Rout, Gout, Bout and Wout represent an output R sub-grayscale value, an output G sub-grayscale value, an output B sub-grayscale value and an output W sub-grayscale value of the output RGBW grayscale values respectively, and Km represents the maximum intermediate output sub-grayscale value.
At least one embodiment of the present disclosure further comprises an image display driving method, and the image display driving method comprises: obtaining input RGB grayscale values; based on the input RGB grayscale values, calculating a chromaticity coordinate of the input RGB grayscale values on a chromaticity diagram, in which the chromaticity diagram comprises a white basic point; calculating to obtain intermediate grayscale values containing a white component, based on the input RGB grayscale values and according to a position relationship between the chromaticity coordinate and the white basic point; adjusting the intermediate grayscale values to obtain output RGBW grayscale values; and driving a display pixel to display by using the output RGBW grayscale values.
For example, in the image display driving method provided by at least one embodiment of the present disclosure, the display pixel comprises a first sub-pixel, a second sub-pixel, a third sub-pixel and a fourth sub-pixel; an output R sub-grayscale value of the output RGBW grayscale values is transmitted to the first sub-pixel to drive the first sub-pixel to display; an output G sub-grayscale value of the output RGBW grayscale values is transmitted to the second sub-pixel to drive the second sub-pixel to display; an output B sub-grayscale value of the output RGBW grayscale values is transmitted to the third sub-pixel to drive the third sub-pixel to display; and an output W sub-grayscale value of the output RGBW grayscale values is transmitted to the fourth sub-pixel to drive the fourth sub-pixel to display.
At least one embodiment of the present disclosure further comprises a data processing device, and the data processing device comprises: a data acquisition module, configured to acquire input RGB grayscale values; a grayscale conversion module, which is configured for: based on the input RGB grayscale values, calculating a chromaticity coordinate of the input RGB grayscale values on a chromaticity diagram, in which the chromaticity diagram comprises a white basic point, calculating to obtain intermediate grayscale values containing a white component, based on the input RGB grayscale values and according to a position relationship between the chromaticity coordinate and the white basic point, and adjusting the intermediate grayscale values to obtain output RGBW grayscale values; and an output module, which is configured for transmitting the output RGBW grayscale values to a display pixel to drive the display pixel to display.
At least one embodiment of the present disclosure further comprises a data processing device, and the data processing device comprises a storage, which is used for storing a non-temporary computer-readable instruction; and a processor, which is used for executing the non-temporary computer-readable instruction, in which the non-temporary computer-readable instruction is executed by the processor to perform any one of the data processing methods described above.
At least one embodiment of the present disclosure further comprises a display panel, and the display panel comprises any one of the data processing devices described above.
At least one embodiment of the present disclosure further provides a computer-readable storage medium, and the computer-readable storage medium is used for storing a non-temporary computer-readable instruction, in which the non-temporary computer-readable instruction is executed by a computer to perform any one of the data processing methods described above.
In order to clearly illustrate the technical solution of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described. It is apparent that the described drawings are only related to some embodiments of the present disclosure and thus are not limitative of the present disclosure.
In order to make objects, technical details and advantages of embodiments of the disclosure clear, the technical solutions of the embodiments will be described in a clearly and fully understandable way in connection with the related drawings. It is apparent that the described embodiments are just a part but not all of the embodiments of the disclosure. Based on the described embodiments herein, those skilled in the art can obtain, without any inventive work, other embodiment(s) which should be within the scope of the disclosure.
Unless otherwise defined, all the technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art to which the present disclosure belongs. The terms “first,” “second,” etc., which are used in the description and claims of the present application, are not intended to indicate any sequence, amount or importance, but to distinguish various components. The terms “comprises,” “comprising,” “includes,” “including,” etc., are intended to specify that the elements or the objects stated before these terms encompass the elements or the objects listed after these terms as well as equivalents thereof, but do not exclude other elements or objects. The phrases “connect”, “connected”, etc., are not intended to define a physical connection or mechanical connection, but may include an electrical connection which is direct or indirect. The terms “on,” “under,” “right,” “left” and the like are only used to indicate relative position relationship, and when the position of an object is described as being changed, the relative position relationship may be changed accordingly. In order to make the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed description of known functions and known components.
RGBW (red, green, blue, white) four-color display technology can enhance display brightness effectively, or reduce power consumption under the same brightness. However, a RGB color conversion theory is mature. At present, most data sources are encoded based on RGB, so input signals of the display panel are three signals of the RGB. An additional W signal makes color saturation of a display screen decrease relative to an original screen, that is, the displayed color is diluted by the added white light, resulting in a phenomenon of color fading. How to convert RGB three-color signals into RGBW four-color signals without distortion becomes a technical difficulty of the RGBW four-color display technology.
Embodiments of the present disclosure provide a data processing method, a data processing device, an image display driving method, a display panel and a computer-readable storage medium, in the data processing method, according to a position relationship between a chromaticity coordinate of input RGB grayscale values and a white basic point, the white component of output RGBW grayscale values is determined, so as to solve a problem of color matching in the process of conversion from RGB to RGBW, and ensure that the color is not distorted (the chromaticity coordinate is unchanged before and after conversion), and effectively improve the brightness and the display effect. At the same time, the data processing method is simple and the amount of calculation is small. The data processing method provided by the embodiments of the present disclosure can be applied to various suitable types of display panels, such as an LCD display panel, an OLED display panel, etc.
The embodiments of the present disclosure are described in detail below, but the present disclosure is not limited to these specific embodiments.
For example, as illustrated in
S10: based on input RGB grayscale values, calculating a chromaticity coordinate of the input RGB grayscale values on a chromaticity diagram, in which the chromaticity diagram comprises a white basic point;
S20: calculating to obtain intermediate grayscale values containing a white component, based on the input RGB grayscale values and according to a position relationship between the chromaticity coordinate and the white basic point;
S30: adjusting the intermediate grayscale values to obtain output RGBW grayscale values.
The input RGB grayscale values are obtained, for example, by decoding a display data signal from a data source. The data source comprises a storage device or a data receiving device, or the like. For example, the storage device comprises a hard disk, a flash memory, etc., and the data receiving device comprises a modem, a wired network card, and a wireless network card, etc.
For example, the chromaticity diagram is a planar diagram where a functional expression v=f(u) of a blackbody trajectory is expressed by the chromaticity coordinates in colorimetry. As illustrated in
For example, because the red, green and blue primary colors selected from the actual spectrum cannot be mixed to obtain all the colors that exist in nature. In 1931, CIE (International Lighting Commission) theoretically assumed that there are three primary colors that do not exist in nature, that is theoretical three primary colors, which are represented by X, Y and Z respectively. X theory primary color is equivalent to a red purple color having a higher saturation than red light; Y theory primary color is equivalent to a green color having a higher saturation than green light of 520 nanometer, Z theory primary color is equivalent to a blue color having a higher saturation than blue light of 477 nanometer. Tri-stimulus values are amounts of stimulation of three theoretical primary colors which cause the sensation of a certain color in human retina. The stimulation amounts of the theoretical primary colors are expressed as X, Y and Z (that is, tri-stimulus values). In the CIE1931 chromaticity diagram, for a RGB three-color system, a conversion formula between RGB grayscale values and the tri-stimulus values is expressed as follows:
in which, R, G and B respectively represent a R grayscale value, a B grayscale value and a G grayscale value corresponding to a certain mixed color. X, Y and Z are tri-stimulus values of the mixed color, and the X, Y and Z all are positive numbers. X1R, X1G, X1B, Y1R, Y1G, Y1B, Z1R, Z1G and Z1B are three-color conversion coefficients, and the X1R, X1G, X1B, Y1R, Y1G, Y1B, Z1R, Z1G and Z1B are determined by the performance of the display panel. X denotes a stimulus value of theoretical red primary color, Y denotes a stimulus value of theoretical green primary color, Z denotes a stimulus value of theoretical blue primary color, and the Y stimulus value is the same as a brightness value, that is, the Y stimulus value can denote the brightness value.
For example, the X1R, X1G, X1B, Y1R, Y1G, Y1B, Z1R, Z1G and Z1B can be measured by a color analyzer, the color analyzer adopted, for example, is a commercially suitable color analyzer (for example, a type of the color analyzer is CA-310 or CA-210).
For example, in some examples, X1R=0.4124, X1G=0.3576, X1B=0.1805, Y1R=0.2126, Y1G=0.7152, Y1B=0.0722, Z1R=0.0193, Z1G=0.1192, Z1B=0.9505. That is to say, the conversion formula between the RGB grayscale values and the tri-stimulus values is expressed as follows:
For example, similar to the RGB three-color system, in a RGBW four-color system, a conversion formula between the RGBW grayscale values and the tri-stimulus values is expressed as follows:
in which the R, G, B and W respectively represent a R grayscale value, a B grayscale value, a G grayscale value and a W grayscale value corresponding to a certain mixed color, X, Y and Z are tri-stimulus values of the mixed color. The X2R, X2G, X2B, X2W, Y2R, Y2G, Y2B, Y2W, Z2R, Z2G, Z2B and Z2W are four-color conversion coefficients. The X2R, X2G, X2B, X2W, Y2R, Y2G, Y2B, Y2W, Z2R, Z2G, Z2B, Z2W can also be determined by the performance of the display panel, and can be measured by the color analyzer. For example, in some examples, the conversion relationship formula the RGBW grayscale values and the tri-stimulus values is expressed as:
For example, the conversion formula between the chromaticity coordinate and the tri-stimulus values is expressed as follows:
in which, the x and y are the chromaticity coordinate of the RGB grayscale values or the RGBW grayscale values on the CIE1931 chromaticity diagram.
For example, in step S10, the input RGB grayscale values can comprise an input R sub-grayscale value (that is, an input red sub-grayscale value), an input G sub-grayscale value (that is, an input green sub-grayscale value) and an input B sub-grayscale value (that is, an input blue sub-grayscale value). The input RGB grayscale values are normalized values, that is, all the input R sub-grayscale value, the input G sub-grayscale value and the input B sub-grayscale value are in a range of 0.00 to 1.00. For example, if each pixel of the display panel is represented by 8-bit data, the grayscale levels of the display panel comprises 256 grayscale levels (from a 0 grayscale to a 255 grayscale), and 0.00 corresponds to the 0 grayscale, and 1.00 corresponds to the 255 grayscale.
For example, step S10 may comprise: calculating tri-stimulus values of the chromaticity coordinate according to the input RGB grayscale values; and calculating the chromaticity coordinate according to the tri-stimulus values.
For example, based on the above theory, in the RGBW four-color system, in step S10, a formula for calculating the tri-stimulus values is expressed as:
in which, X0, Y0 and Z0 represent the tri-stimulus values, and Y0 represents an actual brightness value under the input RGB grayscale values, R0 represents the input R sub-grayscale value, G0 represents the input G sub-grayscale value, B0 represents the input B sub-grayscale value, W0 represents the input W sub-grayscale value (that is, an input white sub-grayscale value), XR, YR, ZR, XG, YG, ZG, XB, YB, ZB, XW, YW and ZW are all conversion coefficients and are constants. For example, in some examples, as described above, XR=0.2440, XG=0.2472, XB=0.5961, XW=0.3692, YR=0.1299, YG=0.4487, YB=0.0365, YW=0.3848, ZR=0.0097, ZG=0.0798, ZB=0.3348, ZW=0.4553.
For example, because the RGB grayscale values of the input data signal only comprises the input R sub-grayscale value, the input G sub-grayscale value and the input B sub-grayscale value, accordingly, it can be considered that the input data signal may comprise RGBW grayscale values, and the W sub-grayscale value of the RGBW grayscale values is 0, that is, W0=0. Thus, in the step 10, the formula for calculating the tri-stimulus values is expressed as:
For example, the chromaticity coordinate corresponding to the input RGB grayscale values is x0 and y0, and the chromaticity coordinate x0 and y0 reflects the Chroma characteristics of the color, and formulas for calculating the chromaticity coordinate x0 and y0 are expressed as follows:
For example, as illustrated in
For example, the chromaticity diagram further comprises a red basic point, a green basic point and a blue basic point. The step S20 comprises: determining the position relationship between the chromaticity coordinate and the white basic point according to the red basic point, the green basic point, the blue basic point, the white basic point and the chromaticity coordinate; and according to the position relationship, calculating the intermediate grayscale values based on the input RGB grayscale values.
For example, the intermediate grayscale values may comprise a first intermediate sub-grayscale value, a second intermediate sub-grayscale value and a third intermediate sub-grayscale value.
For example, as illustrated in
For example, as illustrated in
For example, because the color corresponding to the P0 point can be obtained by mixing colors of RGB, the P0 point is located in a gamut range defined by the red basic point Rb, the green basic point Gb, the blue basic point Bb and the white basic point Wb. As illustrated in
For example, the position relationship may be that the chromaticity coordinate is located in the first region, the chromaticity coordinate is located in the second region or the chromaticity coordinate is located in the third region.
For example, in some examples, in a case where the position relationship is that the chromaticity coordinate (that is the P0 point) is located in the first region (that is the triangular region RbGbWb), the color corresponding to the chromaticity coordinate can be obtained by mixing red, green and white, so that a blue component in the intermediate grayscale values may be 0, and the formula for calculating the intermediate grayscale values can be expressed as follows:
in which R1, G1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively. In this case, the R1 represents the first intermediate sub-grayscale value, the G1 represents the second intermediate sub-grayscale value, and the W1 represents the third intermediate sub-grayscale value.
For example, in other examples, in a case where the position relationship is that the chromaticity coordinate (that is P0 point) is located in the second region (that is the triangular region RbBbWb), the color corresponding to the chromaticity coordinate can be obtained by mixing red, blue and white, so that a green component in the intermediate grayscale values is 0, and the formula for calculating the intermediate grayscale values may be expressed as follows:
in which R1, B1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively. In this case, the R1 represents the first intermediate sub-grayscale value, the B1 represents the second intermediate sub-grayscale value, and the W1 represents the third intermediate sub-grayscale value.
For example, in some other examples, in a case where the position relationship is that the chromaticity coordinate (that is the P0 point) is located in the third region (that is the triangular region GbBbWb), the color corresponding to the chromaticity coordinate can be obtained by mixing green, blue and white, so that a red component in the intermediate grayscale values is 0, and the formula for calculating the intermediate grayscale values may be expressed as follows:
in which G1, B1 and W1 represent the first intermediate sub-grayscale value, the second intermediate sub-grayscale value and the third intermediate sub-grayscale value respectively. In this case, the G1 represents the first intermediate sub-grayscale value, the B1 represents the second intermediate sub-grayscale value, and the W1 represents the third intermediate sub-grayscale value.
For example, a white component of the intermediate grayscale values is W1, that is, the white component of the intermediate grayscale values is the third intermediate sub-grayscale value.
It should be noted that, as illustrated in
For example, the step S30 comprises: adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to a brightness information included in the input RGB grayscale values.
For example, the brightness information included in the input RGB grayscale values may comprise a maximum brightness value corresponding to the chromaticity coordinate (the P0 point shown in
For example, in some examples, calculating the maximum brightness value corresponding to the chromaticity coordinate according to the input RGB grayscale values comprises: obtaining a maximum value among the input R sub-grayscale value, the input G sub-grayscale value and the input B sub-grayscale value as a maximum input sub-grayscale value; and calculating the maximum brightness value based on the maximum input sub-grayscale value and the input RGB grayscale values.
For example, the maximum input sub-grayscale value may be expressed as:
KRGB=MAX(R0,G0,B0)
in which the KRGB represents the maximum input sub-grayscale value. In some examples, the input R sub-grayscale value is 0.5 (that is, R0=0.5), the input G sub-grayscale value is 0.3 (that is, G0=0.3), and the input B sub-grayscale value is 0.7 (that is, B0=0.7). Thus, the maximum input sub-grayscale value is the input B sub-grayscale value, that is, the KRGB=0.7. In some other examples, the input R sub-grayscale value is 0.2 (that is, R0=0.2), the input G sub-grayscale value is 0.8 (that is, G0=0.8), and the input B sub-grayscale value is 0.4 (that is, B0=0.4). Thus, the maximum input sub-grayscale value is the input G sub-grayscale value, that is, the KRGB=0.8.
For example, the formula for calculating the maximum brightness value corresponding to the chromaticity coordinate is expressed as:
in which Xmax, Ymax and Zmax represent the tri-stimulus values corresponding to the maximum brightness value of the chromaticity coordinate, and the Ymax represents the maximum brightness value at the P0 point.
For example, a brightness ratio coefficient at the P0 point may be expressed as:
in which the KY represents the brightness ratio coefficient at the P0 point. The KY reflects the brightness ratio information at the P0 point.
For example, in some examples, adjusting the intermediate grayscale values to obtain the output RGBW grayscale values according to the input RGB grayscale values and the maximum brightness value may comprise: calculating intermediate output RGBW grayscale values according to the input RGB grayscale values and the intermediate grayscale values, in which the intermediate output RGBW grayscale values comprise an intermediate output R sub-grayscale value, an intermediate output G sub-grayscale value, an intermediate output B sub-grayscale value and an intermediate output W sub-grayscale value; obtaining a maximum value among the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value, the intermediate output B sub-grayscale value and the intermediate output W sub-grayscale value as a maximum intermediate output sub-grayscale value; and calculating the output RGBW grayscale values according to the intermediate output RGBW grayscale values, the maximum intermediate output sub-grayscale value, the maximum brightness value (that is, the maximum brightness value corresponding to the chromaticity coordinate corresponding to the input RGB grayscale values) and the actual brightness value (that is, the actual brightness value corresponding to the input RGB grayscale values).
For example, R2 represents the intermediate output R sub-grayscale value, G2 represents the intermediate output G sub-grayscale value, B2 represents the intermediate output B sub-grayscale value, and W2 represents the intermediate output W sub-grayscale value.
For example, in some examples, in the case where the position relationship is that the chromaticity coordinate is located in the first region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
Thus, R2=R0+R1, G2=G0+G1, B2=B0, and W2=W1.
For example, in other examples, in the case where the position relationship is that the chromaticity coordinate is located in the second region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
Thus, R2=R0+R1, G2=G0, B2=B0+B1, and W2=W1.
For example, in some other examples, in the case where the position relationship is that the chromaticity coordinate is located in the third region, a formula for calculating the intermediate output RGBW grayscale values is expressed as:
Thus, R2=R0, G2=G0+G1, B2=B0+B1, and W2=W1.
For example, the chromaticity coordinate corresponding to R0, G0 and B0 calculated according to the above formula (1) is the P0 point shown in
For example, although R0, G0, B0, R1, G1, B1 are all natural numbers less than or equal to 1, however because the intermediate output RGBW grayscale values are the result of linear addition of the input RGB grayscale values to the intermediate grayscale values, the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value and the intermediate output B sub-grayscale value (those are R2, G2, B2) may overflow, that is, R2 may be greater than 1, G2 may be greater than 1, and B2 may be greater than 1. Therefore, the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value and the intermediate output B sub-grayscale value need to be adjusted, so that the intermediate output R sub-grayscale value, the intermediate output G sub-grayscale value and the intermediate output B sub-grayscale value all are in the range of 0.00 to 1.00.
For example, the maximum intermediate output sub-grayscale value may be expressed as:
Km=MAX(R2,G2,B2,W2)
in which Km represents the maximum intermediate output sub-grayscale value. In some examples, the intermediate output R sub-grayscale value is 0.8 (R2=0.8), the intermediate output G sub-grayscale value is 1.3 (G2=1.3), the intermediate output B sub-grayscale value is 0.7 (B2=0.7), and the intermediate output W sub-grayscale value is 0.3 (W2=0.3). Thus, the maximum intermediate output sub-grayscale value is the intermediate output G sub-grayscale value, that is to say, Km=1.3.
For example, the RGBW grayscale values corresponding to the maximum intermediate brightness value may be expressed as:
in which Rm, Gm, Bm and Wm represent the maximum intermediate output RGBW grayscale values under the condition of the maximum intermediate brightness value. Rm represents the maximum intermediate output R sub-grayscale value, Gm represents the maximum intermediate output G sub-grayscale value, Bm represents the maximum intermediate output B sub-grayscale value, and Wm represents the maximum intermediate output W sub-grayscale value.
For example, the output RGBW grayscale values can be obtained according to the brightness ratio coefficient at the P0 point and the maximum intermediate output RGBW grayscale values. A formula for calculating the output RGBW grayscale values is expressed as:
in which Rout, Gout, Bout and Wout represent an output R sub-grayscale value, an output G sub-grayscale value, an output B-grayscale value and an output W sub-grayscale value of the output RGBW grayscale values respectively. Rout represents the output R sub-grayscale value, Gout represents the output G sub-grayscale value, Bout represents the output B sub-grayscale value and Wout represents the output W sub-grayscale value. That is to say, Rout, Gout, Bout and Wout are the output RGBW grayscale values obtained by converting the input RGB grayscale values. For example, the output RGBW grayscale values are also normalized values, that is, the output R sub-grayscale value, the output B sub-grayscale value, the output G sub-grayscale value, and the output W sub-grayscale value are also in the range of 0.00 to 1.00. Because the chromaticity coordinate corresponding to the output RGBW grayscale values is the same as the chromaticity coordinate corresponding to the input RGB grayscale value (for example, the P0 point shown in
S41: obtaining input RGB grayscale values;
S42: converting the input RGB grayscale values to output RGBW grayscale values;
S43: driving a display pixel to display by using the output RGBW grayscale values.
For example, in the step S42, converting the input RGB grayscale values to the output RGBW grayscale values can be achieved by using the data processing method described in any one of the above embodiments, that is to say, the step S42 may comprise the step S10 to S30 in the embodiment of above data processing method. In the image display driving method provided by the present disclosure, the white component of the output RGBW grayscale values is determined according to the position relationship between the chromaticity coordinate of the input RGB grayscale values and the white basic point, so that the conversion from the RGB to the RGBW is implemented, it can be ensured that the color is not distorted (the chromaticity coordinate is unchanged before and after conversion). According to the output RGBW grayscale values, display pixels of the corresponding display panel are driven to display, so as to effectively improve the display brightness and the display effect.
The display panel comprises a pixel array, and the pixel array comprises m rows and n columns of display pixels. For example, in order to display the RGBW grayscale values, each display pixel of the corresponding display panel may comprise a first sub-pixel, a second sub-pixel, a third sub-pixel and a fourth sub-pixel. The first sub-pixel is a red sub-pixel, the second sub-pixel is a green sub-pixel, the third sub-pixel is a blue sub-pixel, and the fourth sub-pixel is a white sub-pixel.
For example, in the step S43, an output R sub-grayscale value of the output RGBW grayscale values is transmitted to the first sub-pixel to drive the first sub-pixel to display, and output G sub-grayscale value of the output RGBW grayscale values is transmitted to the second sub-pixel to drive the second sub-pixel to display, an output B sub-grayscale value of the output RGBW grayscale values is transmitted to the third sub-pixel to drive the third sub-pixel to display, and an output W sub-grayscale value of the output RGBW grayscale values is transmitted to the fourth sub-pixel to drive the fourth sub-pixel to display.
For example, the data acquisition module 111 is configured to acquire input RGB grayscale values. The grayscale conversion module 112 is configured for: based on the input RGB grayscale values, calculating a chromaticity coordinate of the input RGB grayscale values on a chromaticity diagram, in which the chromaticity diagram comprises a white basic point; calculating to obtain intermediate grayscale values containing a white component, based on the input RGB grayscale values and according to a position relationship between the chromaticity coordinate and the white basic point; and adjusting the intermediate grayscale values to obtain output RGBW grayscale values. The output module 113 is configured for transmitting the output RGBW grayscale values to a display pixel to drive the display pixel to display.
For example, the chromaticity diagram further comprises a red basic point, a green basic point and a blue basic point. The position relationship between the chromaticity coordinate and the white basic point is determined according to the red basic point, the green basic point, the blue basic point, the white basic point and the chromaticity coordinate.
For example, the data acquisition module 111 can perform the step S41 in the embodiment of the above-mentioned image display driving method. The grayscale conversion module 112 can perform the step S42 in the embodiment of the above-mentioned image display driving method. The output module 113 can perform the step S43 in the embodiment of the above-mentioned image display driving method. The repetition is not repeated herein.
It should be noted that, in some embodiments of the present disclosure, the data acquisition module 111, the grayscale conversion module 112 and the output module 113 may comprise hardware devices to implement some or all of the functions of the data acquisition module 111, the grayscale conversion module 112 and the output module 113 as described above. Or, the data acquisition module 111, the grayscale conversion module 112 and the output module 113 may also comprise software modules to achieve some or all of the functions of the data acquisition module 111, the grayscale conversion module 112 and the output module 113 described above. For example, the data acquisition module 111, the grayscale conversion module 112 and the output module 113 may be integrated on a circuit board or integrated on a combination of a plurality of circuit boards to achieve the functions described above. In the embodiment of the present disclosure, the circuit board or the combination of the plurality of circuit boards may comprise: (1) a processor, or a plurality of processors; (2) a non-temporary computer-readable memory connected to the processor, or a plurality of non-temporary computer-readable memories connected to the processors respectively; and (3) a firmware stored in the memory and executable by the processor.
For example, the processor 115 may be a central processing unit (CPU), a graphics processing unit (GPU), a tensor processing unit (TPU), or other forms of processing units having data processing capabilities and/or program execution capabilities, and can control other components in the data processing device 110 to perform desired functions.
For example, the storage 114 may be implemented by a computer-readable storage medium, and the storage 114 comprises one or more computer program products, and the one or more computer program products comprise various forms of computer-readable storage media, such as a volatile memory and/or a non-volatile memory. The volatile memory comprises, for example, a random access memory (RAM) and/or a high-speed buffer memory (cache). The nonvolatile memory comprises, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more non-temporary computer-readable instructions can be stored on the computer-readable storage medium, and the processor 115 can execute the non-temporary computer-readable instructions to achieve various functions of the data processing device 110. The storage 114 can also be used for storing data needed or generated in the process of executing the computer-readable instruction.
For example, detailed descriptions of the process of data processing by the data processing device 110 can refer to the relevant descriptions in the embodiments of the data processing method, and the repeated descriptions are not repeated herein.
For example, the display panel 100 may be a liquid crystal display panel or an organic light-emitting diode (OLED) display panel, etc.
For example, the display panel 100 may further comprise a time controller (T-con), a gate driver, a data driver, etc. The time controller, the gate driver and the data driver can be manufactured directly on the display panel 100 by an application specific integrated circuit (ASIC) chip or be manufactured by a semiconductor manufacturing process. For example, the data processing device 110 may be integrated into the time controller or into the data driver.
For example, in some examples, the display panel 100 may be applied to any products or components having display functions, such as a mobile phone, a tablet computer, a television, a display, a notebook computer, a digital photo frame, a navigator, etc.
At least one embodiment of the present disclosure further provides a computer-readable storage medium. For example, the computer-readable storage medium is used for storing a non-temporary computer-readable instruction. For example, in a case where the non-temporary computer-readable instruction is executed by a computer, one or more steps of the data processing method in any one of the embodiments described above can be performed.
For example, the computer readable storage medium may be applied to the data processing device described above, for example, the computer readable storage medium may be the storage 114 of the data processing device in the embodiment shown in
For example, in some embodiments, in a case where the non-temporary computer-readable instruction is executed by the computer, one or more steps of the image display driving method in any one of the embodiments described above can also be performed.
For the present disclosure, the following points required to be explained:
(1) the drawings of the embodiments of the present disclosure are only related to the structures mentioned in the embodiments of the present disclosure, and other structures can be further obtained by general designs;
(2) the embodiments of the present disclosure and the features therein can be combined with each other to obtain new embodiments in the absence of conflicts.
What are described above is related to only the illustrative embodiments of the present disclosure and not limitative to the protection scope of the present application. The protection scope of the present application shall be defined by the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
2018 1 0813985 | Jul 2018 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20020122019 | Baba | Sep 2002 | A1 |
20030011613 | Booth, Jr. | Jan 2003 | A1 |
20050225561 | Higgins | Oct 2005 | A1 |
20070139437 | Boroson | Jun 2007 | A1 |
20150154762 | Yang et al. | Jun 2015 | A1 |
20170256190 | Jin | Sep 2017 | A1 |
20200143732 | Xi et al. | May 2020 | A1 |
Number | Date | Country |
---|---|---|
101860762 | Oct 2010 | CN |
103218988 | Jul 2013 | CN |
105118413 | Dec 2015 | CN |
107945729 | Apr 2018 | CN |
2006-163425 | Jun 2006 | JP |
Entry |
---|
Chinese Office Action in Chinese Application No. 201810813985.8, dated Jul. 3, 2020 with English translation. |
Number | Date | Country | |
---|---|---|---|
20200027421 A1 | Jan 2020 | US |