Undefined function or variable 'denoisingNetwork'.

I used this code:
i=imread('abnormal2.jpg')
g=rgb2gray(i);
net = denoisingNetwork('DnCNN');
noisyI = imnoise(i,'gaussian',0,0.01);
figure
imshowpair(i,noisyI,'montage');
title('Original Image (left) and Noisy Image (right)')
denoisedI = denoiseImage(noisyI, net);
figure
imshow(denoisedI)
title('Denoised Image')
but i am getting "Undefined function or variable 'denoisingNetwork'." at line 3
i have installed the deep learning toolbox. using MATLAB R2016a

 採用された回答

Steven Lord
Steven Lord 2019 年 8 月 15 日

0 投票

According to its documentation page denoisingNetwork was introduced in release R2017b. To use this you will need to upgrade to release R2017b or later.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2019 年 8 月 15 日

回答済み:

2019 年 8 月 15 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by