US 11,991,337 B2
Image pixel color cast correction
Aiguo Yin, Zhuhai (CN); Yangxiao Ma, Zhuhai (CN); and Yan Sun, Zhuhai (CN)
Assigned to ZHUHAI PANTUM ELECTRONICS CO., LTD., Zhuhai (CN)
Filed by Zhuhai Pantum Electronics Co., Ltd., Zhuhai (CN)
Filed on Aug. 17, 2021, as Appl. No. 17/404,330.
Claims priority of application No. 202010826966.6 (CN), filed on Aug. 17, 2020.
Prior Publication US 2022/0053107 A1, Feb. 17, 2022
Int. Cl. H04N 1/60 (2006.01); G06T 5/00 (2006.01); G06T 7/90 (2017.01); H04N 1/58 (2006.01)
CPC H04N 1/608 (2013.01) [G06T 5/00 (2013.01); G06T 7/90 (2017.01); H04N 1/58 (2013.01); G06T 2207/10008 (2013.01)] 18 Claims
OG exemplary drawing
 
1. An image processing method, comprising:
acquiring a first color component value and a second color component value of each pixel of a to-be-processed image in a preset color space;
determining a color cast pixel according to the first color component value and the second color component value of each pixel, including:
according to first color component values and second color component values of all pixels in a preset neighboring area of a current pixel, calculating a first average value of the first color component values and a second average value of the second color component values of the preset neighboring area;
acquiring a correction parameter of the current pixel;
according to the correction parameter of the current pixel, the first average value, and the second average value, determining a first correction value of a first color component value and a second correction value of a second color component value of the current pixel, wherein for the current pixel, the first correction value equals the first average value divided by the correction parameter, and the second correction value equals the second average value divided by the correction parameter; and
performing pixel correction on each color cast pixel to obtain a corrected to-be-processed image.