Giter Club home page Giter Club logo

rss-t's Introduction

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:

rss-t's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.