The present disclosure relates to a progressive overdrive mechanism.
In a general liquid crystal display, an overdrive (OD) technology is often used to change a grey level of an image to shorten the response time of liquid crystal molecules. In some conventional approaches, a difference between a current grey level at a particular location of a current image and a grey level of a previous image at the same location is calculated. If the difference is greater than a threshold, then an OD adjustment is performed to change the current grey level, otherwise the current grey level remain unchanged. However, it would produce flicker if the differences in a motion video are alternatively greater than a threshold and smaller than the threshold. How to reduce the flicker is an issue concerned by people in the art.
Embodiments of the present disclosure provide an overdrive method for a display panel. The overdrive method includes: performing loss compression to an input image to generate image data, and storing the image data into a memory; reading the image data from the memory and decoding the image data to obtain a previous image; obtaining a current image, calculating a difference between a current grey level at a location of the current image and a previous grey level of the previous image at the location; calculating an overdrive grey level according to the current grey level and the previous grey level; if the difference is less than a threshold, calculating a gain according to the difference and the threshold, and mixing the overdrive grey level and the current grey level based on the gain to generate an output grey level to replace the current grey level; if the difference greater than or equal to the threshold, outputting the overdrive grey level as the output grey level to replace the current grey level.
In some embodiments, the step of calculating the gain according to the difference and the threshold includes: calculating a ratio of the difference to the threshold; and inputting the ratio into a continuous and increasing function to obtain the gain.
In some embodiments, the continuous and increasing function is a polynomial function.
In some embodiments, the step of calculating the overdrive grey level according to the current grey level and the previous grey level includes: inputting the current grey level and the previous grey level to a lookup table to obtain the overdrive grey level.
In some embodiments, the step of mixing the overdrive grey level and the current grey level based on the gain to generate the output grey level is performed based on the following equation (1).
output_value=current_value+G×(OD_value−current_value) (1)
output_value is the output grey level, current_value is the current grey level, OD_value is the overdrive grey level, and G is the gain.
From another aspect, embodiments of the present disclosure provide an overdrive circuit including a memory, an encoding circuit, a decoding circuit, and an overdrive computation circuit. The encoding circuit is electrically connected to the memory and is configured to perform loss compression to an input image to generate image data, and to store the image data into the memory. The decoding circuit is electrically connected to the memory and is configured to read the image data from the memory and to decode the image data to obtain a previous image. The overdrive computation circuit is electrically connected to the decoding circuit and configured to obtain a current image, calculate a difference between a current grey level at a location of the current image and a previous grey level of the previous image at the location, and calculate an overdrive grey level according to the current grey level and the previous grey level. If the difference is less than a threshold, the overdrive computation circuit is configured to calculate a gain according to the difference and the threshold, and mix the overdrive grey level and the current grey level based on the gain to generate an output grey level to replace the current grey level. If the difference is greater than or equal to the threshold, the overdrive computation circuit is configured to output the overdrive grey level as the output grey level to replace the current grey level.
In some embodiments, the overdrive computation circuit is further configured to calculate a ratio of the difference to the threshold and input the ratio into a continuous and increasing function to obtain the gain.
In some embodiments, the overdrive computation circuit is further configured to input the current grey level and the previous grey level to a lookup table to obtain the overdrive grey level.
In some embodiments, the overdrive computation circuit is configured to generate the output grey level based on the said equation (1).
The disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows.
Specific embodiments of the present disclosure are further described in detail below with reference to the accompanying drawings, however, the embodiments described are not intended to limit the present disclosure and it is not intended for the description of operation to limit the order of implementation. Moreover, any device with equivalent functions that is produced from a structure formed by a recombination of elements shall fall within the scope of the present disclosure. Additionally, the drawings are only illustrative and are not drawn to actual size.
In addition, the term “electrically connected” used in the specification should be understood for electrically connecting two units directly or indirectly. In other words, when “a first object is electrically connected to a second object” is written in the specification, it means another object may be disposed between the first object and the second object.
To be specific, input data 110 includes an input image such as a color image. The encoding circuit 120 performs loss compression to the input image to generate image data. The loss compression is, for example, a JPEG_LS algorithm or any other suitable algorithm which is not limited in the disclosure. The compressed image data is stored into the memory 130. The decoding circuit 140 reads the image data from the memory 130 and decodes the image data to obtain a previous image 141. Note that due to the loss compression algorithm, grey levels at the same X coordinate and Y coordinate of multiple frames in a video may become unsmooth (i.e. different from each other even they are originally identical to each other) after they are compressed and decoded. These unsmooth grey levels may cause flicker after a conventional OD method is performed. In the embodiment, the OD computation circuit 150 performs a progressive overdrive method to address the flicker problem.
To be specific, the OD computation circuit 150 obtains the previous image 141 from the decoding circuit 140 and a current image 142 from the input data 110. The OD computation circuit 150 calculates a difference between a current grey level at a location (including X coordinate and Y coordinate) of the current image 142 and a previous grey level of the previous image 141 at the same location. In the following equations, the current grey level is written as current_value, and the previous grey level is written as previous_value. The difference is calculated based on the following equation (1).
D=current_value−previous_value (1)
The overdrive computation circuit 150 also calculates an overdrive grey level corresponding to the current grey level according to the current grey level and the previous grey level. In some embodiments, the overdrive computation circuit 150 inputs the current grey level and the previous grey level to the lookup table 160 to obtain the overdrive grey level. The values stored in the lookup table may be determined in advance based on the characteristic of the display panel.
If the difference D is greater than or equal to a threshold, the overdrive computation circuit 150 outputs the overdrive grey level as an output grey level to replace the current grey level.
If the difference D is less than the threshold, then a progressive output grey level is generated. To be specific, a gain is calculated according to the difference D and the threshold. In some embodiments, a ratio of the difference D to the threshold is calculated as the following equation (2).
T is the threshold, and x is the ratio. Next, the ratio x is inputted into a continuous and increasing function to obtain a gain. In some embodiments, the continuous and increasing function may include a linear function, a polynomial function, an exponential function, a logarithmic function or the combination thereof, which is not limited in the disclosure. The polynomial function is taken as an example herein.
At last, the overdrive computation circuit 150 mixes the overdrive grey level and the current grey level according to the gain to generate the output grey level to replace the current grey level. In some embodiment, the mixing step is based on the following equation (3).
output_value=current_value+G×(OD_value−current_value) (3)
output_value is the output grey level, OD_value is the overdrive grey level.
Referring to
In the aforementioned overdrive circuit and method, the current grey level is altered progressively based on the difference between the current grey level and the previous grey level, and thus the flicker phenomenon will not occur.
Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein. It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims.