Skip to content

jixiang2016/stereoBR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moment Reenacting: Inverse Motion Degradation with Cross-shutter Guidance

Xiang Ji, Guixu Lin, Zhengwei Yin, Jiancheng Zhao, and Yinqiang Zheng

The University of Tokyo

This repository provides the official PyTorch implementation of the paper.

TL;DR

This work proposes a unified framework to jointly address global shutter (GS) blur and rolling shutter (RS) distortion for reconstructing high-quality video frames under motion degradation. By introducing a novel dual-shutter setup that captures synchronized Blur-RS image pairs, the method leverages their complementary characteristics to resolve temporal and spatial ambiguities. To this end, we construct a triaxial imaging system to collect real-world aligned GS-RS pairs and high-speed ground truth frames. A dual-stream motion interpretation module and self-prompted reconstruction stage enable superior and generalizable video reconstruction under challenging motion scenarios.


image

Dependencies

  1. Python and Pytorch
  • Pyhotn=3.8 (Anaconda recommended)
  • Pytorch=1.11.0
  • CUDA=11.3/11.4
conda create -n dualbr python=3.8
conda activate dualbr
conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
  1. Other packages
pip install -r requirements.txt

Data and Pretrained Model

  • Download datasets realBR and synthetic data GOPRO-VFI_copy based on GOPRO.

  • Download real captured third-party-testset and stereoBR-testset.

  • Unzip them under a specified directory by yourself.

  • Please download dualBR checkpoints from this link and put them under root directory of this project.

  • Please download setreoBR checkpoints from this link and put them under root directory of this project.

Test

To test model, please run the command below:

bash ./test.sh       ### Please specify your data directory, output path in the script

Train

To train model, please run the command below:

bash ./train.sh       ### Please refer to the script for more info.

Acknowledgement

This project is implemented by partially referring to the code of work below:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors