dnCNNLayers
Get denoising convolutional neural network layers
Description
layers = dnCNNLayers
layers = dnCNNLayers(NetworkDepth=networkDepth)networkDepth number of convolutional layers.
Before R2021a, use the equivalent syntax layers =
                    dnCNNLayers("NetworkDepth",networkDepth).
Examples
Input Arguments
Output Arguments
Tips
- Train a custom image denoising network by providing these layers to the - trainnet(Deep Learning Toolbox) function (since R2024b). Specify the loss function as- "mse"for regression.- layers = dnCNNLayers; net = trainnet(data,layers,"mse",options);
- The DnCNN network can detect noise and other high-frequency image artifacts. For example, you can train the DnCNN network to increase image resolution or remove JPEG compression artifacts. The example JPEG Image Deblocking Using Deep Learning shows how to train a DnCNN to reduce JPEG compression artifacts in an image. 
References
[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, Issue 7, 2017, pp. 3142–3155.
Version History
Introduced in R2017bSee Also
denoiseImage | denoisingNetwork | denoisingImageDatastore | trainnet (Deep Learning Toolbox)