Towards Interactive Image Inpainting via Sketch Refinement

06/01/2023
by   Chang Liu, et al.
0

One tough problem of image inpainting is to restore complex structures in the corrupted regions. It motivates interactive image inpainting which leverages additional hints, e.g., sketches, to assist the inpainting process. Sketch is simple and intuitive to end users, but meanwhile has free forms with much randomness. Such randomness may confuse the inpainting models, and incur severe artifacts in completed images. To address this problem, we propose a two-stage image inpainting method termed SketchRefiner. In the first stage, we propose using a cross-correlation loss function to robustly calibrate and refine the user-provided sketches in a coarse-to-fine fashion. In the second stage, we learn to extract informative features from the abstracted sketches in the feature space and modulate the inpainting process. We also propose an algorithm to simulate real sketches automatically and build a test protocol with different applications. Experimental results on public datasets demonstrate that SketchRefiner effectively utilizes sketch information and eliminates the artifacts due to the free-form sketches. Our method consistently outperforms the state-of-the-art ones both qualitatively and quantitatively, meanwhile revealing great potential in real-world applications. Our code and dataset are available.

READ FULL TEXT

page 1

page 7

page 8

page 13

page 15

page 16

page 18

page 19

research
08/05/2022

Perceptual Artifacts Localization for Inpainting

Image inpainting is an essential task for multiple practical application...
research
06/03/2019

Fashion Editing with Multi-scale Attention Normalization

Interactive fashion image manipulation, which enables users to edit imag...
research
11/16/2016

Guidefill: GPU Accelerated, Artist Guided Geometric Inpainting for 3D Conversion

The conversion of traditional film into stereo 3D has become an importan...
research
11/30/2021

SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches

Sketch-based image manipulation is an interactive image editing task to ...
research
03/28/2021

Learning a Sketch Tensor Space for Image Inpainting of Man-made Scenes

This paper studies the task of inpainting man-made scenes. It is very ch...
research
02/11/2020

Learning to Incorporate Structure Knowledge for Image Inpainting

This paper develops a multi-task learning framework that attempts to inc...
research
04/06/2022

ShowFace: Coordinated Face Inpainting with Memory-Disentangled Refinement Networks

Face inpainting aims to complete the corrupted regions of the face image...

Please sign up or login with your details

Forgot password? Click here to reset