Skip to content

lin-zhao-resoLve/Deep-Symmetric-Network-Enhancement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Symmetric Network for Underexposed Image Enhancement with Recurrent Attentional Learning (ICCV 2021)

This is the PyTorch implementation.

Dependencies and Installation

Dataset Preparation

  • the MIT-Adobe FiveK dataset: the original dataset is in link. We use the processed dataset from DISTORT-AND-RECOVER-CVPR18. The first 4,500 images and the last 500 images are used for training and testing respectively.
  • the LOL dataset: We use 400 pairs for training and 100 pairs for testing.

Get Started

cd codes

Training

set the config file in options/train/, then run:

python train.py -opt options/train/train_for_fiveK.yml
python train.py -opt options/train/train_for_lol.yml

Test

set the config file in options/test/, then run:

python test.py -opt options/test/test_for_fiveK.yml
python test.py -opt options/test/test_for_lol.yml

The pretrained model

The pre-trained model for the FiveK dataset is in codes/pretrained_model

Architecture

Invertible Architecture

Quantitative Results

Quantitative evaluation results (PSNR / SSIM) of different methods on the two benchmark datasets. The images in the LOL dataset are in PNG format, while the images in the MIT-Adobe FiveK dataset are in JPEG format. Quantitative result

Qualitative Results

The results of different methods on challenging images: Qualitative result

The visual results of different methods for the underexposed image in the MIT-Adobe FiveK dataset: Qualitative result for all

Comparison results with image retouching methods on the image in the MIT-Adobe FiveK dataset: Qualitative result for retouching

The results of low-light image enhancement methods on the image in LOL dataset: Qualitative result for low

Acknowledgement

Errata

  • DeepLPF: Deep Local Parametric Filters for Image Enhancement
  • In the camera-ready of our ICCV paper, there are mistakes for the DeepLPF results in Fig. 1(c), Fig. 5(n), Fig. 6(g) and Tab. 1. The reason is that we trained 300 epochs with the batch size as 30 (we randomly cropped each image to 250x250 to set multiple batch sizes for training), while the original set is batch_size = 1. After the authors reminded us, we set the batch size to 1 and re-trained for 300 epochs to correct the results of the figures and tables in the paper.
  • Here are the updated PDF and project page of our paper.

License

It is open source under BSD-3 license. Codes can be used freely only for academic or education purpose. If you want to apply it to industrial products, please send an email to Shao-Ping Lu at slu@nankai.edu.cn first.

Citation

@InProceedings{Zhao_2021_ICCV,
    author    = {Zhao, Lin and Lu, Shao-Ping and Chen, Tao and Yang, Zhenglu and Shamir, Ariel},
    title     = {Deep Symmetric Network for Underexposed Image Enhancement With Recurrent Attentional Learning},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2021},
    pages     = {12075-12084}
}

Contact

If you have any questions, please contact lin-zhao@mail.nankai.edu.cn.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published