Main Content


Get image denoising network



net = denoisingNetwork(modelName) returns a pretrained image denoising deep neural network specified by modelName.

This function requires that you have Deep Learning Toolbox™.


collapse all

Get the pretrained image denoising convolutional neural network, 'DnCNN'.

net = denoisingNetwork('DnCNN')
net = 
  SeriesNetwork with properties:

         Layers: [59x1 nnet.cnn.layer.Layer]
     InputNames: {'InputLayer'}
    OutputNames: {'FinalRegressionLayer'}

See denoiseImage for an example of how to denoise an image using the pretrained network.

Input Arguments

collapse all

Name of pretrained denoising deep neural network, specified as the character vector 'DnCnn'. This is the only pretrained denoising network currently available, and it is trained for grayscale images only.

Data Types: char | string

Output Arguments

collapse all

Pretrained denoising deep neural network, returned as a SeriesNetwork (Deep Learning Toolbox) object.


[1] Zhang, K., W. Zuo, Y. Chen, D. Meng, and L. Zhang. "Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising." IEEE Transactions on Image Processing. Vol. 26, Number 7, Feb. 2017, pp. 3142-3155.

Introduced in R2017b