DiffBIR: Towards Blind Image Restoration with Generative Diffusion Prior

Xinqi Lin, Jingwen He, Ziyan Chen, Zhaoyang Lyu, Bo Dai +4 more
8/29/2023
363 citations
cs.CV
diffusion-flow

Official code: XPixelGroup/DiffBIR (4,121 stars, Python, Apache-2.0, last commit 2025-07-29).

Abstract

We present DiffBIR, a general restoration pipeline that could handle different blind image restoration tasks in a unified framework. DiffBIR decouples blind image restoration problem into two stages: 1) degradation removal: removing image-independent content; 2) information regeneration: generating the lost image content.

Show full abstract

Each stage is developed independently but they work seamlessly in a cascaded manner. In the first stage, we use restoration modules to remove degradations and obtain high-fidelity restored results. For the second stage, we propose IRControlNet that leverages the generative ability of latent diffusion models to generate realistic details. Specifically, IRControlNet is trained based on specially produced condition images without distracting noisy content for stable generation performance. Moreover, we design a region-adaptive restoration guidance that can modify the denoising process during inference without model re-training, allowing users to balance realness and fidelity through a tunable guidance scale. Extensive experiments have demonstrated DiffBIR's superiority over state-of-the-art approaches for blind image super-resolution, blind face restoration and blind image denoising tasks on both synthetic and real-world datasets. The code is available at https://github.com/XPixelGroup/DiffBIR.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ECCV 2024] codes of DiffBIR: Towards Blind Image Restoration with Generative Diffusion Prior

4,121363Python, JavaScriptAug 28, 20231 years agoApache-2.0
image-enhancementimage-restoration

Similar Papers

Cite this paper

@article{lin2023diffbir,
  title  = {DiffBIR: Towards Blind Image Restoration with Generative Diffusion Prior},
  author = {Xinqi Lin and Jingwen He and Ziyan Chen and Zhaoyang Lyu and Bo Dai and Fanghua Yu and Wanli Ouyang and Yu Qiao and Chao Dong},
  year   = {2023},
  eprint = {2308.15070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.15070v3}
}

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/2308.15070.svg)](https://codeofpaper.com/paper/2308.15070)

Discussion