Command Palette
Search for a command to run...
Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement
Cai Yuanhao ; Bian Hao ; Lin Jing ; Wang Haoqian ; Timofte Radu ; Zhang Yulun

Abstract
When enhancing low-light images, many deep learning algorithms are based onthe Retinex theory. However, the Retinex model does not consider thecorruptions hidden in the dark or introduced by the light-up process. Besides,these methods usually require a tedious multi-stage training pipeline and relyon convolutional neural networks, showing limitations in capturing long-rangedependencies. In this paper, we formulate a simple yet principled One-stageRetinex-based Framework (ORF). ORF first estimates the illumination informationto light up the low-light image and then restores the corruption to produce theenhanced image. We design an Illumination-Guided Transformer (IGT) thatutilizes illumination representations to direct the modeling of non-localinteractions of regions with different lighting conditions. By plugging IGTinto ORF, we obtain our algorithm, Retinexformer. Comprehensive quantitativeand qualitative experiments demonstrate that our Retinexformer significantlyoutperforms state-of-the-art methods on thirteen benchmarks. The user study andapplication on low-light object detection also reveal the latent practicalvalues of our method. Code, models, and results are available athttps://github.com/caiyuanhao1998/Retinexformer
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| image-enhancement-on-mit-adobe-5k | Retinexformer | PSNR on proRGB: 25.98 PSNR on sRGB: 24.94 SSIM on proRGB: 0.957 SSIM on sRGB: 0.907 |
| low-light-image-deblurring-and-enhancement-on | RetinexFormer | Average PSNR: 22.904 LPIPS: 0.236 SSIM: 0.824 |
| low-light-image-enhancement-on-dicm | Retinexformer | User Study Score: 3.71 |
| low-light-image-enhancement-on-lime | Rextinexformer | User Study Score: 4.3 |
| low-light-image-enhancement-on-lol | Retinexformer_ | Average PSNR: 27.18 FLOPS (G): 15.57 Params (M): 1.61 SSIM: 0.850 |
| low-light-image-enhancement-on-lol | Retinexformer | Average PSNR: 25.16 FLOPS (G): 15.57 Params (M): 1.61 SSIM: 0.845 |
| low-light-image-enhancement-on-lol-v2 | Retinexformer | Average PSNR: 22.80 SSIM: 0.840 |
| low-light-image-enhancement-on-lol-v2-1 | Retinexformer | PSNR: 25.67 SSIM: 0.939 |
| low-light-image-enhancement-on-lolv2 | Retinexformer | Average PSNR: 27.71 SSIM: 0.856 |
| low-light-image-enhancement-on-lolv2-1 | Retinexformer | Average PSNR: 29.04 SSIM: 0.939 |
| low-light-image-enhancement-on-mef | Retinexformer | User Study Score: 3.91 |
| low-light-image-enhancement-on-mit-adobe-1 | Retinexformer | PSNR: 24.94 SSIM: 0.907 |
| low-light-image-enhancement-on-npe | Retinexformer | User Study Score: 4.17 |
| low-light-image-enhancement-on-sdsd-indoor | Retinexformer | PSNR: 29.77 |
| low-light-image-enhancement-on-sdsd-outdoor | Retinexformer | PSNR: 29.84 |
| low-light-image-enhancement-on-sid | Retinexformer | PSNR: 24.44 SSIM: 0.680 |
| low-light-image-enhancement-on-smid | Retinexformer | PSNR: 29.15 |
| low-light-image-enhancement-on-vv | Rextinexformer | User Study Score: 3.61 |
| photo-retouching-on-mit-adobe-5k | Retinexformer | PSNR: 24.94 SSIM: 0.907 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.