Patent ID: 11954836
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. The electronic device of claim 10, wherein the processor is further configured to:
obtain an initial blurring kernel radius corresponding to the pixel in the input image based on the depth-of-field data of the input image;
perform remainder operation on the initial blurring kernel radius based on the preset number of grades and determine a quotient obtained by performing the remainder operation as an actual blurring kernel radius;
determine the blurring value corresponding to the pixel based on the actual blurring kernel radius and a preset blurring kernel shape and according to the first horizontal summed area table, and obtain the first weighted blurring image corresponding to the weight matrix; and
determine the blurring value corresponding to the pixel based on the actual blurring kernel radius and a preset blurring kernel shape and according to the second horizontal summed area table, and obtain the second weighted blurring image corresponding to the weight image.