Patent ID: 7884838

Claim:
A gamma adjusting apparatus for adjusting a gray level of a pixel, the apparatus comprising: a measuring unit for measuring the lightness of N reference gray levels, N being a natural number; a first processing unit, coupled to the measuring unit, for normalizing the lightness of the N reference gray levels to generate N normalized reference values corresponding to the N reference gray levels; a second processing unit, coupled to the first processing unit, for comparing the N normalized reference values with a standard gamma curve to generate N adjusting gray levels corresponding to the N reference gray levels; and a third processing unit, coupled to the second processing unit, for setting an adjusting rule according to the N reference gray levels and the N adjusting gray levels; wherein when the pixel is inputted into the gamma adjusting apparatus, the gamma adjusting apparatus adjusts the gray level of the pixel to comply with the standard gamma curve according to the adjusting rule; wherein the adjusting rule comprises the following formulae: when G in is equal to 0 or 255, G out is equal to G in ; and when G in is larger than or equal to Y i and G in is smaller than Y i+1 , G out = ( G i ⁢ ⁢ n - Y i ) * ( X i + 1 - X i Y i + 1 - Y i ) + Y i , i is an integer index between 1 and N−1; wherein G in represents the gray level of the pixel G out represents the adjusted gray level of the pixel X i represents the i th reference gray level of the N reference gray levels, and Y i represents the i th adjusting gray level of the N adjusting gray levels.