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

去量化与颜色迁移的扩散模型

Dequantization and Color Transfer with Diffusion Models

UIUC(伊利诺伊大学厄巴纳-香槟分校)

Vaibhav Vavilala, Faaris Shaik, David Forsyth

AI总结:

本文提出一种基于扩散模型的图像去量化与颜色迁移方法,通过量化图像和调色板控制生成结果,并利用加权二分图匹配实现极端调色板迁移,同时保持纹理与颜色控制。

摘要:

我们展示了一种图像去量化扩散模型,该模型能够实现对自然图像的新颖编辑。我们提出对量化图像进行操作,因为量化图像为基于补丁的编辑和调色板迁移提供了简便的抽象。特别是,我们表明颜色调色板可以使扩散模型的输出更易于控制和解释。我们首先证实现有的图像恢复方法(如JPEG降噪模型)不足以完成此任务。接着,我们证明我们的模型能够生成符合用户要求的颜色调色板的自然图像。对于调色板迁移,我们提出了一种基于加权二分图匹配的方法。然后,我们展示即使在极端的调色板迁移之后,我们的模型也能生成合理的图像,并尊重用户的查询。我们的方法可以选择性地以源纹理的部分或全部为条件。通过这样做,我们克服了现有图像着色方法中常见的问题,即无法产生与输入亮度不同的颜色。我们评估了几种纹理条件设置及其权衡,包括亮度、图像梯度和阈值化梯度,其中后者在同时保持纹理和颜色控制方面表现最佳。我们的方法可以有效地扩展到另一种实用编辑:在尊重源纹理的同时对图像的补丁进行重新着色。我们的流程得到了多项定性和定量评估的支持。

英文摘要:

We demonstrate an image dequantizing diffusion model that enables novel edits on natural images. We propose operating on quantized images because they offer easy abstraction for patch-based edits and palette transfer. In particular, we show that color palettes can make the output of the diffusion model easier to control and interpret. We first establish that existing image restoration methods are not sufficient, such as JPEG noise reduction models. We then demonstrate that our model can generate natural images that respect the color palette the user asked for. For palette transfer, we propose a method based on weighted bipartite matching. We then show that our model generates plausible images even after extreme palette transfers, respecting user query. Our method can optionally condition on the source texture in part or all of the image. In doing so, we overcome a common problem in existing image colorization methods that are unable to produce colors with a different luminance than the input. We evaluate several possibilities for texture conditioning and their trade-offs, including luminance, image gradients, and thresholded gradients, the latter of which performed best in maintaining texture and color control simultaneously. Our method can be usefully extended to another practical edit: recoloring patches of an image while respecting the source texture. Our procedure is supported by several qualitative and quantitative evaluations.

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

↑