[论文解读] Text2Colors: Guiding Image Colorization through Text-Driven Palette Generation.
本文提出 Text2Colors,一种基于条件生成对抗网络(cGAN)框架的方法,能够从文本输入(从单个单词到完整句子)生成多个语义对齐的颜色调色板。该方法采用带有注意力机制的序列到序列模型进行文本到调色板的生成,并利用基于U-Net的网络实现调色板引导的图像着色,其生成的调色板在人类偏好测试中优于真实标签,且实现了有效的语义着色。
In this paper, we propose a novel approach to generate multiple color palettes that reflect the semantics of input text and then colorize a given grayscale image according to the generated color palette. In contrast to existing approaches, our model can understand rich text, whether it is a single word, a phrase, or a sentence, and generate multiple possible palettes from it. To achieve this task, we introduce our manually curated dataset called Palette-and-Text (PAT), which consists of 10,183 pairs of text and its corresponding color palette. Our proposed model consists of two conditional generative adversarial networks: the text-to-palette generation networks and the palette-based colorization networks. The former employs a sequence-to-sequence model with an attention module to capture the semantics of the text input and produce relevant color palettes. The latter utilizes a U-Net architecture to colorize a grayscale image using the generated color palette. Our evaluation results show that people preferred our generated palettes over ground truth palettes and that our model can effectively reflect the given palette when colorizing an image.
研究动机与目标
- 实现基于文本的多种多样化调色板生成,以反映语义内容。
- 解决现有着色方法依赖固定或单一调色板的局限性。
- 开发能够理解丰富文本输入(包括短语和句子)以生成调色板的模型。
- 构建一个支持文本到调色板模型训练与评估的数据集。
- 通过使生成的颜色与语义文本描述对齐,提升图像着色质量。
提出的方法
- 该模型采用带有注意力机制的序列到序列架构,对文本输入进行编码并生成相应的调色板。
- 采用条件生成对抗网络(cGAN)进行文本到调色板的生成,以确保输出的逼真性与多样性。
- 一个独立的基于cGAN的U-Net网络,根据生成的调色板执行图像着色。
- 训练过程基于人工精心筛选的10,183对文本-调色板数据集(命名为 Palette-and-Text,PAT),进行监督学习。
- 模型通过对抗损失与感知损失进行端到端训练,以确保语义保真度与视觉质量。
- 使用文本嵌入同时对齐调色板生成与着色网络,实现语义一致性。
实验结果
研究问题
- RQ1模型能否从多样化的文本输入(如单个单词、短语或句子)中生成多个语义相关的调色板?
- RQ2与真实标签调色板相比,生成的调色板在多大程度上反映了输入文本的语义含义?
- RQ3基于调色板的图像着色能否产生比基线方法更语义一致的结果?
- RQ4在受控评估中,人类是否更偏好生成的调色板而非真实标签调色板?
- RQ5当将文本语义传递至图像着色时,该模型在多大程度上保持了语义内容?
主要发现
- 在直接对比中,人类评估者更偏好生成的调色板而非真实标签调色板,表明其具有较强的语义对齐性与美学质量。
- 该模型能够从同一文本输入成功生成多个多样化调色板,反映出对语义内容的不同解读。
- 基于调色板的着色实现了高视觉保真度,生成的图像与输入文本的语义意图高度一致。
- 序列到序列模型中的注意力机制有效捕捉了文本中的长距离依赖关系,提升了调色板的相关性。
- 采用条件批归一化的U-Net架构实现了精确着色,使结果紧密贴合生成的调色板。
- 所提出的PAT数据集(包含10,183对文本-调色板)为未来文本引导着色研究提供了有价值的基准。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。