1. Field of the Invention
The present invention relates to image processing of an LCD (liquid crystal display), and more particularly, to a compressive overdrive circuit and associated method.
2. Description of the Prior Art
An LCD has the advantages of being a small size and light-weight, therefore, LCDs are gradually substituting for conventional cathode ray tube displays. In addition, as the frequency of display drive signals increases, liquid crystal molecules can not quickly rotate to a desired specific angle with changes in the drive signal. The image blur problem is serious when a difference of the pixel values between continuous frames is large.
However, the prior art stores all pixel values of the previous frame for overdrive. As LCD resolution increases, more DRAM is required for overdrive processing and thus cost increases.
It is therefore one of the objectives of the claimed invention to provide a compressive overdrive circuit and associated method to solve the above-mentioned problems. When the buffer is limited, the present invention may still support the overdrive processing for high display resolution to improve display quality.
The present invention provides a compressive overdrive circuit, comprising a compression unit, for compressing a current frame to generate compressed data for buffering, where the compressed data comprises pixel values of a plurality of non-encoded pixels and a plurality of index values associated with the non-encoded pixels, and a decompression unit, for decompressing according to the pixel values of the non-encoded pixels and the index values to generate data of a previous frame. Therefore, the overdrive circuit performs overdrive processing according to the current frame and the previous frame with limited buffer for high display resolution.
The present invention also provides a method of compressive overdrive, comprising compressing a current frame to generate compressed data for buffering, where the compressed data comprises pixel values of a plurality of non-encoded pixels and a plurality of index values associated with the non-encoded pixels, decompressing according to the pixel values of the non-encoded pixels and the index values to generate data of a previous frame, and performing overdrive processing according to the pixel values of the current frame and the previous frame.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
A compressive overdrive circuit and associated method provided by the present invention can be implemented in an LCD display and thereby can perform overdrive processing for the LCD display panel to improve display quality.
A volatile memory, e.g. a dynamic random access memory (DRAM), static random access memory (SRAM) can be utilized as a buffer in the embodiments.
In this embodiment, the compression unit 112 compresses a plurality of pixel values of a current frame FN to store the compressed data into the buffer 114, and then the compressed data can be read by the decompression unit 116 later, wherein the most significant bit of the embodiment is determined as a bit [7:Q] and ‘Q’ is an integer no larger than 7. As shown in
As shown in
E(U)=|X(R)−Up(R)|+|X(G)−Up(G)|+|X(B)−Up(B)|,
E(D)=|X(R)−Down(R)|+|X(G)−Down(G)|+|X(B)−Down(B)|,
E(L)=|X(R)−Left(R)|+|X(G)−Left(G)|+|X(B)−Left(B)|
E(R)=|X(R)−Right(R)|+|X(G)−Right(G)|+|X(B)−Right(B)|,
wherein X(i) (i=R, G, and B) represents red, green, and blue components of the encoded pixel Px respectively, and Up(i), Down(i), Left(i), Right(i) (i=R, G, and B) represent the red, green, blue components of the pixel value of the neighboring pixels PUP, PDOWN, PLEFT, and PRIGHT.
The compressed data generator 112S of the compression unit 112 utilizes the comparison circuit 220 to determine a minimum error E(Min) and a second minimum error E(Min—2nd) of the errors E(U), E(D), E(L), and E(R). In this embodiment, the comparison circuit 220 outputs the minimum error E(Min), the second minimum error E(Min—2nd) and two associated index values to the decision circuit 230. The two index values are selected from the index values 0,3, 1 and 2 representing the neighboring pixels PUP, PDOWN, PLEFT, and PRIGHT.
The compressed data generator 112S utilizes the decision circuit 230 to determine the pixel locations P1 and P2 according to the errors E(U), E(D), E(L), and E(R). Preferably, the decision circuit 230 determines the pixel P1 as a most resembling pixel corresponding to the minimum error E(Min). When (E(Min—2nd)-E(Min)) is not bigger than a threshold value E_Threshold, the decision circuit 230 determines the pixel P2 as a secondary resembling pixel corresponding to the second minimum error E(Min—2nd). However, when (E(Min—2nd)-E(Min)) is bigger than the threshold value E_Threshold, the decision circuit 230 determines that the pixel P2 is also the most resembling pixel corresponding to the minimum error E(Min). When the difference between the E(Min—2nd) and E(Min) is quite big, the resemblance of the secondary resembling pixel to the encoded pixel Px is low, and therefore the secondary resembling pixel location P2 is preferably discarded.
The decision circuit 230 decides the blending parameter for the encoded pixel Px according to the difference (E(Min—2nd)-E(Min)). For example, when the difference (E(Min—2nd)-E(Min)) is smaller, the blending parameter is bigger. The decision circuit 230 can directly output a blending value α as the blending parameter, or output a blending index value to indicate the blending value.
The pixel values P1 (R), P1 (G), and P1 (B) represent the red, green, and blue components of the pixel values of the pixel P1 respectively, and the pixel values P2(R), P2(G), and P2(B) represent the red, green, and blue components of the pixel values of the pixel P2 respectively. In this embodiment, the right two bits of the six bits shown in
Accordingly, the decompression unit 116 reconstructs the red, green, blue components of the encoded pixel Px according to the following equations:
X′(R)=P1(R)*α+P2(R)*(1−α),
X′(G)=P1(G)*α+P2(G)*(1−α), and
X′(B)=P1(B)*α+P2(B)*(1−α).
The pixel value X′(i) (I=R,G,B) of the decompressed encoded pixel Px is provided to the luminance calculator 124 and the RGB data transformer 130.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 60/884,223, filed on Jan. 10, 2007 and entitled “Overdrive Compression Method”, the contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
20050162566 | Chuang et al. | Jul 2005 | A1 |
20050200631 | Pan et al. | Sep 2005 | A1 |
20050225522 | Wu et al. | Oct 2005 | A1 |
20050237316 | Huang et al. | Oct 2005 | A1 |
20060152501 | Furihata et al. | Jul 2006 | A1 |
20060164365 | Huang et al. | Jul 2006 | A1 |
Number | Date | Country |
---|---|---|
1804987 | Jul 2006 | CN |
Number | Date | Country | |
---|---|---|---|
20080212875 A1 | Sep 2008 | US |
Number | Date | Country | |
---|---|---|---|
60884223 | Jan 2007 | US |