Forums

image filter

Started by kianogo June 12, 2004

Anyone can help with designing exponentially increasing or decreasing
image filter?
the filtered image looks right but the amplitudes are wrong !!

s.*rand(8); %signal
[f1 f2] = freqspace(8,'meshgrid');
r = sqrt(f1.^2 + f2.^2);
F=exp(r.*30);
FS=S.*F;
fss(ifft2(FS)); %filtered
imagesc(fs), colorbar