Image Referenced Sketch Colorization Based on Animation Creation Workflow

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yan, Dingkun, Wang, Xinrui, Li, Zhuoru, Saito, Suguru, Iwasawa, Yusuke, Matsuo, Yutaka, Guo, Jiaxian
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916633285492736
author Yan, Dingkun
Wang, Xinrui
Li, Zhuoru
Saito, Suguru
Iwasawa, Yusuke
Matsuo, Yutaka
Guo, Jiaxian
author_facet Yan, Dingkun
Wang, Xinrui
Li, Zhuoru
Saito, Suguru
Iwasawa, Yusuke
Matsuo, Yutaka
Guo, Jiaxian
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19937
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Image Referenced Sketch Colorization Based on Animation Creation Workflow
Yan, Dingkun
Wang, Xinrui
Li, Zhuoru
Saito, Suguru
Iwasawa, Yusuke
Matsuo, Yutaka
Guo, Jiaxian
Computer Vision and Pattern Recognition
Multimedia
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.
title Image Referenced Sketch Colorization Based on Animation Creation Workflow
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2502.19937