Patent ID: 11908105
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The method according to claim 7, wherein the obtaining the target search region from a region except the first original region in the second region comprises:
extracting the second region from the target image, scaling down the second region to obtain a third region, and obtaining a first target search region from a region except a region scaled down from the first original region in the third region;
the searching the target search region for a reference pixel block matching the target pixel block, and inpainting the target pixel block according to the reference pixel block comprises;
searching the first target search region for a first reference pixel block matching a pixel block scaled down from the target pixel block; and
inpainting, according to the first reference pixel block, the pixel block scaled down from the target pixel block; and scaling up the inpainted third region, to obtain a fourth region having the same area as the second region, and replacing the second region in the target image with the fourth region; or
obtaining a second reference pixel block in the second region in the target image corresponding to the first reference pixel block, and inpainting the target pixel block according to the second reference pixel block.