| CPC G06T 5/40 (2013.01) [G06T 1/20 (2013.01); G06T 7/13 (2017.01); G06T 7/50 (2017.01); G06T 11/00 (2013.01)] | 18 Claims |

|
1. An image processing method, comprising:
generating, by a processor, a sliding window for a target pixel in a plurality of pixels in image data;
generating, by the processor, an original brightness histogram of the sliding window according to an original bit depth;
generating, by the processor, a low-bit-depth brightness histogram of the sliding window according to a low bit depth;
determining, by the processor, a target low-bit-depth range from the low-bit-depth brightness histogram according to the target pixel;
extracting, by the processor, a partial original brightness histogram from the original brightness histogram according to the target low-bit-depth range; and
performing, by the processor, a histogram equalization process on the partial original brightness histogram according to the original bit depth to generate a final brightness value of the target pixel.
|