Giter Club home page Giter Club logo

adnet's Introduction

Atention-guided CNN for image denoising(ADNet)by Chunwei Tian, Yong Xu, Zuoyong Li, Wangmeng Zuo, Lunke Fei and Hong Liu is publised by Neural Networks, 2020 (https://www.sciencedirect.com/science/article/pii/S0893608019304241) and it is implemented by Pytorch.

Absract

Deep convolutional neural networks (CNNs) have attracted considerable interest in low-level computer vision. Researches are usually devoted to improving the performance via very deep CNNs. However, as the depth increases, influences of the shallow layers on deep layers are weakened. Inspired by the fact, we propose an attention-guided denoising convolutional neural network (ADNet), mainly including a sparse block (SB), a feature enhancement block (FEB), an attention block (AB) and a reconstruction block (RB) for image denoising. Specifically, the SB makes a tradeoff between performance and efficiency by using dilated and common convolutions to remove the noise. The FEB integrates global and local features information via a long path to enhance the expressive ability of the denoising model. The AB is used to finely extract the noise information hidden in the complex background, which is very effective for complex noisy images, especially real noisy images and bind denoising. Also, the FEB is integrated with the AB to improve the efficiency and reduce the complexity for training a denoising model. Finally, a RB aims to construct the clean image through the obtained noise mapping and the given noisy image. Additionally, comprehensive experiments show that the proposed ADNet performs very well in three tasks (i.e. synthetic and real noisy images, and blind denoising) in terms of both quantitative and qualitative evaluations. The code of ADNet is accessible at https://github.com/hellloxiaotian/ADNet.

Requirements (Pytorch)

Pytorch 0.41

Python 2.7

torchvision

openCv for Python

HDF5 for Python

Commands

Training

Training datasets

The training dataset of the gray noisy images is downloaded at https://pan.baidu.com/s/1nkY-b5_mdzliL7Y7N9JQRQ

The training dataset of the color noisy images is downloaded at https://pan.baidu.com/s/1ou2mK5JUh-K8iMu8-DMcMw

Train ADNet-S (ADNet with known noise level)

python train.py --prepropcess True --num_of_layers 17 --mode S --noiseL 25 --val_noiseL 25

Train ADNet-B (DnCNN with blind noise level)

python train.py --preprocess True --num_of_layers 17 --mode B --val_noiseL 25

Test

Gray noisy images

python test.py --num_of_layers 17 --logdir g15 --test_data Set68 --test_noiseL 15

Gray blind denoising

python test_Gb.py --num_of_layers 17 --logdir gblind --test_data Set68 --test_noiseL 25

Color noisy images

python test_c.py --num_of_layers 17 --logdir g15 --test_data Set68 --test_noiseL 15

Color blind denoising

python test_c.py --num_of_layers 17 --logdir cblind --test_data Set68 --test_noiseL 15

Network architecture

RUNOOB 图标

Test Results

1. ADNet for BSD68

RUNOOB 图标

2. ADNet for Set12

RUNOOB 图标

3. ADNet for CBSD68, Kodak24 and McMaster

RUNOOB 图标

4. ADNet for CBSD68, Kodak24 and McMaster

RUNOOB 图标

5. Running time of ADNet for a noisy image of different sizes.

RUNOOB 图标

6. Complexity of ADNet

RUNOOB 图标

7. 9 real noisy images

RUNOOB 图标

8. 9 thermodynamic images from the proposed A

RUNOOB 图标

9. Visual results of BSD68

RUNOOB 图标

10. Visual results of Set12

RUNOOB 图标

11. Visual results of Kodak24

RUNOOB 图标

12. Visual results of McMaster

RUNOOB 图标

If you cite this paper, please the following format:

1.Tian C, Xu Y, Li Z, et al. Attention-guided CNN for image denoising[J]. Neural Networks, 2020.

2.@article{tian2020attention,

title={Attention-guided CNN for image denoising},

author={Tian, Chunwei and Xu, Yong and Li, Zuoyong and Zuo, Wangmeng and Fei, Lunke and Liu, Hong},

journal={Neural Networks},

year={2020},

publisher={Elsevier}

}

adnet's People

Contributors

hellloxiaotian 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.