L = length(X)M = L/2
Y(1:L-M) = X(M+1:L)
Y(L-M+1:L) = X(1:M)
等一会的,我来帮你
华东师范大学???
tuxianghuanyuan('3.jpg', 80, 8, 0.02)
function tuxianghuanyuan(im, a, b, NSPR)
i = imread(im)
f = im2double(i)
PSF = fspecial('motion', a, b)
frest1 = deconvwnr(f, PSF, NSPR)
subplot(221),imshow(f)title('原图像')
subplot(222),imshow(frest1)title('维纳滤波处理后图像')
end
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)