Undefined function or variable 'denoisingNetwork'.
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!