Undefined function 'immse' for input arguments of type 'uint8'.
Ältere Kommentare anzeigen
im1=imread('stallite1.JPG'); figure subplot(1,3,1),imshow(im1),title('original image') ref=rgb2gray(im1); subplot(1,3,2),imshow(ref),title('gray image')
N = imnoise(ref,'salt & pepper', 0.02); subplot(1,3,3),imshow(N),title('noise image') error = immse(N, ref); fprintf('\n The mean-squared error is %0.4f\n', error)
2 Kommentare
KALYAN ACHARJYA
am 24 Apr. 2018
Which version Matlab you use?
raghda aljaff
am 24 Apr. 2018
Akzeptierte Antwort
Weitere Antworten (1)
raghda aljaff
am 25 Apr. 2018
0 Stimmen
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!