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

基于生成模型先验的零样本图像和谐化

Zero-Shot Image Harmonization with Generative Model Prior

Beihang University(北京航空航天大学)

Jianqi Chen, Yilan Zhang, Zhengxia Zou, Keyan Chen, Zhenwei Shi

AI总结:

本研究提出一种零样本图像和谐化方法,通过模拟人类行为的模块化框架,结合VLM、T2I模型及结构保留机制,无需大量训练即可实现良好的图像和谐化效果,并经用户研究验证有效。

摘要:

我们提出了一种零样本图像和谐化方法,旨在克服现有方法对大量合成复合图像的依赖。这些方法虽取得了可观的结果,但训练成本高昂,且往往难以泛化到未见过的图像。为此,我们受人类行为启发,提出了一个完全模块化的框架。借助近期基础模型在语言和视觉领域的推理能力,我们的方法包含三个主要阶段。首先,我们使用预训练视觉语言模型(VLM)生成复合图像的描述。随后,这些描述引导文本到图像生成模型(T2I)的前景和谐化方向。我们优化文本嵌入以增强成像条件的表征,并采用自注意力和边缘图来保留结构。每次和谐化迭代后,评估器会决定是结束还是调整和谐化方向。最终的框架模拟人类行为,无需大量训练即可实现和谐的效果。我们在不同场景和物体上展示了出色的视觉结果,同时通过用户研究验证了方法的有效性。

英文摘要:

We propose a zero-shot approach to image harmonization, aiming to overcome the reliance on large amounts of synthetic composite images in existing methods. These methods, while showing promising results, involve significant training expenses and often struggle with generalization to unseen images. To this end, we introduce a fully modularized framework inspired by human behavior. Leveraging the reasoning capabilities of recent foundation models in language and vision, our approach comprises three main stages. Initially, we employ a pretrained vision-language model (VLM) to generate descriptions for the composite image. Subsequently, these descriptions guide the foreground harmonization direction of a text-to-image generative model (T2I). We refine text embeddings for enhanced representation of imaging conditions and employ self-attention and edge maps for structure preservation. Following each harmonization iteration, an evaluator determines whether to conclude or modify the harmonization direction. The resulting framework, mirroring human behavior, achieves harmonious results without the need for extensive training. We present compelling visual results across diverse scenes and objects, along with a user study validating the effectiveness of our approach.

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

↑