CPC G06T 5/008 (2013.01) [G06T 5/003 (2013.01); G06T 5/50 (2013.01); G06T 2207/20224 (2013.01)] | 16 Claims |
1. An image processing circuit, comprising:
a receiving circuit, configured to receive image data;
a reference value calculating circuit, configured to determine a first reference value and a second reference value corresponding to a plurality of consecutive pixels of the image data, wherein the first reference value and the second reference value are respectively a highest luminance value and a lowest luminance value of two edge pixels of the plurality of consecutive pixels after being processed by the image processing circuit;
a center luminance value calculating circuit, configured to calculate a center luminance value according to the first reference value and the second reference value; and
an output circuit, configured to determine output luminance values of the plurality of consecutive pixels according to the image data, the first reference value, the second reference value and the center luminance value;
wherein for each pixel of the plurality of consecutive pixels, the reference value calculating circuit is configured to calculate a cumulative luminance value increment and a cumulative luminance value decrement, and determine the first reference value and the second reference value according to luminance values of the plurality of consecutive pixels, the cumulative luminance value increment and the cumulative luminance value decrement;
wherein the cumulative luminance value increment corresponding to a pixel is obtained by adding a subtraction result to the cumulative luminance value increment corresponding to the pixel at a previous position when the luminance value of the pixel is greater than the luminance value of the pixel at the previous position, wherein the subtraction result is calculated by subtracting the luminance value of the pixel at the previous position from the luminance value of the pixel.
|