Coder Social home page Coder Social logo

naid's Introduction

NAID

Official Code of NIR-Assisted Image Denoising: A Selective Fusion Approach and A Real-World Benchmark Dataset

Preparation and Dataset

  • Prerequisites
    • Python 3.x and PyTorch 1.12.
    • OpenCV, NumPy, Pillow, tqdm, lpips, einops, scikit-image and tensorboardX.
  • Dataset
    • Real-NAID dataset can be downloaded from Baidu Netdisk (password: ik9u)

Quick Start

  • Testing
    • Download pre-trained models from Baidu Netdisk (password: jcdb) and put the pre-trained checkpoint with the corresponding folder under ./ckpt/ folder
    • Download Real-NAID dataset and modify dataroot in test.sh
    • Modify name, model in test.sh and then run
      sh test.sh
      
  • Training
    • Download Real-NAID dataset and modify dataroot in test.sh
    • Modify name, model and then run
      sh train.sh
      
  • Note
    • You can specify which GPU to use by --gpu_ids, e.g., --gpu_ids 0, --gpu_ids 0,1, --gpu_ids -1 (for CPU mode). In the default setting, all GPUs are used.
    • You can refer to options for more arguments.

Citation

@article{xu2024nirassisted,
      title={NIR-Assisted Image Denoising: A Selective Fusion Approach and A Real-World Benchmark Dataset}, 
      author={Rongjian Xu and Zhilu Zhang and Renlong Wu and Wangmeng Zuo},
      journal={arXiv preprint arXiv:2404.08514},
      year={2024},
}

Acknowledement

This repo is built upon the framework of CycleGAN, and we borrow some code from Uformer, Restormer, NAFNet, thanks for their excellent work!

naid's People

Contributors

ronjonxu avatar

Stargazers

Nougat avatar Xiaoyu Dong avatar Gang Wu avatar tangzl7 avatar  avatar Tianyu Huang avatar ZcsrenLongZ avatar Yuxiang Wei avatar Yabo Zhang avatar Zhilu Zhang avatar An-zhi WANG avatar

Watchers

Zhilu Zhang avatar  avatar

Forkers

jackzhousz

naid's Issues

Dataset

I was wondering if the pictures you took in your experiment were all under natural lighting conditions? How to get the Huawei camera used, I want to use it to take some data.

image missing of proposed dataset

There seems to be a lack of a .DS_gt.png, what is it? The log is as follows.

[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png'): can't open/read file: check file path/integrity
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 211/211 [01:30<00:00, 2.34it/s]
('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png', 1) OSError
('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png', 1) OSError
('/dataset/home/noise/Real-NAID/train/gt/.DS_gt.png', 1) OSError

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.