Skip to content

The source code for "Towards Robust Event-guided Low-Light Image Enhancement: A Large-Scale Real-World Event-Image Dataset and Novel Approach" (CVPR24 Oral)

License

Notifications You must be signed in to change notification settings

EthanLiang99/EvLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Towards Robust Event-guided Low-Light Image Enhancement: A Large-Scale Real-World Event-Image Dataset and Novel Approach (CVPR24 Oral)

arXiv

News 📢

  • 2024.04.06: We plan to release our dataset and code no later than July.
  • 2024.06.15: Our dataset and synthetic event dataset of SDSD are released.
  • 2024.08.24: Our code is released.
  • 2024.12.12: Normal-light event streams are released.

TODO list 📌

  • The release of synthetic event dataset of SDSD
  • The release of our collected SDE dataset
  • The release of our code
  • The release of split normal-light event streams and the whole normal-light event streams

Usage 💻

Dependency

pip install -r requirements.txt

Test

  • Download pretrained models (baidu pan (pwd: 8agv) and Onedrive)

  • Change the path to the models and dataset in options/test/xxx.yaml .

sh options/test/xxx.sh

Train

  • Change the path to dataset in options/train/xxx.yaml .
sh options/train/xxx.sh

SDE dataset 📁

SED dataset contains 91 image+event paired sequences (43 indoor sequences and 48 outdoor sequences) captured with a DAVIS346 event camera which outputs RGB images and events with the resolution of 346*260. For all collected sequences, 76 sequences are randomly selected for training, and 15 sequences are for testing.

You can download the aglined dataset for experiments using the following link: baidu pan (pwd: w7qe) and Onedrive.

The arrangement of the dataset is

--indoor/outdoor 
| 
----test 
|   | 
|   ----pair1 
|       | 
|       ----low 
|       |   | 
|       |   ----xxx.png (low-light RGB frame) 
|       |   ----xxx.npz (split low-light event streams) 
|       |   ----lowligt_event.npz (the whole low-light event stream) 
|       | 
|       ----normal 
|           | 
|           ----xxx.png (normal-light RGB frame) 
| 
----train 
    | 
    ----pair1 
        | 
        ----low 
        |   | 
        |   ----xxx.png (low-light RGB frame) 
        |   ----xxx.npz (split low-light event streams) 
        |   ----lowligt_event.npz (the whole low-light event stream) 
        | 
        ----normal 
            | 
            ----xxx.png (normal-light RGB frame) 

We have uploaded the normal-light event stream, whose format is the same as the low-light version. Please feel free to check the link: Onedrive. Since our work focuses on the consistency between normal-light and low-light images, we have not yet checked the consistency between normal-light and low-light event streams.

SDSD dataset 📁

Unlike the original configuration in SDSD, our project incorporates events as an additional input. We have provided the processed event data for this purpose. To prepare the data, we downsampled the original videos to the resolution of the DAVIS346 event camera (346x260) and inputted these resized images into the v2e event simulator. This simulator uses its default model to synthesize noisy event streams.

You can download the processed event dataset for experiments using the following link: baidu pan (pwd: wrjv) and Onedrive. We fix the problem in the SDSD out dataset, pls download the latest version!

Due to slow motion at the beginning and end of videos, the generated events may be sparse. Therefore, we recommend skipping the first three and last three split event files.

The arrangement of the dataset is

--indoor/outdoor 
| 
----test 
|   | 
|   ----pair1 
|       | 
|       ----low (the split low-light event streams for each RGB frame) 
|       ----low_event (the whole synthetic low-light event stream) 
| 
----train 
    | 
    ----pair1 
        | 
        ----low (the split low-light event streams for each RGB frame) 
        ----low_event (the whole synthetic low-light event stream) 

Citations 🎓

If this work is helpful for your research, please consider citing the following BibTeX entry.

@inproceedings{liang2024towards,
  title={Towards Robust Event-guided Low-Light Image Enhancement: A Large-Scale Real-World Event-Image Dataset and Novel Approach},
  author={Liang, Guoqiang and Chen, Kanghao and Li, Hangyu and Lu, Yunfan and Wang, Lin},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={23--33},
  year={2024}
}

Acknowledgment:

Thanks to these open source projects: INR-Event-VSR and Retinexformer.

About

The source code for "Towards Robust Event-guided Low-Light Image Enhancement: A Large-Scale Real-World Event-Image Dataset and Novel Approach" (CVPR24 Oral)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published