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

DiffColor:基于扩散模型的高保真文本引导图像着色

DiffColor: Toward High Fidelity Text-Guided Image Colorization with Diffusion Models

Hunan University(湖南大学)

Jianxin Lin, Peng Xiao, Yijun Wang, Rongju Zhang, Xiangxiang Zeng

AI总结:

提出 DiffColor 方法,利用预训练扩散模型和 CLIP 对比损失,通过两阶段微调实现高保真、对象级可控的文本引导图像着色,无需额外输入且支持上下文内着色。

摘要:

近期数据驱动的图像着色方法实现了自动或基于参考的着色,但仍存在对象级颜色控制不理想且不准确的问题。为解决这些问题,我们提出了一种名为 DiffColor 的新方法,利用预训练扩散模型的能力,在仅以提示文本为条件下恢复鲜艳颜色,无需任何额外输入。DiffColor 主要包含两个阶段:具有生成性颜色先验的着色和上下文内可控着色。具体而言,我们首先微调一个预训练的文本到图像模型,使用基于 CLIP 的对比损失来生成着色图像。然后我们尝试获取优化的文本嵌入以对齐着色图像和文本提示,以及一个微调的扩散模型以实现高质量图像重建。我们的方法能够通过少量迭代产生鲜艳多样的颜色,并保持结构和背景完整,同时颜色与目标语言指导良好对齐。此外,我们的方法支持上下文内着色,即通过修改提示文本而无需任何微调即可产生不同的着色结果,并能实现对象级可控着色结果。大量实验和用户研究表明,DiffColor 在视觉质量、颜色保真度和着色选项多样性方面优于先前的工作。

英文摘要:

Recent data-driven image colorization methods have enabled automatic or reference-based colorization, while still suffering from unsatisfactory and inaccurate object-level color control. To address these issues, we propose a new method called DiffColor that leverages the power of pre-trained diffusion models to recover vivid colors conditioned on a prompt text, without any additional inputs. DiffColor mainly contains two stages: colorization with generative color prior and in-context controllable colorization. Specifically, we first fine-tune a pre-trained text-to-image model to generate colorized images using a CLIP-based contrastive loss. Then we try to obtain an optimized text embedding aligning the colorized image and the text prompt, and a fine-tuned diffusion model enabling high-quality image reconstruction. Our method can produce vivid and diverse colors with a few iterations, and keep the structure and background intact while having colors well-aligned with the target language guidance. Moreover, our method allows for in-context colorization, i.e., producing different colorization results by modifying prompt texts without any fine-tuning, and can achieve object-level controllable colorization results. Extensive experiments and user studies demonstrate that DiffColor outperforms previous works in terms of visual quality, color fidelity, and diversity of colorization options.

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

↑