Attempt to execute SCRIPT rot90 as a function:
Ältere Kommentare anzeigen
img = imread('cameraman.jpg');
imshow(img);
img1 = imnoise(img,'salt & pepper', 0.02);
figure,imshow(img1)
vet=fspecial('average');
vet1=filter2(vet,img1)
I got this error:
Attempt to execute SCRIPT rot90 as a function:
D:\MATLAB\homework\rot90.m
Error in filter2 (line 39)
stencil = rot90(b,2);
Error in filt (line 9)
vet1=filter2(vet,img1)
Can anyone help me in this regard? Thank you.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Big Data Processing 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!