Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement

IEEE/CVF International Conference on Computer Vision (ICCV), 2023

Yuanhao Cai1, Hao Bian1, Jing Lin1, Haoqian Wang1, Radu Timofte2, Yulun Zhang3

1 Tsinghua University 2 University of Würzburg 3 ETH Zürich

Low-light Video Enhancement

Foggy alley

Low-light

Retinexformer

Autumn waterfront

Low-light

Retinexformer

Late-night typing

Low-light

Retinexformer

Candlelight

Low-light

Retinexformer

Low-light Object Detection

Lantern-lit market

Low-light

Retinexformer

Guitar room

Low-light

Retinexformer

Underground garage

Low-light

Retinexformer

Living room game

Low-light

Retinexformer

Low-light Semantic Segmentation

Tram stop

Low-light

Retinexformer

Evening crossing

Low-light

Retinexformer

Tree-lined sidewalk

Low-light

Retinexformer

Park path

Low-light

Retinexformer

Low-light Human Pose Estimation

Ballet practice

Low-light

Retinexformer

Weight training

Low-light

Retinexformer

Winter arcade

Low-light

Retinexformer

Costume dinner

Low-light

Retinexformer

The downstream comparisons use different models for the two inputs, with annotations stabilized across frames.

Method

The One-stage Retinex-based Framework first estimates a light-up map and illumination features. The Illumination-Guided Transformer then restores the brightened image. Its attention blocks use the illumination features to model long-range interactions between differently lit regions. Method in the paper

Retinexformer architecture with an illumination estimator, an illumination-guided Transformer for restoration, and a detailed view of its attention block.
The illumination estimator guides both light-up and restoration.

Paper Results

Image enhancement on seven paired benchmarks (PSNR in dB / SSIM)
MethodFLOPs (G)Params (M)LOL-v1LOL-v2-realLOL-v2-synSIDSMIDSDSD-inSDSD-out
SID13.737.7614.35 / 0.43613.24 / 0.44215.04 / 0.61016.97 / 0.59124.78 / 0.71823.29 / 0.70324.90 / 0.693
3DLUT0.0750.5914.35 / 0.44517.59 / 0.72118.04 / 0.80020.11 / 0.59223.86 / 0.67821.66 / 0.65521.89 / 0.649
DeepUPE21.101.0214.38 / 0.44613.27 / 0.45215.08 / 0.62317.01 / 0.60423.91 / 0.69021.70 / 0.66221.94 / 0.698
RF46.2321.5415.23 / 0.45214.05 / 0.45815.97 / 0.63216.44 / 0.59623.11 / 0.68120.97 / 0.65521.21 / 0.689
DeepLPF5.861.7715.28 / 0.47314.10 / 0.48016.02 / 0.58718.07 / 0.60024.36 / 0.68822.21 / 0.66422.76 / 0.658
IPT6887115.3116.27 / 0.50419.80 / 0.81318.30 / 0.81120.53 / 0.56127.03 / 0.78326.11 / 0.83127.55 / 0.850
UFormer12.005.2916.36 / 0.77118.82 / 0.77119.66 / 0.87118.54 / 0.57727.20 / 0.79223.17 / 0.85923.85 / 0.748
RetinexNet587.470.8416.77 / 0.56015.47 / 0.56717.13 / 0.79816.48 / 0.57822.83 / 0.68420.84 / 0.61720.96 / 0.629
Sparse53.262.3317.20 / 0.64020.06 / 0.81622.05 / 0.90518.68 / 0.60625.48 / 0.76623.25 / 0.86325.28 / 0.804
EnGAN61.01114.3517.48 / 0.65018.23 / 0.61716.57 / 0.73417.23 / 0.54322.62 / 0.67420.02 / 0.60420.10 / 0.616
RUAS0.830.00318.23 / 0.72018.37 / 0.72316.55 / 0.65218.44 / 0.58125.88 / 0.74423.17 / 0.69623.84 / 0.743
FIDE28.518.6218.27 / 0.66516.85 / 0.67815.20 / 0.61218.34 / 0.57824.42 / 0.69222.41 / 0.65922.20 / 0.629
DRBN48.615.2720.13 / 0.83020.29 / 0.83123.22 / 0.92719.02 / 0.57726.60 / 0.78124.08 / 0.86825.77 / 0.841
KinD34.998.0220.86 / 0.79014.74 / 0.64113.29 / 0.57818.02 / 0.58322.18 / 0.63421.95 / 0.67221.97 / 0.654
Restormer144.2526.1322.43 / 0.82319.94 / 0.82721.41 / 0.83022.27 / 0.64926.97 / 0.75825.67 / 0.82724.79 / 0.802
MIRNet78531.7624.14 / 0.83020.02 / 0.82021.94 / 0.87620.84 / 0.60525.66 / 0.76224.38 / 0.86427.13 / 0.837
SNR-Net26.354.0124.61 / 0.84221.48 / 0.84924.14 / 0.92822.87 / 0.62528.49 / 0.80529.44 / 0.89428.66 / 0.866
Retinexformer15.571.6125.16 / 0.84522.80 / 0.84025.67 / 0.93024.44 / 0.68029.15 / 0.81529.77 / 0.89629.84 / 0.877
MIT-Adobe FiveK image enhancement
MethodPSNR (dB)FLOPs (G)
DeepUPE23.0421.10
MIRNet23.73785.0
SNR-Net23.8126.35
Restormer24.13144.3
Retinexformer24.9415.57
ExDark detection using YOLOv3 (AP %)
MethodBicycleBoatBottleBusCarCatChairCupDogMotorPeopleTableMean
MIRNet71.863.862.981.471.158.858.961.363.152.068.845.563.6
RetinexNet73.862.864.884.980.853.457.268.361.551.365.943.164.0
RUAS72.062.265.272.978.157.362.461.860.261.569.446.864.2
Restormer76.265.164.284.076.359.253.058.766.162.968.645.064.9
KinD72.266.558.983.774.555.461.761.363.863.070.547.865.0
ZeroDCE75.866.565.684.977.256.353.859.063.564.068.346.365.1
SNR-Net75.364.463.685.377.559.154.159.666.365.269.144.665.3
SCI74.665.365.885.476.359.457.160.565.663.969.145.965.6
Retinexformer76.366.765.984.777.661.253.560.767.563.469.546.066.1
Original low-light photos, competing methods, and Retinexformer results across LIME, NPE, MEF, DICM, and VV.
Qualitative image enhancement results on five benchmarks without paired reference images.

Awards

NTIRE 2022 Challenge on Spectral Recovery Winner Award certificate.
NTIRE 2022 Challenge on Spectral Recovery · Winner Award
NTIRE 2024 Low Light Enhancement Challenge Runner-Up Award certificate.
NTIRE 2024 Low Light Enhancement Challenge · Runner-Up Award

BibTeX

@inproceedings{cai2023retinexformer,
  title     = {Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement},
  author    = {Cai, Yuanhao and Bian, Hao and Lin, Jing and Wang, Haoqian and Timofte, Radu and Zhang, Yulun},
  booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision},
  year      = {2023},
  pages     = {12504--12513}
}