Code Monkey home page Code Monkey logo

rcd's Introduction

Real-time Controllable Denoising for Image and Video

Zhaoyang Zhang, Yitong Jiang, Wenqi Shao, Xiaogang Wang, Ping Luo, Kaimo Lin, Jinwei Gu

The official pytorch implementation of the paper [Real-time Controllable Denoising for Image and Video]

| Github | Page | Paper | Arxiv |

Demo Video

Demo_RCD_small.mp4

Installation

This implementation based on [BasicSR]

Basic requirements:

python 3.9.12
pytorch 1.12.1
cuda 11.8

Other requirements:

pip install -r requirements.txt
python setup.py develop --no_cuda_ext

Quick Start

Evaluate on Nam Dataset:

Data Preparation:

  1. Download Nam dataset
  2. Crop the gt and input images into 512*512 patches and save as gt.lmdb and input.lmdb, respectively. (or download from Google Drive GT and Input)
  3. Edit the dataroot_lq and dataroot_gt in NAFNet-RCD-tiny.yml to the corresponding paths: /your_path/gt.lmdb and /your_path/input.lmdb

Test Nam real image noise dataset with NAFNet-RCD-tiny model, which is trained on SIDD training dataset

python basicsr/test.py --opt options/test/NAFNet-RCD-tiny.yml

Evaluate on SIDD Dataset(noise level $\sigma$ = 0-12):

Data Preparation:

  1. Download the evaluation data (in lmdb format) SIDD_0_12
  2. Edit the dataroot_lq and dataroot_gt in NAFNet-RCD-tiny.yml to the corresponding paths: /your_path/gt.lmdb and /your_path/input.lmdb

Test SIDD real image noise dataset with NAFNet-RCD-tiny model

python basicsr/test.py --opt options/test/NAFNet-RCD-tiny.yml

Result structure:

Groundtruth

  imageName_gt.png 

Denoise levels

  imageName_level_0.png imageName_level_1.png imageName_level_2.png imageName_level_3.png imageName_level_4.png 

AutoTune results

  imageName_res.png

Comments

Our codebase is based on the NAFNet

Citation

If you find our paper useful for your research, please consider citing our work ๐Ÿ˜Š :

@InProceedings{Zhang_2023_CVPR,
    author    = {Zhang, Zhaoyang and Jiang, Yitong and Shao, Wenqi and Wang, Xiaogang and Luo, Ping and Lin, Kaimo and Gu, Jinwei},
    title     = {Real-Time Controllable Denoising for Image and Video},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2023},
    pages     = {14028-14038}
}

rcd's People

Contributors

zzyfd avatar jiangyitong 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.