Papers › DDColor: Towards Photo-Realistic Image Colorization via Dual Decoders

DDColor: Towards Photo-Realistic Image Colorization via Dual Decoders

22 Dec 2022ICCV 2023 1arXiv:2212.11613archive 2025-07-28

Xiaoyang Kang, Tao Yang, Wenqi Ouyang, Peiran Ren, Lingzhi Li, Xuansong Xie

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.11613")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

piddnad/ddcolor officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from piddnad/ddcolor. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

batchnorm_2d piddnad/ddcolor/basicsr/archs/ddcolor_arch_utils/unet.py official repository unverified Apache-2.0 (permissive) · 2f282ebbc693d787 · report
build_ddcolor_model piddnad/ddcolor/ddcolor/pipeline.py official repository unverified Apache-2.0 (permissive) · 5cb23411ee91ac09 · report
conv1d piddnad/ddcolor/basicsr/archs/ddcolor_arch_utils/unet.py official repository unverified Apache-2.0 (permissive) · 0dcc55ae179ff89e · report
init_default piddnad/ddcolor/basicsr/archs/ddcolor_arch_utils/unet.py official repository unverified Apache-2.0 (permissive) · dc3cdfe4a1da4a85 · report
load_checkpoint_state_dict piddnad/ddcolor/ddcolor/pipeline.py official repository unverified Apache-2.0 (permissive) · c9e686c88e395c2a · report
reduce_loss piddnad/ddcolor/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · a648a03a952822c0 · report
rgb2lab piddnad/ddcolor/basicsr/archs/ddcolor_arch_utils/util.py official repository unverified Apache-2.0 (permissive) · 4f9bbf6df4c2dae8 · report
tensor_lab2rgb piddnad/ddcolor/basicsr/archs/ddcolor_arch_utils/util.py official repository unverified Apache-2.0 (permissive) · cf3b798d1e6d8938 · report
weight_reduce_loss piddnad/ddcolor/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · 1ba39317ea81871a · report
weighted_loss piddnad/ddcolor/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · cf63f8afc13f62a7 · report

Tasks

ColorizationDecoderImage Colorization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Colorization

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections