-
公开(公告)号:US11954836B2
公开(公告)日:2024-04-09
申请号:US17405820
申请日:2021-08-18
发明人: Meiya Chen , Qiang Rao , Ran Zhu , Shuangshuang Yin , Piyao He
IPC分类号: G06T5/70
CPC分类号: G06T5/70 , G06T2207/10028 , G06T2207/20012 , G06T2207/20221
摘要: A method, electronic device and storage medium for processing an image using depth-of-field information is disclosed. The method includes obtaining a weight matrix and a weight image based on depth-of-field data of an input image; obtaining a first horizontal summed area table corresponding to the weight matrix and a second horizontal summed area table corresponding to the weight image by performing horizontal summing operation on the weight matrix and the weight image; obtaining a first weighted blurring image corresponding to the weight matrix based on the first horizontal summed area table, and obtaining a second weighted blurring image corresponding to the weight image based on the second horizontal summed area table; and obtaining a pixel value of the pixel in a target image based on the first and second weighted blurring images.