Patent ID: 7982807

Claim:
An image processing method comprising: (a) inputting image data comprising a plurality of pixels; (b) setting a first luminance interval and a second luminance interval; (c) generating a first mean luminance value from a plurality of pixels of the image data within the first luminance interval; (d) generating a second mean luminance value from a plurality of pixels of the image data within the second luminance interval; (e) generating a first luminance threshold according to the first mean luminance value; (f) setting a compensation parameter; (g) generating a first compensation luminance value according to the first mean luminance value and the compensation parameter; (h) generating a second compensation luminance value according to the first luminance threshold, the first mean luminance value, the second mean luminance value and the compensation parameter; (i) obtaining a greater compensation luminance value according to a comparison between the first and second compensation luminance values; and (j) adjusting luminance values of image data between a smaller compensation luminance value and the greater compensation luminance value according to the smaller and greater compensation luminance values.