arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.02848cs.CV

MagicRemover:基于扩散模型的免调优文本引导图像修复

Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models

Tsinghua University(清华大学);Dalian University of Technology(大连理工大学);ZMO AI;Microsoft Research Asia(微软亚洲研究院)

Siyuan Yang, Lu Zhang, Liqian Ma, Yu Liu, JingJing Fu, You He

AI总结:

针对训练成本高及二值掩码难以处理边界不清、透明对象的问题,本文提出免调优的文本引导图像修复方法 MagicRemover,通过注意力引导和分类器优化提升擦除、恢复与去噪性能。

摘要:

图像修复旨在用视觉连贯且语义合理的内容填充缺失像素。尽管深度生成模型带来了巨大进展,该任务仍面临两方面困难:其一,大规模真实数据收集困难且模型训练成本高昂;其二,传统上由用户定义的二值掩码在处理边界不清或具有透明纹理的对象时存在内在局限。本文提出 MagicRemover,这是一种利用强大扩散模型进行文本引导图像修复的免调优方法。我们引入注意力引导策略来约束扩散模型的采样过程,从而能够擦除指定区域并恢复被遮挡的内容。我们进一步提出一种分类器优化算法,以在更少采样步骤内促进去噪稳定性。我们将 MagicRemover 与多种最先进方法进行了大量比较,包括定量评估和用户研究,结果表明 MagicRemover 在高质量图像修复方面取得了显著提升。我们将在 https://github.com/exisas/Magicremover 发布代码。

英文摘要:

Image inpainting aims to fill in the missing pixels with visually coherent and semantically plausible content. Despite the great progress brought from deep generative models, this task still suffers from i. the difficulties in large-scale realistic data collection and costly model training; and ii. the intrinsic limitations in the traditionally user-defined binary masks on objects with unclear boundaries or transparent texture. In this paper, we propose MagicRemover, a tuning-free method that leverages the powerful diffusion models for text-guided image inpainting. We introduce an attention guidance strategy to constrain the sampling process of diffusion models, enabling the erasing of instructed areas and the restoration of occluded content. We further propose a classifier optimization algorithm to facilitate the denoising stability within less sampling steps. Extensive comparisons are conducted among our MagicRemover and state-of-the-art methods including quantitative evaluation and user study, demonstrating the significant improvement of MagicRemover on high-quality image inpainting. We will release our code at https://github.com/exisas/Magicremover.

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

↑