The disclosure generally relates to a compensating circuit and a compensating method, and more particularly to a compensating circuit and a compensating method for a pixel data of a display device.
Currently, a pixel of a display device (for example, a LED display device or an OLED display device) is driven by a pixel data and an emission driving signal. However, a plurality of brightness of sub-pixels of the pixel are different based on a same emission driving signal.
For example, please refer to
Thus, how to compensate pixel data to improve nonlinear the brightness of different color of the pixel is one of the research and development focuses of those skilled in the art.
The disclosure provides a compensating circuit and a compensating method for a pixel data of a display device. The compensating circuit and the compensating method can compensate pixel data to improve nonlinear the brightness of different color.
The compensating circuit of the disclosure includes a color calculator, a gain value generator and a calculating circuit. The color calculator generates a hue value according to a color of the pixel data. The gain value generator is coupled to the color calculator. The gain value generator generates a first gain value according to the color value and a duty cycle of an emission driving signal, and generates a second gain value according to the duty cycle and a gray value of the pixel data. The calculating circuit is coupled to the gain value generator. The calculating circuit calculates a compensated pixel data according to the pixel data, the first gain value and the second gain value.
The compensating method of the disclosure includes: generating a color value according to a color of the pixel data; generating a first gain value according to the color value and a duty cycle of an emission driving signal; generating a second gain value according to the duty cycle and a gray value of the pixel data; and calculating a compensated pixel data according to the pixel data, the first gain value and the second gain value.
Based on the above, the compensating circuit and the compensating method generate the first gain value according to the color value and the duty cycle of the emission driving signal, generate the second gain value according to the duty cycle and a gray value of the pixel data and calculate the compensated pixel data according to the pixel data, the first gain value and the second gain value. The pixel data is compensated based on the color value, the gray value and the duty cycle of the emission driving signal to be the compensated pixel data. Therefore, the compensating circuit and the compensating method can compensate pixel data to improve a linearity of the brightness of different color.
To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
A disclosure may be understood by reference to the following detailed description, taken in conjunction with the drawings as described below. It is noted that, for purposes of illustrative clarity and being easily understood by the readers, various drawings of this disclosure show a portion of an electronic device, and certain elements in various drawings may not be drawn to scale. In addition, the number and dimension of each device shown in drawings are only illustrative and are not intended to limit the scope of a disclosure.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will understand, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include”, “comprise” and “have” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Thus, when the terms “include”, “comprise” and/or “have” are used in the description of a disclosure, the corresponding features, areas, steps, operations and/or components would be pointed to existence, but not limited to the existence of one or a plurality of the corresponding features, areas, steps, operations and/or components.
It will be understood that when an element is referred to as being “coupled to”, “connected to”, or “conducted to” another element, it may be directly connected to the other element and established directly electrical connection, or intervening elements may be presented therebetween for relaying electrical connection (indirectly electrical connection). In contrast, when an element is referred to as being “directly coupled to”, “directly conducted to”, or “directly connected to” another element, there are no intervening elements presented.
Please refer to
In the embodiment, the calculating circuit 130 is coupled to the gain value generator 120. The calculating circuit 130 calculates a compensated pixel data SD′ according to the pixel data SD, the first gain value GV1 and the second gain value GV2.
It should be noted, the compensating circuit 100 generates the first gain value GV1 according to the color value HV and the duty cycle of the emission driving signal EM, generates the second gain value GV2 according to the duty cycle and the gray value of the pixel data SD, and calculates the compensated pixel data SD′ according to the pixel data SD, the first gain value GV1 and the second gain value GV2. The pixel data SD is compensated based on the color value HV, the gray value and the duty cycle of the emission driving signal EM to be the compensated pixel data SD′. Therefore, the compensating circuit 100 can compensate pixel data SD to improve a linearity of the brightness of different color.
For example, the color value HV may be a hue value. The color calculator 110 obtains a degree DGR of the color of the pixel data SD according to a color space. The color calculator 110 generates the color value HV e according to the degree DGR. For example, when the color is “red”, the degree DGR is 0°. Therefore, the color value HV is “0”. When the color is “yellow”, the degree DGR is 60°. Therefore, the color value HV is “60”. When the color is “green”, the degree DGR is 120°. Therefore, the color value HV is “120”. When the color is “blue”, the degree DGR is 240°. Therefore, the color value HV is “240”. When the color is “pink”, the degree DGR is 300°. Therefore, the color value HV is “300”.
Please refer to
In the embodiment, the first generating circuit 221 includes a first look-up table LUT1. The first look-up table LUT1 stores a plurality of first values corresponding different hue values of the pixel data SD and different duty cycles of the emission driving signal EM. The second generating circuit 222 includes a second look-up tables LUT2A, LUT2B, LUT2C corresponding to different colors. For example, the second look-up table LUT2A stores a plurality of second values corresponding different gray values of a red data of the pixel data SD and different duty cycles of the emission driving signal EM. The second look-up table LUT2B stores a plurality of second values corresponding different gray values of a green data of the pixel data SD and different duty cycles of the emission driving signal EM. The second look-up table LUT2C stores a plurality of second values corresponding different gray values of a blue data of the pixel data SD and different duty cycles of the emission driving signal EM.
Please refer to
Please refer to
In the embodiment, the calculating circuit 230 is coupled to the first generating circuit 221 and the second generating circuit 222. The calculating circuit 230 multiplies the pixel data SD, the first gain value GV1 and the second gain value GV2 to generate the compensated pixel data SD′. In the embodiment, the calculating circuit 230 multiplies a gray value of the pixel data SD, the first gain value GV1 and the second gain value GV2 to generate the compensated pixel data SD′. In some embodiments, the calculating circuit 230 may be implemented by a multiplier circuit, but the disclosure is not limited thereto.
For example, the color is “white”. The gray value of a red channel of the pixel data SD are “32”. The gray value of a green channel of the pixel data SD are “32”. The gray value of a blue channel of the pixel data SD are “32”. The duty cycle of the emission driving signal EM is 25%. A color value HV of the red channel is “0”. A color value HV of the green channel is “120”. A color value HV of the blue channel is “240”. The first generating circuit 221 generates first gain values corresponding the different channels. A first gain value GV1 of the red channel is “1.2”. A first gain value GV1 of the green channel is “1.2”. A first gain value GV1 of the blue channel is “1.2”. The second generating circuit 222 generates second gain values corresponding the different channels. A second gain value GV2 of the red channel is “1.2”. A second gain value GV2 of the green channel is “1.5”. A second gain value GV2 of the blue channel is “1.5”.
The calculating circuit 230 multiplies the gray value of the red channel of the pixel data SD, the first gain value GV1 of the red channel of the pixel data SD and the second gain value GV2 of the red channel of the pixel data SD to generate a gray value of a red channel of the compensated pixel data SD′. Therefore, the gray value of the red channel of the compensated pixel data SD′ is “48” (that is, “32”ד1.2”ד1.2”).
The calculating circuit 230 multiplies the gray value of the green channel of the pixel data SD, the first gain value GV1 of the green channel of the pixel data SD and the second gain value GV2 of the green channel of the pixel data SD to generate a gray value of a green channel of the compensated pixel data SD′. Therefore, the gray value of the green channel of the compensated pixel data SD′ is “58” (that is, “32”ד1.2”ד1.5”).
Besides, the calculating circuit 230 multiplies the gray value of the blue channel of the pixel data SD, the first gain value GV1 of the blue channel of the pixel data SD and the second gain value GV2 of the blue channel of the pixel data SD to generate a gray value of a blue channel of the compensated pixel data SD′. Therefore, the gray value of the blue channel of the compensated pixel data SD′ is “58” (that is, “32”ד1.2”ד1.5”).
Base on above, the pixel data SD having the gray value “32/32/32” is compensated to be the compensated pixel data SD′ having the gray value “48/58/58” when the duty cycle of the emission driving signal EM is 25%.
For example, the color is “green”. The gray value of a red channel of the pixel data SD are “0”. The gray value of a green channel of the pixel data SD are “32”. The gray value of a blue channel of the pixel data SD are “0”. The duty cycle of the emission driving signal EM is 25%. A color value HV of the red channel is “0”. A color value HV of the green channel is “120”. A color value HV of the blue channel is “240”. The first generating circuit 221 generates first gain values corresponding the different channels. A first gain value GV1 of the red channel is “1.5”. A first gain value GV1 of the green channel is “1.5”. A first gain value GV1 of the blue channel is “1.5”. The second generating circuit 222 generates second gain values corresponding the different channels. A second gain value GV2 of the red channel is “1.6”. A second gain value GV2 of the green channel is “1.5”. A second gain value GV2 of the blue channel is “1.6”.
The calculating circuit 230 multiplies the gray value of the red channel of the pixel data SD, the first gain value GV1 of the red channel of the pixel data SD and the second gain value GV2 of the red channel of the pixel data SD to generate a gray value of a red channel of the compensated pixel data SD′. Therefore, the gray value of the red channel of the compensated pixel data SD′ is “0” (that is, “0”ד1.5”ד1.6”).
The calculating circuit 230 multiplies the gray value of the green channel of the pixel data SD, the first gain value GV1 of the green channel of the pixel data SD and the second gain value GV2 of the green channel of the pixel data SD to generate a gray value of a green channel of the compensated pixel data SD′. Therefore, the gray value of the green channel of the compensated pixel data SD′ is “72” (that is, “32”ד1.5”ד1.5”).
Besides, the calculating circuit 230 multiplies the gray value of the blue channel of the pixel data SD, the first gain value GV1 of the blue channel of the pixel data SD and the second gain value GV2 of the blue channel of the pixel data SD to generate a gray value of a blue channel of the compensated pixel data SD′. Therefore, the gray value of the blue channel of the compensated pixel data SD′ is “0” (that is, “0”ד1.5”ד1.6”).
Base on above, the pixel data SD having the gray value “0/32/0” is compensated to be the compensated pixel data SD′ having the gray value “0/72/0” when the duty cycle of the emission driving signal EM is 25%.
Please refer to
Please refer to
In the embodiment, the correcting circuit 340 is coupled to the calculating circuit 130. The correcting circuit 340 corrects a color temperature of the compensated pixel data SD′ in response to a correcting command SC. The dither circuit 350 is coupled to the correcting circuit 340. The dither circuit 350 adjusts a resolution of the compensated pixel data SD′ by a dither operation in response to an adjusting command SA. In the embodiment, the correcting circuit 340 corrects the color temperature of the compensated pixel data SD′ to generate corrected pixel data SD1′. A resolution of the corrected pixel data SD1′ is equal to the resolution of the compensated pixel data SD′. The dither circuit 350 receives the corrected pixel data SD1′ and adjusts the resolution to generate adjusted pixel data SD2′.
Please refer to
In view of the foregoing, the compensating circuit and the compensating method generate the first gain value according to the hue value and the duty cycle of the emission driving signal, generate the second gain value according to the duty cycle and a gray value of the pixel data and calculate the compensated pixel data according to the pixel data, the first gain value and the second gain value. The compensating circuit and the compensating method compensate the pixel data based on the hue value, the gray value and the duty cycle of the emission driving signal to be the compensated pixel data. Therefore, the compensating circuit and the compensating method can compensate pixel data to improve a linearity of the brightness of different color.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.