Awesome
<h1 align="center"> <a href="https://arxiv.org/abs/2305.15078">UniINR: Event-guided Unified Rolling Shutter Correction, Deblurring, and Interpolation</a></h1> <h5 align="center"> If you like our project, please give us a star ⭐ on GitHub for the latest update. For any questions, contact me via Issue or email (email preferred).</h5> <h5 align="center"><i> ylu066 at connect.hkust-gz.edu.cn </i></h5>UniINR is an advanced neural framework designed to handle rolling shutter correction, deblurring, and interpolation in a unified approach guided by event-based inputs. This repository provides the code, datasets, and pre-trained models for reproducing results from our ECCV 2024 paper.
Overview
Our framework, UniINR, is aimed at enhancing video quality by addressing key challenges that arise in event-guided imaging, such as rolling shutter distortion, motion blur, and interpolation between frames. This repository includes all essential tools to train, test, and extend our approach.
- Video Demo: YouTube Link
- Paper: Arxiv PDF
Pre-trained Models and Logs
For quicker experiments, we provide pre-trained models along with their visualization results and log files. Access them through the provided download links, which should assist in replication and further experiments. Release Link: OneDrive
Dataset
Our work is built on two primary datasets used for training and testing:
- DeepUnrollNet Dataset (GitHub Link)
- EvUnroll Dataset (GitHub Link)
Additionally, our training incorporates:
- GEV Dataset: Available for download on Baidu
- Fastec Dataset: Fastec is segmented for training and testing:
Simulating New Data
For generating new rolling shutter and blurred datasets, use the following scripts:
- Rolling Shutter Blurred Frames:
tools/1-rs-blur-dataset-generation/generate_rs_blur_frames_fastec.sh
- Rolling Shutter Sharp Frames:
tools/1-rs-blur-dataset-generation/generate_rs_sharp_frames_fastec.sh
Or, customize dataset generation with:
python tools/1-rs-blur-dataset-generation/generate_rs_blur_frames.py \
--dataset_path="./dataset/2-Fastec-Simulated/Train/" \
--blur_accumulate_frames=<level of blur> \
--blur_accumulate_step=<rolling step size> \
--dataset="Fastec"
Training
To begin training, use the following command structure:
python egrsdb/main.py \
--yaml_file=<YAML_FILE> \
--log_dir=<LOG_DIR> \
--alsologtostderr=True
Ensure that the specified YAML_FILE
contains the correct configuration for your experiment setup.
Citation
If you find UniINR helpful in your research, please consider citing our paper:
@inproceedings{yunfanuniinr,
title = {UniINR: Event-guided Unified Rolling Shutter Correction, Deblurring, and Interpolation},
author = {Yunfan, LU and Liang, Guoqiang and Wang, Yusheng and Wang, Lin and Xiong, Hui},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2024},
}
Acknowledgements
We would like to thank the authors of the following works for making their datasets available, which greatly facilitated our research:
- DeepUnrollNet (GitHub Link)
- EvUnroll (GitHub Link)