Patent attributes
Disclosed are systems, methods, and computer-readable storage media to perform automatic image inpainting using local patch statistics. The method includes receiving a user input identifying a user-selected region of an image and determining a local region for the user-selected region. The local region includes a portion of the image outside of the user-selected region and that surrounds the user-selected region. The method may further include enlarging the local region by a predefined padding size, and scaling the user-selected region to a predetermined size. The method may further include identifying patch matches within the local region, and inpainting the user-selected region using some of the patch matches identified within the local region.