US 11,989,864 B2
Method and apparatus for processing image, and storage medium
Peng Zhang, Beijing (CN)
Assigned to BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN); and BEIJING XIAOMI PINECONE ELECTRONICS CO., LTD., Beijing (CN)
Filed by BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN); and BEIJING XIAOMI PINECONE ELECTRONICS CO., LTD., Beijing (CN)
Filed on Oct. 30, 2021, as Appl. No. 17/515,431.
Claims priority of application No. 202110455875.0 (CN), filed on Apr. 26, 2021.
Prior Publication US 2022/0343474 A1, Oct. 27, 2022
Int. Cl. G06K 9/00 (2022.01); G06F 18/25 (2023.01); G06T 5/50 (2006.01); G06T 5/92 (2024.01)
CPC G06T 5/92 (2024.01) [G06F 18/251 (2023.01); G06T 5/50 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for processing an image, comprising:
creating M first image sets based on M image frames to be processed, wherein an image fame corresponds to a first image set, and each first image set comprises N sub-images to be processed that are arranged in layers based on a preset order, sub-images located in different layers have different resolution representations, wherein M and N are both positive integers;
determining a fusion weight for each sub-image located in each layer in each first image set based on brightness information of each image frame;
fusing sub-images located in each same layer in the M first image sets based on the fusion weight, to obtain N fused sub-images arranged in layers based on the preset order;
adjusting a brightness of at least one fused sub-image of the N fused sub-images based on a preset brightness adjustment parameter; and
obtaining a target image based on the fused sub-image after adjustment.