I have this simple line of code that reads an image and takes a fourier transform of the image using fft2
function of matlab
and then bringing the lower frequencies to the center of the figure by fftshift
.
The problem is that in the figure of the image in frequency domain:
1) Which of the Black/White dots are representing High-frequencies?
2) Does Density of each Black/White dots shows the strength of each frequencies coefficient?
clc;
clear all;
format short;
format compact;
im=imread('cameraman.tif');
figure,imshow(im);
F=fftshift(fft2(im));
figure,imshow(uint8(abs(F)));