arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00407cs.CV
收藏

基于草图细化的交互式图像修复研究

Towards Interactive Image Inpainting via Sketch Refinement

University of Science Technology of China(中国科学技术大学)

Chang Liu, Shunxin Xu, Jialun Peng, Kaidong Zhang, Dong Liu

AI总结:

针对自由形式草图随机性干扰图像修复的问题,提出两阶段方法SketchRefiner,通过细化草图、提取特征调制修复过程,在公开数据集上效果优于现有最优方法,兼具应用潜力。

摘要:

图像修复的一大难题是恢复受损区域的复杂结构,这推动了交互式图像修复技术的发展,该技术利用草图等额外提示辅助修复过程。草图对终端用户而言简单直观,但同时形式自由、随机性强,这种随机性可能干扰修复模型,导致生成的完整图像出现严重伪影。为解决该问题,本文提出一种名为SketchRefiner的两阶段图像修复方法。第一阶段,提出使用互相关损失函数,以从粗到细的方式对用户提供的草图进行鲁棒校准与细化;第二阶段,学习在特征空间中从抽象草图提取信息性特征,并对修复过程进行调制。本文还提出一种自动模拟真实草图的算法,并构建了包含不同应用场景的测试协议。在公开数据集上的实验结果表明,SketchRefiner能有效利用草图信息,消除自由形式草图带来的伪影,在定性和定量指标上均持续优于现有最优方法,同时在实际应用中展现出巨大潜力。本文的代码和数据集已公开。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑