Automatic image inpainting using local patch statistics
First Claim
1. A system comprising:
- a processor;
a user interface coupled to the processor and including a display;
a communication module coupled to the processor; and
memory coupled to the processor and storing instructions that, when executed by the processor, cause the system to perform operations comprising;
receiving a user input identifying a user-selected region within an image;
determining a local region for the user-selected region of the image based on a size of the user-selected region, the local region including a portion of the image outside of the user-selected region that surrounds the user-selected region;
enlarging the local region by a predefined padding size;
scaling the user-selected region to a predetermined size, the scaling of the user-selected region yielding a scaled region;
identifying a plurality of patch matches within the local region, each patch match comprising two identical image patches, each image patch comprising one or more pixels of the image; and
inpainting the scaled region using at least a portion of the plurality of patch matches identified within the local region, the inpainting of the scaled region yielding a modified image.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
38 Citations
20 Claims
-
1. A system comprising:
-
a processor; a user interface coupled to the processor and including a display; a communication module coupled to the processor; and memory coupled to the processor and storing instructions that, when executed by the processor, cause the system to perform operations comprising; receiving a user input identifying a user-selected region within an image; determining a local region for the user-selected region of the image based on a size of the user-selected region, the local region including a portion of the image outside of the user-selected region that surrounds the user-selected region; enlarging the local region by a predefined padding size; scaling the user-selected region to a predetermined size, the scaling of the user-selected region yielding a scaled region; identifying a plurality of patch matches within the local region, each patch match comprising two identical image patches, each image patch comprising one or more pixels of the image; and inpainting the scaled region using at least a portion of the plurality of patch matches identified within the local region, the inpainting of the scaled region yielding a modified image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method comprising:
-
receiving a user input identifying a user-selected region of an image; determining a local region for the user-selected region based on a size of the user-selected region, the local region including a portion of the image outside of the user-selected region that surrounds the user-selected region; enlarging the local region by a predefined padding size; scaling the user-selected region to a predetermined size, the scaling of the user-selected region yielding a scaled region; identifying a plurality of patch matches within the local region, each patch match comprising two identical image patches, each image patch comprising one or more pixels of the image; and inpainting, using one or more processors of a machine, the scaled region using at least a portion of the plurality of patch matches identified within the local region, the inpainting of the scaled region yielding a modified image. - View Dependent Claims (17, 18)
-
-
19. A non-transitory computer-readable medium storing instructions that, when executed by a computer system, cause the computer system to perform operations comprising:
-
receiving a user input identifying a user-selected region of an image; determining a local region for the user-selected region based on a size of the user-selected region, the local region including a portion of the image outside of the user-selected region that surrounds the user-selected region; enlarging the local region by a predefined padding size; scaling the user-selected region to a predetermined size, the scaling of the user-selected region yielding a scaled region; identifying a plurality of patch matches within the local region, each patch match comprising two identical image patches, each image patch comprising one or more pixels of the image; and inpainting the scaled region using at least a portion of the plurality of patch matches identified within the local region, the inpainting of the scaled region yielding a modified image. - View Dependent Claims (20)
-
Specification