US 11,908,113 B2
Image processing method and image processing device using the same
Jen-Shi Wu, Zhubei (TW); and Hsin-Hui Chen, Taipei (TW)
Assigned to CVITEK CO. LTD., Beijing (CN)
Filed by Cvitek Co. Ltd., Beijing (CN)
Filed on Nov. 4, 2021, as Appl. No. 17/519,415.
Claims priority of application No. 202011311396.3 (CN), filed on Nov. 20, 2020.
Prior Publication US 2022/0164932 A1, May 26, 2022
Int. Cl. G06T 5/40 (2006.01); G06T 5/50 (2006.01); G06T 5/00 (2006.01)
CPC G06T 5/40 (2013.01) [G06T 5/009 (2013.01); G06T 5/50 (2013.01)] 18 Claims
OG exemplary drawing
 
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.