Paper – Context Aware Exemplar-based Image Inpainting using Irregular Patches

Context Aware Exemplar-based Image Inpainting using Irregular Patches

Cedrique Fotsing and Douglas Cunningham
New exemplar-based image inpainting solution. Taking advantage of image segmentation, higher filling priorities are assigned to edge front filling pixels. The irregular patches are built using a region-growing approach. The search for the best match is done contextually. A second region-growing process is performed from the correspondent of the target front filling pixel in the best match area. Damaged pixels in the target area are filled with their correspondents from the zone delimited by the second region-growing. The images d-f in the graphical abstract illustrate some steps of the restoration process.

Abstract   >PDF
We propose a new exemplar-based image inpainting method in this paper. Our method is based on the Criminisi pipeline. We focused on three main stages of the pipeline; calculation of priorities, construction of patches, and the search for the best match. To assign a high priority to patches constructed from the edge pixels, we use the ability of segmentation algorithms to divide an image into different texture blocks. The patches built from pixels located at the border between several texture blocks receive a high priority. Unlike most patch-based image inpainting methods which use regular patches (rectangle, square), the shape and size of our patches depend on the textural composition around the original pixel. The patches are built using a region growing principle in the different texture blocs around the original pixel. The search for the best match is done contextually. We search for the best match of the patch with the highest priority in a similar environment to its neighborhood around the target zone. The method is simple and easy to implement. The experiments show that our method obtains more plausible results than the basic method of Criminisi and its improved version Amoeba in most cases.