Image Processing Code For Matlab

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

clear all

close all
clc
f=double(imrear('cameraman.tif'));
for i=1:32
for j=1:32
h(i,j)=............. ;
end
end
F=fft2(f);
H=fft2(h,256,256);
GP=F.*H;
gp=ifft2(GP);
g=gp+randn(256,256);
imshow(g);
G=fft2(g);
Fprime=.................. ;
fprime=fftshift(ifft2(Fprime));
% imshow(fprime);
ISNR = .................. ;

You might also like