Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement
About
When enhancing low-light images, many deep learning algorithms are based on the Retinex theory. However, the Retinex model does not consider the corruptions hidden in the dark or introduced by the light-up process. Besides, these methods usually require a tedious multi-stage training pipeline and rely on convolutional neural networks, showing limitations in capturing long-range dependencies. In this paper, we formulate a simple yet principled One-stage Retinex-based Framework (ORF). ORF first estimates the illumination information to light up the low-light image and then restores the corruption to produce the enhanced image. We design an Illumination-Guided Transformer (IGT) that utilizes illumination representations to direct the modeling of non-local interactions of regions with different lighting conditions. By plugging IGT into ORF, we obtain our algorithm, Retinexformer. Comprehensive quantitative and qualitative experiments demonstrate that our Retinexformer significantly outperforms state-of-the-art methods on thirteen benchmarks. The user study and application on low-light object detection also reveal the latent practical values of our method. Code, models, and results are available at https://github.com/caiyuanhao1998/Retinexformer
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Denoising | BSD68 | PSNR30.84 | 297 | |
| Image Deblurring | GoPro | PSNR25.09 | 221 | |
| Low-light Image Enhancement | LOL | PSNR25.16 | 122 | |
| Dehazing | SOTS | PSNR24.81 | 117 | |
| Deraining | Rain100L | PSNR32.68 | 116 | |
| Low-light Image Enhancement | LOL v1 | PSNR27.14 | 113 | |
| Low-light Image Enhancement | LOL real v2 (test) | PSNR27.694 | 104 | |
| Low-light Image Enhancement | LOL (test) | PSNR25.16 | 97 | |
| Low-light Image Enhancement | LOL syn v2 | PSNR28.99 | 87 | |
| Low-light Image Enhancement | LOL real v2 | PSNR27.69 | 83 |