Skip to content

jixiang2016/RSS-T

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single Image Deblurring with Row-dependent Blur Magnitude

visitors Paper | Supp | Dataset

Xiang Ji1, Zhixiang Wang1,2, Shin'ichi Satoh2,1, Yinqiang Zheng1

1The University of Tokyo  2National Institute of Informatics  

This repository provides the official PyTorch implementation of the paper.

TL;DR

This paper explores a novel in-between exposure mode called global reset release (GRR) shutter, which produces GS-like blur but with row-dependent blur magnitude. We take advantage of this unique characteristic of GRR to explore the latent frames within a single image and restore a clear counterpart by relying only on these latent contexts.

image

Dependencies

  1. Python and Pytorch
  • Pyhotn=3.8 (Anaconda recommended)
  • Pytorch=1.11.0
  • CUDA=11.3/11.4
conda create -n rsst python=3.8
conda activate rsst
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 GRR_real and RSGR-GS_v1.
  • Unzip them under a specified directory by yourself.
  • The dataset folder structure should be like the format below (Minor adjustments to the folder structure of RSGR-GS_v1 may be needed.):
GRR_real
├─ train
│ ├─ seq1    % 50 sequences
│ │ ├─ GS
| | | ├─ PNG
| | | | ├─xxxx.png
| | | | ├─......
| | | ├─ RAW (same as PNG)
| | | | ├─ ......
│ │ ├─ RSGR (same as GS)
| | | ├─ ......
│ │
│─ validate  %  7 sequences
│ ├─ ...... (same as train)
│
├─ test    % 7 sequences
│ ├─ ...... (same as train)
  • Please download checkpoints from this link and put them under root directory of this project.

Test

To test RSS-T, please run the command below:

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

Train

To train RSS-T, please run the command below:

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

Citation

If you find our work useful, please kindly cite as:

@InProceedings{Ji_2023_ICCV,
    author    = {Ji, Xiang and Wang, Zhixiang and Satoh, Shin'ichi and Zheng, Yinqiang},
    title     = {Single Image Deblurring with Row-dependent Blur Magnitude},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2023},
    pages     = {12269-12280}
}

Acknowledgement

This project is based on public works below:

Releases

No releases published

Packages

No packages published