All models

dncnn_b_gray_20

A convolutional image denoiser that predicts the noise residual instead of the clean image.

58 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (5 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
DnCNN
Parameters
667.1K
Operations
58
Framework
PyTorch
Recurrent
No
Published
2017, IEEE Transactions on Image Processing
Cited by
9,183 (as of 9 October 2026)
Authors
Kai Zhang, Wangmeng Zuo, Yunjin Chen and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4359
Graph hash
298a4571841ee34100eb767491b48d7be79c43703dac5484ae5ceaa979d0f623
Skeleton hash
67565ececdd0ea014e211556b1ec4bc62ad83a70332ead591d854c89b1b9c6a3
Architecture hash
7875240c9d7d06a91a302dfb0be605c84cc722eff5b32f2b33ffe523f6610b32
Diagram SHA-256
a5a40702b19976215e78fc00d327693798e62c23e6a2d9be268a0b9abed77e64
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.dncnn:build_dncnn_b: build({})

What it is

This model is DnCNN-B, the single model for blind Gaussian denoising, for which the paper sets the network depth to 20.

About this model's family

DnCNN is a denoising convolutional neural network for images. Rather than outputting the denoised image directly, it predicts the residual image, which is the difference between the noisy observation and the latent clean image. The paper adapts the VGG network to make it suitable for image denoising.

In the paper's design, the first layer is a convolution with 64 filters followed by ReLU, and the middle layers add batch normalization between convolution and ReLU. The last layer is a convolution that reconstructs the output. Unlike the residual network, which uses many residual units, DnCNN uses a single residual unit to predict the residual image. The paper finds that residual learning and batch normalization benefit from each other, which speeds up training and improves denoising performance.

DnCNN-S is the model for Gaussian denoising at a known specific noise level, and DnCNN-B is a single model for blind Gaussian denoising, where the noise level is unknown. DnCNN-3 is a single model for three general image denoising tasks. The paper sets the network depth to 17 for DnCNN-S and to 20 for DnCNN-B and DnCNN-3. On the BSD68 dataset, the paper reports that DnCNN-S outperforms BM3D by 0.6dB on all three noise levels.

Key idea. DnCNN uses residual learning and batch normalization in a deep convolutional network, and a single model can handle Gaussian denoising with an unknown noise level.

  • dncnn
  • image denoising
  • denoising cnn
  • gaussian denoising
  • blind denoising
  • residual learning
  • image restoration
  • jpeg deblocking
  • noise removal

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhang2016gaussiandenoiserresiduallearning,
      title={Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising}, 
      author={Kai Zhang and Wangmeng Zuo and Yunjin Chen and Deyu Meng and Lei Zhang},
      year={2016},
      eprint={1608.03981},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/TIP.2017.2662206},
      url={https://arxiv.org/abs/1608.03981}, 
}