Patent ID: 7646512

Claim:
In a display system, an inputted video sequence comprising N image frames to be displayed which each consists of T pixels, each pixel of each image frame comprising M color components and M gray scale levels which each corresponds to one of the M color components, N, T, and M being a natural number, respectively, an apparatus functioning adjusting the M gray scale levels of the M color components of the jth pixel of the ith image frame in the video sequence, i being an integer index ranging from 1 to N, and j being an integer index ranging from 1 to T, the gray scale levels of the image frames previous to the ith image frame having been adjusted, each of the image frames previous to the ith image frame having a maximum gray scale level and a minimum gray scale level, each maximum gray scale level and the minimum gray scale level of said one image frame being determined based on the gray scale level thereof and being within an allowable range, said apparatus comprising: a first calculating module, for calculating, according to the gray scale levels of the ith image frame, a current maximum gray scale level and a current minimum gray scale level; a second calculating module, for calculating, according to all the maximum gray scale levels of the image frames previous to the ith image frame and the current maximum gray scale level, an average maximum gray scale level, and calculating, according to all the minimum gray scale levels of the image frames previous to the ith image frame and the current minimum gray scale level, an average minimum gray scale level; a third calculating module, for calculating, according to the average maximum gray scale level, a first gain, and calculating, according to the average minimum gray scale level, a second gain; a first judging module, for judging whether the jth pixel of the ith image frame is black; a fourth calculating module, for adjusting, according to the second gain, the gray scale level of each color component of the jth pixel, when the jth pixel is black; a second judging module, for judging whether the ith image frame is dark or light, when the jth pixel is not black; a first processing module, for selectively adjusting, according to the first gain, the gray scale level of each color component of the jth pixel, when the jth pixel is not black, and the ith image frame is dark; and a second processing module, for selectively adjusting, according to the second gain, the gray scale level of each color component of the jth pixel, when the jth pixel is not black, and the ith image frame is light.