Skip to content

Latest commit

 

History

History
203 lines (119 loc) · 9.72 KB

README.md

File metadata and controls

203 lines (119 loc) · 9.72 KB

Exposure Bracketing is All You Need

Official PyTorch implementation of Exposure Bracketing is All You Need

In this work, we propose to utilize bracketing photography to unify image restoration and enhancement tasks, including image denoising, deblurring, high dynamic range reconstruction, and super-resolution. The paper is as follows:

Exposure Bracketing is All You Need for Unifying Image Restoration and Enhancement Tasks
Zhilu Zhang, Shuohao Zhang, Renlong Wu, Zifei Yan, Wangmeng Zuo
Harbin Institute of Technology, China
arXiv

We organized a Bracketing Image Restoration and Enhancement Challenge on NTIRE Workshop of CVPR 2024. The challenge report is as follows:

NTIRE 2024 Challenge on Bracketing Image Restoration and Enhancement: Datasets Methods and Results
Zhilu Zhang$^1$, Shuohao Zhang$^1$, Renlong Wu$^1$, Wangmeng Zuo$^1$, Radu Timofte$^2$, et al.
$^1$ Harbin Institute of Technology, China
$^2$ University of Würzburg, Germany
Challenge Report   |   Slides   |   Video   |   Poster

visitors

News

  • 2024-06-02: The training, inference and evaluation codes for real-world dataset have been released.

  • 2024-05-01: The training, inference and evaluation codes for synthetic dataset have been released.

  • 2024-03-26: The synthetic dataset has been released.

  • 2024-02-05: The codes, pre-trained models, and ISP for the Bracketing Image Restoration and Enhancement Challenge are released in NTIRE2024 folder. (The codes have been restructured. If there are any problems with the codes, please contact us.)

  • 2024-02-04: We organize the Bracketing Image Restoration and Enhancement Challenge in NTIRE 2024 (CVPR Workshop), including Track 1 (BracketIRE Task) and Track 2 (BracketIRE+ Task). Details can bee seen in NTIRE2024/README.md. Welcome to participate!

1. Abstract

It is highly desired but challenging to acquire high-quality photos with clear content in low-light environments. Although multi-image processing methods (using burst, dual-exposure, or multi-exposure images) have made significant progress in addressing this issue, they typically focus on specific restoration or enhancement problems, and do not fully explore the potential of utilizing multiple images. Motivated by the fact that multi-exposure images are complementary in denoising, deblurring, high dynamic range imaging, and super-resolution, we propose to utilize exposure bracketing photography to unify image restoration and enhancement tasks in this work. Due to the difficulty in collecting real-world pairs, we suggest a solution that first pre-trains the model with synthetic paired data and then adapts it to real-world unlabeled images. In particular, a temporally modulated recurrent network (TMRNet) and self-supervised adaptation method are proposed. Moreover, we construct a data simulation pipeline to synthesize pairs and collect real-world images from 200 nighttime scenarios. Experiments on both datasets show that our method performs favorably against the state-of-the-art multi-image processing ones.

2. Prerequisites and Datasets

2.1 Prerequisites

  • Python 3.9 and PyTorch 1.12.
  • opencv, numpy, Pillow, timm, tqdm, scikit-image and tensorboardX.
  • We provide detailed dependencies in requirements.txt

2.2 Synthetic Dataset

Please download the data from Baidu Netdisk (Chinese: 百度网盘).

2.3 Real-World Dataset

2.4 Pre-Trained Models

Note: If you cannot get a Baidu account, please use TeraBox and click https://terabox.com/s/1nZzGx4Anlp0syXcRhd6xqw to download.

3. Quick Start for Synthetic Experiments

3.1 Training

3.2 Testing

4. Quick Start for Real-World Experiments

4.1 Training

4.2 Testing

5. Note

5.1 Evaluation Method

  • Note that the evaluation method is different from that of 'Bracketing Image Restoration and Enhancement Challenges on NTIRE 2024'.
  • Here, we exclude invalid pixels around the image for evaluation, which is more reasonable.
  • Related explanations can be found in Appendix B in our revised paper.
  • We recommend that you use the new evaluation method in your future work.

5.2 Parameter Options

  • You can specify which GPU to use by --gpu_ids, e.g., --gpu_ids 0,1, --gpu_ids 3, --gpu_ids -1 (for CPU mode). In the default setting, all GPUs are used.
  • You can refer to options for more arguments.

6. Comparison of Multi-Image Processing Manners

7. Real-World Full-Image Results

  • BracketIRE task

  • BracketIRE+ task

8. Citation

If you find it useful in your research, please consider citing:

@article{BracketIRE,
    title={Exposure Bracketing is All You Need for Unifying Image Restoration and Enhancement Tasks},
    author={Zhang, Zhilu and Zhang, Shuohao and Wu, Renlong and Yan, Zifei and Zuo, Wangmeng},
    journal={arXiv preprint arXiv:2401.00766},
    year={2024}
}

@inproceedings{ntire2024bracketing,
    title={{NTIRE} 2024 Challenge on Bracketing Image Restoration and Enhancement: Datasets, Methods and Results},
    author={Zhang, Zhilu and Zhang, Shuohao and Wu, Renlong and Zuo, Wangmeng and Timofte, Radu and others},
    booktitle={CVPR Workshops},
    year={2024}
}

This work is also a continuation of our previous works, i.e., SelfIR (NeurIPS 2022) and SelfHDR (ICLR 2024). If you are interested in them, please consider citing:

@article{SelfIR,
    title={Self-supervised Image Restoration with Blurry and Noisy Pairs},
    author={Zhang, Zhilu and Xu, Rongjian and Liu, Ming and Yan, Zifei and Zuo, Wangmeng},
    journal={NeurIPS},
    year={2022}
}

@inproceedings{SelfHDR,
    title={Self-Supervised High Dynamic Range Imaging with Multi-Exposure Images in Dynamic Scenes},
    author={Zhang, Zhilu and Wang, Haoyu and Liu, Shuai and Wang, Xiaotao and Lei, Lei and Zuo, Wangmeng},
    booktitle={ICLR},
    year={2024}
}