img=imread('cameraman.tif'); ftrans=fft2(img); ftrans=fftshift(ftrans); %[m,n]= size(256,256);
highpassfilter=ones(256,256); highpassfilter(128-30:128+30,128-30:128+30); smoothed=ftrans.*highpassfilter; out=ifft2(smoothed);
MATLAB: I am trying to make a highpass filter manually but error appears in line 6 saying ” the operation or expression “(” has no evident effect ” what can i do
highpass filter
Best Answer