CPC G06T 5/40 (2013.01) [G06T 5/009 (2013.01); G06T 5/50 (2013.01)] | 18 Claims |
1. An image processing method, characterized in comprising the following steps:
(a) receiving a to-be-processed image;
(b) obtaining a target brightness of the to-be-processed image;
(c) creating a histogram curve of the to-be-processed image;
(d) clipping the histogram curve according to a clipping value;
(e) obtaining a mapping function of the clipped histogram curve;
(f) obtaining a mapped image mapped according to the mapping function;
(g) obtaining an average brightness of the mapped image;
(h) obtaining a difference between the target brightness and the average brightness; and
(i) if the difference is greater than a threshold value, adjusting the clipping value and repeat step (c)-step (i) until the difference is less than the threshold value.
|