这是以下论文的实现。
Unsupervised Night Image Enhancement: When Layer Decomposition Meets Light-Effects Suppression
European Conference on Computer Vision (ECCV'2022
)
Yeying Jin、Wenhan Yang和Robby T. Tan
CVPR2021
Nighttime Visibility Enhancement by Increasing the Dynamic Range and Suppression of Light Effects [论文]ECCV2020
Nighttime Defogging Using High-Low Frequency Decomposition and Grayscale-Color Networks [论文]ICCV2017
A New Convolution Kernel for Atmospheric Point Spread Function Applied to Computer Vision [论文]glow_rendering_code/repro_ICCV2007_Fig5.m
<p align="left">
<img width=350" src="https://yellow-cdn.veclightyear.com/ab5030c0/b4df416a-692f-4fb5-af30-be6708d47477.PNG">
</p>
### 2. 低光照增强数据
LOL 数据集 <br> "Deep Retinex Decomposition for Low-Light Enhancement", BMVC, 2018. [百度云 (code:sdd0)] | [Google Drive] <br>
LOL-Real 数据集 <br> "Sparse Gradient Regularized Deep Retinex Network for Robust Low-Light Image Enhancement", TIP, 2021. [百度云 (code:l9xm)] | [Google Drive] <br>
./results/LOL/model/
中./LOL/
中🔥🔥 在线测试: https://replicate.com/cjwbw/night-enhancement
python main.py
没有分解、光效引导的低光照增强。
<p align="left"> <img width="750" src="https://yellow-cdn.veclightyear.com/ab5030c0/0eb8991c-7841-4881-880d-780feaca218b.PNG"> </p>CUDA_VISIBLE_DEVICES=1 python main.py --dataset LOL --phase train --datasetpath /home1/yeying/data/LOL_Cap/
在 LOL-test 数据集上获得以下表 3 中的结果。
学习 | 方法 | PSNR | SSIM |
---|---|---|---|
无监督学习 | 我们的 | 21.521 | 0.7647 |
N/A | 输入 | 7.773 | 0.1259 |
在 LOL-Real 数据集上获得以下表 4 中的结果。
学习 | 方法 | PSNR | SSIM |
---|---|---|---|
无监督学习 | 我们的 | 25.51 | 0.8015 |
N/A | 输入 | 9.72 | 0.1752 |
在 LOL_V2_real (698 个训练图像) 上重新训练(从头开始训练),并在 LOL_V2_real 上进行测试 [Dropbox] | [BaiduPan (code:lol2)].<br> PSNR: 20.85 (vs EnlightenGAN 的 18.23), SSIM: 0.7243 (vs EnlightenGAN 的 0.61)。
./results/delighteffects/model/
中./light-effects/
中python main_delighteffects.py
输入位于./light-effects/
,输出位于./light-effects-output/
。<br>
输入
和输出
分别是翻译网络的trainA
和trainB
。
demo_all.ipynb
python demo.py
<p align="left">
<img width="950" src="https://yellow-cdn.veclightyear.com/ab5030c0/57fe1835-c8e8-4e40-ae1f-a962ce9d20e1.PNG">
</p>
输入位于./light-effects/
,输出位于./light-effects-output/DSC01065/
。<br>
输入
和输出
分别是翻译网络的trainA
和trainB
。
python demo_separation.py --img_name DSC01065.JPG
demo_decomposition.m
输入
和初始背景结果
分别是翻译网络的trainA
和trainB
。
初始背景结果 [Dropbox] |
---|