hanxuhfut / CVPR2019_Underexposed_Photo_Enhancement_Using_Deep_Illumination_Estimation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Underexposed Photo Enhancement Using Deep Illumination Estimation

Ruixing Wang1, Qing Zhang2, Chi-Wing Fu1, Xiaoyong Shen3, Wei-Shi Zheng2, Jiaya Jia1,3

1The chinese university of hong kong 2Sun Yat-sen University 3Tencent Youtu Lab

Thanks to the original author for sharing the code. This is my own modified version. Please refer to the author's homepage for details.

I modified the main/Makefile so that the compilation is successful. The modified "Makefile" is already in ‘main’ and I have compiled it in ‘build’.

Tested on Python 2.7, Ubuntu 14.0, gcc-4.8, CUDA 8.0, CUDNN 5.1, GeForce GTX TITAN X.
1) cd main
2) pip install -r requirements.txt
3) make
  1. Evaluation: The test set can be downloaded in https://drive.google.com/file/d/1HZnNgptNxjKJAhekz2K5yh0mW0yKIws2/view?usp=sharing. It includes 500 pair images from MIT-Adobe FiveK 4500-5000. You can download this and run:
    python main/run.py checkpoints <input file path> <output file path>

PSNR evaluation code is in avg_psnr.m. Modify the related paths in 'avg_psnr.m', and run it.

Bibtex

@InProceedings{Wang_2019_CVPR,
author = {Wang, Ruixing and Zhang, Qing and Fu, Chi-Wing and Shen, Xiaoyong and Zheng, Wei-Shi and Jia, Jiaya},
title = {Underexposed Photo Enhancement Using Deep Illumination Estimation},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}
}

About


Languages

Language:Python 57.0%Language:C++ 40.2%Language:MATLAB 1.5%Language:Makefile 1.4%