Display device
09799303 · 2017-10-24
Inventors
Cpc classification
G09G2300/0452
PHYSICS
International classification
G09G3/20
PHYSICS
Abstract
An object of the invention is to convert input RGB data to R′G′B′W data without suffering loss of gradations of the input RGB data. A display panel 12 is configured having unit pixels made up of subpixels of RGBW (red, green, blue, white). In an RGB.fwdarw.R′G′B′W conversion section 10, conversion is carried out under conditions that usage rate of W is less than 100%, and a bit width of input RGB data us larger than a bit width of R′G′B′W data after conversion. In the RGB.fwdarw.R′G′B′W conversion section 10, R1G1B1values and W values are determined so that an absolute value of a sum of values obtained by multiplying differences between respective RGB data input and respective RGB components in R′G′B′W data after conversion by a weight, becomes minimum.
Claims
1. A display device having unit pixels made up of RGBW (red, green, blue, white) subpixels and a usage rate of W set to less than 100%, in which a bit width (t bits) of each color of input RGB data is greater than a bit width (u bits) of each component of R′G′B′W data supplied to a display panel after conversion, wherein R′G′B′ values and W values are determined such that differences between respective input RGB data and respective RGB components within converted R′G′B′W data, or an absolute value of a sum of values resulting from multiplication of these differences by a weight, become minimum.
2. The display device of claim 1, wherein W data is selected from within a range of values greater than or equal to W.sub.0−[n/2] and less than or equal to W.sub.0+[n/2], wherein W.sub.0 is a value obtained by rounding off a minimum value within the three colors of input RGB data to u bits, m/n is a representation of a target value for W usage rate, wherein m and n are relatively prime positive integers and m is less than n, and [n/2] is a representation of a value obtained by truncating n/2 after the decimal point.
3. The display device of claim 2, wherein n is used such that n=2.sup.(t-u).
4. A display device having unit pixels made up of RGBW (red, green, blue, white) subpixels and a usage rate of W set to less than 100%, in which a bit width (t bits) of each color of input RGB data is greater than a bit width (u bits) of each component of R′G′B′W data supplied to a display panel after conversion, wherein R′G′B′ values and W values are determined such that color differences respectively calculated from input RGB data and respective RGB components within converted R′G′B′W data become minimum.
5. The display device of claim 4, wherein W data is selected from within a range of values greater than or equal to W.sub.0−[n/2] and less than or equal to W.sub.0+[n/2], wherein W.sub.0 is a value obtained by rounding off a minimum value within the three colors of input RGB data to u bits, m/n is a representation of a target value for W usage rate, wherein m and n are relatively prime positive integers and m is less than n, and [n/2] is a representation of a value obtained by truncating n/2 after the decimal point.
6. The display device of claim 5, wherein n is used such that n=2.sup.(t-u).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(14) Embodiments of the present invention will be described in the following.
(15) Description of Conversion Content
(16) With t≧u, input RGB are made t bits for respective colors, and R′G′B′W are made u bits for respective colors. Also, with the upper u bits of input RGB an integer part and lower (t−u) bits a decimal fraction part, R′G′B′W after conversion can be considered as an integer. If light amount is proportional to input data, a theoretical light amount of each color is represented as:
L.sub.r1=k.sub.rR expression 8
L.sub.g1=k.sub.gG expression 9
L.sub.b1=k.sub.bB expression 10
Here, k.sub.r, k.sub.g and k.sub.b are proportional constants.
(17) Also, a light emission amount after conversion, when a usage rate M of W is m/n (where m and n are positive integers, and m≦n), becomes:
L.sub.r2=k.sub.rR′+k.sub.r(m/n)W expression 11
L.sub.g2=k.sub.gG′+k.sub.g(m/n)W expression 12
L.sub.b2=k.sub.bB′+k.sub.b(m/n)W expression 13
(18) If the bit widths are the same, and the maximum number of gradations are the same, for R′, G′ and B′ and W, a coefficient of W becomes m/n times the coefficient of R′, G′, and B′, and so it will be understood that a light emission amount corresponding to one gradation of W becomes m/n times the light emission amount for that gradation of R′, G′, B′.
(19) Here, if W′ is an integer, and p is an integer where 0≦p<n, then (m/n)W is expressed in the form (m/n)W=W′+p/n,
(20) and expressions 11 to 13 can be rewritten as:
L.sub.r2=k.sub.r(R′+W′+p/n) expression 14
L.sub.g2=k.sub.g(G′+W′+p/n) expression 15
L.sub.b2=k.sub.b(B′+W′+p/n) expression 16
(21) Since a number of bits of R′G′B′W is less than the number of bits of input RGB, there is a possibility of an error arising at the time of conversion, and errors ΔLr, ΔLg and ΔLb in light emission amount for each color become:
ΔL.sub.r=L.sub.r1−L.sub.r2=k.sub.r(R−(R′+W′+p/n)) expression 17
ΔL.sub.g=L.sub.g1−L.sub.g2=k.sub.g(G−(G′+W′+p/n)) expression 18
ΔL.sub.b=L.sub.b1−L.sub.b2=k.sub.b(B−(B′+W′+p/n)) expression 19
(22) Here values of R′, G′, B′ are selected so that integer components of ΔL.sub.r/k.sub.r, ΔL.sub.g/k.sub.g, and ΔL.sub.b/k.sub.b become zero, and so ΔL.sub.r/k.sub.r, ΔL.sub.g/k.sub.g, and ΔL.sub.b/k.sub.b become values less than 1. Also, p differs with the value of W, and there candidates for n of 0, 1/n, 2/n, . . . (n−1). Accordingly, errors ΔL.sub.r, ΔL.sub.g and ΔL.sub.b also have respective n progressions, which means that if W is selected so as to get a minimum from these, it is possible to minimize the error. Values of p/n for the candidates of n all exist in a range from an arbitrary W to W+N−1, and values of W are are the same values when incremented by a (a positive integer less than n) and when reduced (n−a).
(23) For a real number x, a maximum integer that does not exceed x is expressed as [x], and ordinarily, a value of W is obtained using:
W.sub.0=[min(R,G,B)] expression 20
(24) For the above mentioned W.sub.0, values of W that make errors minimum in a range of greater than or equal to W.sub.0−[n/2], and less than or equal to W.sub.0+[n/2], definitely exist, which means that when the usage rate of W is comes as close as possible to m/n it is possible to select W to make errors minimum in that range. However, it is necessary for (m/n)W to satisfy
0≦(m/n)W≦min(R,G,B)
(25) The structure of embodiments of the present invention will be described in the following based on the drawings.
Embodiment 1
(26)
(27) If input RGB is an integer section of 4 bits and a decimal fraction section of 2 bits, and each color made R=9.75, F=11.75, B=7.75,
(m/n)W.sub.0=(m/n)[min(9.75,11.75,7.75)]=(¾)×[7.75]=(¾)×7=5.25
(28) Here, if R′, G′, B′ are obtained using the obtained (m/n) W.sub.0, then:
R′=[R−(m/n)W.sub.0+0.5]=[9.75−5.25+0.5]=[5.0]=5
G′=[G−(m/n)W.sub.0+0.5]=[11.75−5.25+0.5]=[7.0]=7
B′=[B−(m/n)W.sub.0+0.5]=[7.75−5.25+0.5]=[3.0]=3
Here, respectively adding 0.5 at the end is to round up the fraction.
(29) If RGB components r, g, b at this time are obtained, then
r=R′+(m/n)W.sub.0=5+5.25=10.25
g=G′+(m/n)W.sub.0=7+5.25=12.25
b=B′+(m/n)W.sub.0=3+5.25=8.25
becoming values that are offset from input RGB by 0.5 for each color.
(30) Every time 1 is either added to or subtracted from the value of W.sub.0, the value of each color is increased or decreased by m/n=¾=0.75, and so it will be understood that if 2 is added to or taken away from W.sub.0 an error will be removed. In this case, if R′, G′ B′ are calculated with a new value of W then in the case of W=9,
R′=[R−(m/n)W+0.5]=[9.75−6.75+0.5]=[3.5]=3
G′=[G−(m/n)W+0.5]=[11.75−6.75+0.5]=[5.5]=5
B′=[B−(m/n)W+0.5]=[7.75−6.75+0.5]=[1.5]=1
and in the case of W=5,
R′=[R−(m/n)W+0.5]=[9.75−3.75+0.5]=[6.5]=6
G′=[G−(m/n)W+0.5]=[11.75−3.75+0.5]=[8.5]=8
B′=[B−(m/n)W+0.5]=[7.75−3.75+0.5]=[4.5]=4
(31) For both situations, errors between the input RGB and the RGB components after conversion become
R−(R′+(m/n)W)=0
G−(G′+(m/n)W)=0
B−(B′+(m/n)W)=0
(32) The fractional part of RGB is expressed as q(½).sup.(t-u), where q is an integer satisfying 0<q<q.sup.(t-u). Accordingly, when n is equal to 2.sup.(t-u), a value of p exists where p/n=q(½).sup.(t-u), that is, where p=q, and by appropriately selecting W it is possible to make an error 0.
(33) With this embodiment, the above conditions are satisfied with (t−u)=2, and since the fractional part is the same for all three colors it is possible to make errors for all three colors 0. In other words, it is possible to find values of W that can express input gradations directly. As a particular example, in the case where a monochrome image with equal RGB values is input, it is always possible to carry out display corresponding to the input RGB gradations.
Embodiment 2
(34) Similarly to embodiment 1, 4 bit R′G′B′W values for each color are obtained from RGB input signals of 6 bits for each color, but the usage efficiency M of W is made M=⅗.
(35)
(m/n)W.sub.0=(m/n)[min(0.75,11.75,7.75)]=(⅗)×[7.75]=(⅗)×7=4.2.
(36) Here, if R′, G′, B′ are obtained using the obtained (m/n) W.sub.0, then:
R′=[R−(m/n)W.sub.0+0.5]=[9.75−4.20+0.5]=[6.05]=6
G′=[G−(m/n)W.sub.0+0.5]=[11.75−4.20+0.5]=[8.50]=8
B′=[B−(m/n)W.sub.0+0.5]=[7.75−4.20+0.5]=[4.05]=4
(37) If RGB components r, g, b at this time are obtained, then
r=R′+(m/n)W.sub.0=6+4.20=10.20
g=G′+(m/n)W.sub.0=8+4.20=12.2
b=B′+(m/n)W.sub.0=4+4.20=8.2
(38) Here, if differences between input RGB and values of RGB components after conversion are obtained,
R−r=9.75−10.20=−0.45
G−g=11.75−12.20=−0.45
B−b=7.75−8.20=−0.45
(39) p/n obtained by changing the value of W is any one of 0, 0.2, 0.4, 0.6 and 0.8, and the closest to 0.75 is 0.8
(40) If 1 is added to the value of W.sub.0, then (m/n)W=(m/n)×8=0.6×8=4.8, and it will be understood that a value making errors minimum close to W=7 is W=8, where 1 has been added to W.sub.0.
(41) If R′, G′, B′ are calculated with this value of W, then
R′=[R−(m/n)W+0.5]=[9.75−4.80+0.5]=[5.45]=5
G′=[G−(m/n)W+0.5]=[11.75−4.80+0.5]=[7.45]=7
B′=[B−(m/n)W+0.5]=[7.75−4.8+0.5]=[3.45]=3
(42) RGB components rgb become
R=R′+(m/n)W=5+4.80=9.80
g=G′+(m/n)W=7+4.80=11.80
b=B′+(m/n)W=3+4.80=7.80
and errors from input RGB become
R−r=9.75−9.80=−0.05
G−g=11.75−11.80=−0.05
B−b=7.75−7.80=−0.05
(43)
(44) With the above described embodiment, the usage rate of the finally determined W value is off slightly from the target value m/n, but this is due to the fact that the bit width of R′G′B′W is small at 4 bits. Also, when n is made large, the effect on the usage rate of W becomes large.
(45) With the above described embodiment, fractional parts of input RGB are all the same, which means that the optimum value of W is the same for any color. In the event that fractional parts are different for each color, it is preferable to change a method of selecting a value of the fractional parts as follows, such as in the following (1) and (2).
(46) (1) With this example, R′G′B′ values and W values are determined so that an absolute value of a sum of differences between respective RGB data input and respective RGB components in R′G′B′W data after conversion becomes minimum.
(47) As an example, with a difference in bit widths between input RGB and R′G′B′W input of 2 bits, input of R=9.75, G=11.25 and B=7.00 will be considered. When usage rate M of W=⅗,
(m/n)W.sub.0=(m/n)[min(9.75,11.25,7.00)]=(⅗)×[7.00]=(⅗)×7=4.20.
(48) Here, if R′, G′, B′ are obtained using the obtained (m/n) W.sub.0, then:
R′=[R−(m/n)W.sub.0+0.5]=[9.75−4.20+0.5=[6.05]=6
G′=[G−(m/n)W.sub.0+0.5]=[11.25−4.20+0.5=[7.55]=7
B′=[B−(m/n)W.sub.0+0.5]=[7.00−4.20+0.5=[3.3]=3
(49) If RGB components r, g, b at this time are obtained, then
r=R′+(m/n)W.sub.0=6+4.20=10.20
g=G′+(m/n)W.sub.0=7+4.20=11.20
b=B′+(m/n)W.sub.0=3+4.20=7.2
(50) Here, if differences between input RGB and values of RGB components after conversion are obtained,
R−r=9.75−10.20=−0.45
G−g=11.25−11.20=0.05
B−b=7.00−7.20=−0.20
(51) An absolute value of a sum of differences between respectively input RGB and RGB components after conversion becomes:
|(R−r)+(G−g)+(B−b)|=|(9.75−10.2)+(11.25−11.20)+(7.00−7.20)|=0.6
(52) Similarly, if absolute values of a sum of differences are obtained with W set to (W.sub.0−2), (W.sub.0−1), (W.sub.0+1) and (W.sub.0+2), then
|(9.75−10.00)+(11.25−11.00)+(7.00−7.00)|=0.00
|(9.75−9.60)+(11.25−11.60)+(7.00−6.60)|=0.20
|(9.75−9.80)+(11.25−10.80)+(7.00−6.80)|=0.62
|(9.75−9.40)+(11.25−11.40)+(7.00−7.40)|=0.20
are respectively obtained, and among them a value of W that constitutes a minimum value 0.00 becomes (W.sub.0−2)=5.
(53) It is also possible to multiply the respective differences by a weight. For instance, brightness components make a large contribution to the visible gradation characteristics, but the size of a brightness component differs for each color. Accordingly, is preferable to multiply the brightness component of each color by an appropriate weight. If weights for each color of RGB are respectively made 0.3, 0.6 and 0.1,
|0.3(9.75−10.20)+0.6(11.25−11.20)+0.1(7.00−7.20)|=0.125
|0.3(9.75−10.00)+0.6(11.25−11.00)+0.1(7.00−7.20)|=0.075
|0.3(9.75−9.60)+0.6(11.25−11.60)+0.1(7.00−6.60)|=0.125
|0.3(9.75−9.80)+0.6(11.25−10.80)+0.1(7.00−6.80)|=0.275
|0.3(9.75−9.40)+0.6(11.25−11.40)+0.1(7.00−7.40)|=0.025
are respectively obtained, and among them a value of W that constitutes a minimum value 0.025 becomes (W.sub.0+2)=9.
(54)
(55) W is subjected to multiple category determination based on minimum values of input RGB. At this time, W is determined by adding integers in a range of −[n/2] to +[n/2] to a value W.sub.0 that is obtained by rounding minimum values min(R, G, B) of input RGB to a specified number of bits (S31). Here, [n/2] is a value obtained by truncating after the decimal point. Also, a value obtained by truncating a minimum value among the three colors of input RGB data and rounding to a number of bits supplied to the panel is made W.sub.0=[min(R, G, B)], being a fundamental value of W, but when rounding to a number of bits supplied to the panel it is also possible to do so by rounding off or rounding up after the decimal point.
(56) Next, (m/n)W is added to the obtained R′, G′, B′, and r, g, b in RGB components at that time are obtained (S32). Next, based on the obtained r, g, b corresponding to each W, a total of absolute values of errors from original RGB are calculated (S34). With this example, the total of errors is calculated by weighted addition. A value for W is then determined by selecting the minimum from among the obtained absolute values for errors (S35).
(57) (2) With the example of
(58) With both systems, with the color coordinate system recommended by CIE in 1976, a fixed distance within the coordinate system is determined so that in any region there are errors at an almost perceptually uniform rate. Accordingly, L*u*v* or L*a*b* before and after conversion are obtained, and a value of a fractional part is selected such that color differences defined by the respective expressions below become minimum.
ΔEuv=((ΔL*).sup.2+(Δu*).sup.2+(Δv*).sup.2).sup.1/2 expression 21
(59) Here, ΔL*, Δu* and Δv* are respective differences between L*, u* and v* before and after conversion.
ΔEab=((ΔL*).sup.2+(Δa*).sup.2+(Δb*).sup.2).sup.1/2 expression 22
(60) Here, ΔL*, Δa* and Δb* are respective difference in L*, a* and b* before and after conversion.
(61) Also, for simplicity, it is possible to calculate only ΔL*, and select a value of W so that this is made minimum.
(62)
(63) In this way, according to this embodiment, when converting from RGB data to R′G′B′W data it is possible to achieve optimum conversion.
(64) The overall structure of a display device of this embodiment is shown in