I=imread('tire.tif') X=fft2(I); X=fftshift(X); mag=abs(X); mag=log10(1+mag); imshow(I) figure, imshow(mag,[],'InitialMagnification','fit')