US 12,273,662 B2
Image processing method and apparatus, terminal, and storage medium
Lin Zhao, Beijing (CN); Tianyu Yao, Tampere (FI); Yuewan Lu, Shenzhen (CN); Hongwei Hu, Beijing (CN); and Wenmei Gao, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 17/793,211
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
PCT Filed Oct. 31, 2020, PCT No. PCT/CN2020/125611
§ 371(c)(1), (2) Date Jul. 15, 2022,
PCT Pub. No. WO2021/143284, PCT Pub. Date Jul. 22, 2021.
Claims priority of application No. 202010044246.4 (CN), filed on Jan. 15, 2020.
Prior Publication US 2023/0079582 A1, Mar. 16, 2023
Int. Cl. H04N 9/64 (2023.01); G06T 3/40 (2006.01); G06T 5/70 (2024.01); H04N 9/67 (2023.01); H04N 9/77 (2006.01); H04N 23/76 (2023.01)
CPC H04N 9/646 (2013.01) [G06T 3/40 (2013.01); G06T 5/70 (2024.01); H04N 9/67 (2013.01); H04N 9/77 (2013.01); H04N 23/76 (2023.01); G06T 2207/10024 (2013.01); G06T 2207/20021 (2013.01); G06T 2207/20081 (2013.01)] 19 Claims
OG exemplary drawing
 
1. An image processing method, the method performed by at least one processor and comprising:
converting a red yellow blue (RYB) image into a grid image based on a red green blue (RGB) format;
generating a first brightness layer of the grid image;
determining a reference gain compensation array to adjust the first brightness layer;
obtaining, based on a preset compensation array correspondence, a target gain compensation array that is associated with the reference gain compensation array and based on an RYB format; and
adjusting a second brightness layer of the RYB image by using the target gain compensation array, to generate a corrected image.