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

基于动画制作流程的图像参考素描着色

Image Referenced Sketch Colorization Based on Animation Creation Workflow

Institute of Science Tokyo(东京科学大学);The University of Tokyo(东京大学)

Dingkun Yan, Xinrui Wang, Zhuoru Li, Suguru Saito, Yusuke Iwasawa, Yutaka Matsuo, Jiaxian Guo

AI总结:

针对现有素描着色方法在参考准确性、手动操作和伪影问题上的不足,提出一种基于扩散的框架,利用素描和RGB图像分别作为空间与颜色引导,通过拆分交叉注意力与LoRA模块独立处理前景背景,生成高质量无伪影结果。

摘要:

素描着色在动画和数字插画制作任务中扮演着重要角色。然而,现有方法仍存在问题:文本引导方法无法提供准确的颜色和风格参考,提示引导方法仍涉及手动操作,而图像参考方法容易产生伪影。为了解决这些局限性,我们提出了一种受现实动画制作流程启发的基于扩散的框架。我们的方法利用素描作为空间引导,以RGB图像作为颜色参考,并通过空间掩码从参考图像中分别提取前景和背景。特别地,我们引入了一种带有LoRA(低秩适应)模块的拆分交叉注意力机制。这些模块分别针对前景和背景区域进行训练,以控制交叉注意力中键和值的对应嵌入。这种设计使得扩散模型能够独立地整合前景和背景信息,防止相互干扰并消除空间伪影。在推理过程中,我们通过改变框架中激活的模块,设计了可切换的推理模式以适应不同的使用场景。大量的定性和定量实验以及用户研究证明,我们在生成高质量、无伪影且具有几何不匹配参考的结果方面优于现有方法。消融研究进一步证实了每个组件的有效性。代码可在 https://github.com/tellurion-kanata/colorizeDiffusion 获取。

英文摘要:

Sketch colorization plays an important role in animation and digital illustration production tasks. However, existing methods still meet problems in that text-guided methods fail to provide accurate color and style reference, hint-guided methods still involve manual operation, and image-referenced methods are prone to cause artifacts. To address these limitations, we propose a diffusion-based framework inspired by real-world animation production workflows. Our approach leverages the sketch as the spatial guidance and an RGB image as the color reference, and separately extracts foreground and background from the reference image with spatial masks. Particularly, we introduce a split cross-attention mechanism with LoRA (Low-Rank Adaptation) modules. They are trained separately with foreground and background regions to control the corresponding embeddings for keys and values in cross-attention. This design allows the diffusion model to integrate information from foreground and background independently, preventing interference and eliminating the spatial artifacts. During inference, we design switchable inference modes for diverse use scenarios by changing modules activated in the framework. Extensive qualitative and quantitative experiments, along with user studies, demonstrate our advantages over existing methods in generating high-qualigy artifact-free results with geometric mismatched references. Ablation studies further confirm the effectiveness of each component. Codes are available at https://github.com/ tellurion-kanata/colorizeDiffusion.

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

↑