DDColor: Towards Photo-Realistic Image Colorization via Dual Decoders

Xiaoyang Kang, Tao Yang, Wenqi Ouyang, Peiran Ren, Lingzhi Li +1 more
12/22/2022
cs.CV
transformer-attention

Official code: piddnad/DDColor (1,521 stars, Python, Apache-2.0, PyTorch, last commit 2026-01-17).

Abstract

Image colorization is a challenging problem due to multi-modal uncertainty and high ill-posedness. Directly training a deep neural network usually leads to incorrect semantic colors and low color richness.

Show full abstract

While transformer-based methods can deliver better results, they often rely on manually designed priors, suffer from poor generalization ability, and introduce color bleeding effects. To address these issues, we propose DDColor, an end-to-end method with dual decoders for image colorization. Our approach includes a pixel decoder and a query-based color decoder. The former restores the spatial resolution of the image, while the latter utilizes rich visual features to refine color queries, thus avoiding hand-crafted priors. Our two decoders work together to establish correlations between color and multi-scale semantic representations via cross-attention, significantly alleviating the color bleeding effect. Additionally, a simple yet effective colorfulness loss is introduced to enhance the color richness. Extensive experiments demonstrate that DDColor achieves superior performance to existing state-of-the-art works both quantitatively and qualitatively. The codes and models are publicly available at https://github.com/piddnad/DDColor.

View on arXivView PDF

Code Implementations(1)

piddnad/DDColorOfficial100%
PyTorchApache-2.0

[ICCV 2023] DDColor: Towards Photo-Realistic Image Colorization via Dual Decoders

1,521167Python, ShellDec 23, 202210 months agoApache-2.0
computer-visionimage-colorizationpytorch

Similar Papers

Cite this paper

@article{kang2022ddcolor,
  title  = {DDColor: Towards Photo-Realistic Image Colorization via Dual Decoders},
  author = {Xiaoyang Kang and Tao Yang and Wenqi Ouyang and Peiran Ren and Lingzhi Li and Xuansong Xie},
  year   = {2022},
  eprint = {2212.11613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11613}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11613.svg)](https://codeofpaper.com/paper/2212.11613)

Discussion