Summary of the invention
The present invention relates to a kind of color signal switching control circuit and method and flat-panel screens thereof; Through easy control circuit and method; Convert tricolor signal into many primary signals, and the white chroma point of many primary signals is maintained the white chroma point of tricolor signal.Following three primary colors are the example explanation with redness, green and blueness, but it is not in order to limit the present invention.
According to a first aspect of the invention, propose a kind of color signal switching control circuit, comprising:
Receiving element receives tricolor signal, and said tricolor signal comprises the first color GTG value R, the second color GTG value G and the 3rd color GTG value B;
Processing unit is according to composition r
R: r
G: r
B, adopt formula R '=R/r
R, G '=G/r
GAnd B '=B/r
BRespectively according to the said first color GTG value of composition normalization, the said second color GTG value and said the 3rd color GTG value; Wherein, R ', G ', B ' represent the first color GTG value, the second color GTG value and the 3rd color GTG value after the normalization respectively; And then according to the said first color GTG value, the said second color GTG value and said the 3rd color GTG value after the yield value Gr amplification normalization, and said yield value Gr is said r
R: r
G: r
BThe maximum of middle composition;
First comparing unit; The said first color GTG value, the said second color GTG value and said the 3rd color GTG value after handling are got the basis amount of minimum value as the target primary colors; Wherein, said target primary colors is mixed with said composition by first color, second color and the 3rd color and gets;
First adjustment unit is adjusted the basis of said target primary colors and is measured to obtain target primary colors GTG value according to first parameter preset, said first parameter preset is between 0~1; And
Output unit is exported many primary signals, and said many primary signals comprise the said first color GTG value, the said second color GTG value, said the 3rd color GTG value and said target primary colors GTG value.
According to a second aspect of the invention, propose a kind of flat-panel screens, comprising:
Panel comprises a plurality of pixels;
Color signal switching control circuit comprises:
Receiving element receives tricolor signal, and said tricolor signal comprises the first color GTG value R, the second color GTG value G and the 3rd color GTG value B;
Processing unit is according to composition r
R: r
G: r
B, adopt formula R '=R/r
R, G '=G/r
GAnd B '=B/r
BThe respectively regular said first color GTG value, the said second color GTG value and said the 3rd color GTG value; Wherein, R ', G ', B ' represent the first color GTG value, the second color GTG value and the 3rd color GTG value after the normalization respectively; Amplify the said first color GTG value, the said second color GTG value and said the 3rd color GTG value after the normalization according to a yield value Gr then, and said yield value Gr is said r
R: r
G: r
BIn maximum;
First comparing unit; The said first color GTG value, the said second color GTG value and said the 3rd color GTG value after handling are got the basis amount of minimum value as the target primary colors; Wherein, said target primary colors is mixed with said composition by first color, second color and the 3rd color and gets;
First adjustment unit is adjusted the basis of said target primary colors and is measured to obtain target primary colors GTG value according to first parameter preset, said first parameter preset is between 0~1; And
Output unit is exported many primary signals, and said many primary signals comprise the said first color GTG value, the said second color GTG value, said the 3rd color GTG value and said target primary colors GTG value; And
Data driver drives more said pixel according to said many primary signals.
According to a third aspect of the invention we, propose a kind of color signal conversion method, comprising:
(a) select target primary colors, said target primary colors by first color, second color and the 3rd color with composition r
R: r
G: r
BMix and get;
(b) receive tricolor signal, said tricolor signal comprises the first color GTG value R, the second color GTG value G and the 3rd color GTG value B;
(c) according to composition r
R: r
G: r
B, adopt formula R '=R/r
R, G '=G/r
GAnd B '=B/r
BThe respectively regular said first color GTG value, the said second color GTG value and said the 3rd color GTG value, wherein, R ', G ', B ' represent the first color GTG value, the second color GTG value and the 3rd color GTG value after the normalization respectively;
(d), get the basis amount of minimum value then, and said yield value Gr is said r as the target primary colors according to the said first color GTG value, the said second color GTG value and said the 3rd color GTG value after the yield value Gr amplification normalization
R: r
G: r
BIn maximum;
(e) the basis amount of adjusting said target primary colors according to first parameter preset is to obtain target primary colors GTG value, and said first parameter preset is between 0~1; And
(f) export many primary signals, said many primary signals comprise the said first color GTG value, the said second color GTG value, said the 3rd color GTG value and said target primary colors GTG value.
In order to let the foregoing of the present invention can be more obviously understandable, following spy have enumerated a preferred embodiment, and combines accompanying drawing that it is specified.
Embodiment
The invention provides a kind of color signal switching control circuit and method and flat-panel screens thereof; By means of easy control circuit and method; Convert tricolor signal into many primary signals, and the white chroma point of many primary signals is maintained the white chroma point of tricolor signal.
With reference to Fig. 1, it shows the sketch map according to the flat-panel screens of the preferred embodiment of the present invention.In Fig. 1, flat-panel screens 100 comprises panel 110, color signal switching control circuit 120 and data driver 160.Panel 110 comprises a plurality of pixel (not shown)s.Color signal switching control circuit 120 receives tricolor signal (RGB signals) 3PC, and tricolor signal 3PC comprises red GTG value, green GTG value and blue GTG value.Color signal switching control circuit 120 converts tricolor signal 3PC into many primary signals MPC, exports many primary signals MPC to data driver 160 then.Many primary signals MPC comprises red GTG value, green GTG value, blue GTG value and target primary colors GTG value.Wherein, the target primary colors is mixed with certain composition by red, green and blueness and gets.Data driver 160 drives a plurality of pixels of panel 110 according to many primary signals MPC.
With reference to Fig. 2, it shows the block diagram according to the color signal switching control circuit 120 of the preferred embodiment of the present invention.Color signal switching control circuit 120 comprises receiving element 122, processing unit 124, first comparing unit 126, first adjustment unit 128, output unit 130, second comparing unit 132 and second adjustment unit 134.Receiving element 122 receives tricolor signal 3PC.Processing unit 124 is according to the pairing composition of target primary colors; Red GTG value, green GTG value and the blue GTG value of normalization tricolor signal 3PC, and according to red GTG value, green GTG value and blue GTG value after the yield value amplification normalization.Wherein, yield value is the maximum of composition.
Red GTG value after 126 pairs of processing of first comparing unit, green GTG value and blue GTG value are got the basis amount Xp of minimum value as the target primary colors.First adjustment unit 128 is measured Xp to obtain target primary colors GTG value according to the basis of first parameter preset adjustment target primary colors, and first parameter preset is between 0~1.Output unit 130 many primary signals of output MPC, many primary signals MPC comprises red GTG value, green GTG value, blue GTG value and target primary colors GTG value.
In addition, second comparing unit 132 is in order to the minimum value in the red GTG value that obtains tricolor signal 3PC, green GTG value and the blue GTG value.Second adjustment unit 134 obtains the colour temperature adjustment amount with minimum value divided by a white GTG value; And according to second parameter preset and colour temperature adjustment amount; First adjustment unit, 128 resulting target primary colors GTG values are adjusted; Make that the white chroma point of many primary signals MPC that output unit 130 is exported is identical with the white chroma point of tricolor signal 3PC, second parameter preset is between 0~1.
With reference to Fig. 3, it shows the circuit diagram according to an instance of the color signal switching control circuit 120 of the preferred embodiment of the present invention.In Fig. 3, all delay flip-flops all are used as buffer.Color signal switching control circuit 120 is in order to convert tricolor signal 3PC into many primary signals MPC; Tricolor signal 3PC comprises red GTG value R, green GTG value G and blue GTG value B, and many primary signals MPC comprises red GTG value R, green GTG value G, blue GTG value B and target primary colors GTG value X.Wherein, the target primary colors is red, green and blue with certain composition (r
R: r
G: r
B) mix and get.
Receiving element 122 receives tricolor signal 3PC, and the red GTG value R among the temporary tricolor signal 3PC, green GTG value G and blue GTG value B.Processing unit 124 comprises buffer 146 and multiplier 148,150 and 152 in fact.Buffer 146 temporary one group of numerical value (Gr/r
R, Gr/r
G, Gr/r
B), wherein yield value Gr is composition (r
R: r
G: r
B) in maximum.Processing unit 124 is by means of buffer 146 and multiplier 148,150 and 152; Red GTG value R, green GTG value G and blue GTG value B among the normalization tricolor signal 3PC, and according to red GTG value R, green GTG value G and blue GTG value B after the yield value Gr amplification normalization.
(R * Gr/r that first comparing unit 126 is exported processing unit 124
R, G * Gr/r
G, B * Gr/r
B) minimum value as the basis of target primary colors amount Xp.First adjustment unit 128 comprises that first multiplier, 136, the first multipliers 136 are multiplied by the first parameter preset K1 to obtain the first target primary colors GTG value X1 in order to the basis amount Xp with the target primary colors.The first parameter preset K1 is between 0~1, in order to the weight of adjustment target primary colors in many primary signals MPC.Thus, utilize above-mentioned ball bearing made using, can obtain the first target primary colors GTG value X1 by the red GTG value R among the tricolor signal 3PC, green GTG value G and blue GTG value B.Output unit 130 many primary signals of output MPC, many primary signals MPC comprises red GTG value R, green GTG value G, blue GTG value B and the first target primary colors GTG value X1.
In addition; Second comparing unit 132 in the color signal switching control circuit 120 is in order to obtain the minimum value m among red GTG value R among the tricolor signal 3PC, green GTG value G and the blue GTG value B, and this minimum value m is essentially the white composition of many primary signals MPC.Second adjustment unit 134 comprises second multiplier 138, the 3rd multiplier 140, complement arithmetic element 142 and the 4th multiplier 144.Second multiplier 138 is multiplied by the inverse of white GTG value 255 with minimum value m, and obtains the colour temperature adjustment amount.The 3rd multiplier 140 multiplies each other the colour temperature adjustment amount and the second parameter preset K2, and the second parameter preset K2 is between 0~1.The second parameter preset K2 is in fact in order to adjust the white chroma point of many primary signals MPC.
Complement arithmetic element 142 is calculated the complement Xc of the product of the second parameter preset K2 and colour temperature adjustment amount.144 of the 4th multipliers are in order to adjusting the first target primary colors GTG value X1 that first adjustment unit 128 is exported according to complement arithmetic element 142 resulting complement Xc, and obtain the second target primary colors GTG value X2.Afterwards, output unit 130 many primary signals of output MPC, many primary signals MPC comprises red GTG value R, green GTG value G, blue GTG value B and the second target primary colors GTG value X2.At this moment, because the adjustment of second adjustment unit 134, the white chroma point of many primary signals MPC can be identical with the white chroma point of tricolor signal 3PC.
Color signal switching control circuit 120 converts tricolor signal 3PC into many primary signals MPC according to formula in fact.Wherein, the first parameter preset K1 and the second parameter preset K2 are all between 0~1.
X2=X1 * (1-K2 * min (R, G, B)/255) formula (1)
X1=K1 * Xp formula (2)
Xp=min (R * Gr/r
R, G * Gr/r
G, B * Gr/r
B) formula (3)
Note, if composition r here
RBe zero, Gr/r then
RBe infinity.With the target primary colors is yellow, and tricolor signal (R, G B)=(128,96,0) describe for example.Wherein, composition (r
R: r
G: r
B) be (1: 1: 0), because yield value is composition (r
R: r
G: r
B) in maximum, so yield value Gr is 1.In addition, the first parameter preset K1 and the second parameter preset K2 all are set at 1.The basis amount Xp that can be obtained the target primary colors by formula (3) is 96, and can obtain the first target primary colors GTG value X1 by formula (2) is 96, and can obtain the second target primary colors GTG value X2 by formula (1) is 96.Therefore, many primary signals of output unit 130 output MPC be (R, G, B, X2)=(128,96,0,96).
The invention allows for a kind of color signal conversion method, in order to tricolor signal is converted into many primary signals.With reference to Fig. 4, it shows the flow chart according to the color signal conversion method of the preferred embodiment of the present invention.At first, in step 410, the select target primary colors, this target primary colors is mixed with certain composition by red, green and blueness and gets.Then, in step 420, receive tricolor signal, it comprises red GTG value, green GTG value and blue GTG value.Then, in step 430, according to red GTG value, green GTG value and the blue GTG value of composition normalization tricolor signal.Come again,,, get the basis amount of minimum value then as the target primary colors according to red GTG value, green GTG value and the blue GTG value after the yield value amplification normalization in step 440.
Then, in step 450, measure to obtain target primary colors GTG value according to the basis of first parameter preset adjustment target primary colors.First parameter preset is between 0~1.Then, in step 460, get the minimum value in red GTG value, green GTG value and the blue GTG value, and minimum value is obtained the colour temperature adjustment amount divided by white GTG value.Come, in step 470, according to second parameter preset and colour temperature adjustment amount, adjustment target primary colors GTG value makes that the white chroma point of many primary signals is identical with the white chroma point of tricolor signal again.Second parameter preset is between 0~1.Afterwards, in step 480, export many primary signals, these many primary signals comprise red GTG value, green GTG value, blue GTG value and target primary colors GTG value.
With reference to Fig. 5, it shows the sketch map according to the white chroma point adjustment of the preferred embodiment of the present invention.In Fig. 5, the white chroma point of tricolor signal is positioned at an A.And behind the many primary signals that obtain via the color signal conversion method, its white chroma point can depart from slightly and be positioned at a B.But via the adjustment of second parameter preset, can be so that the white chroma point of many primary signals be adjusted back some A by a B.Thus, the white chroma point of the many primary signals after the conversion can be identical with the white chroma point of changing preceding tricolor signal, therefore can not produce the problem of image distortion.In addition, second parameter preset also can be in order to finely tune the white chroma point of many primary signals, with the image that obtains to want.
The disclosed color signal switching control circuit of the above embodiment of the present invention and method of operation and flat-panel screens thereof utilize easy circuit to realize control circuit and color signal conversion method, compare with traditional complicated circuit, can reduce production costs.In addition,, can also make that the white chroma point of the many primary signals after changing can be identical with the white chroma point of changing preceding tricolor signal, solve the problem of image distortion, promote the display quality of flat-panel screens by means of the adjustment of second parameter preset.
In sum, though the above preferred embodiment that adopted discloses the present invention, it is not in order to limit the present invention.Those skilled in the art can carry out various changes and retouching under the situation that does not break away from the spirit and scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with subsidiary claim.