DFT and FFT of Image
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shift the Fourier transform so that it is centered around the middle of your figure and plot the absolute value of the shifted DFT. Then apply the log transform (log(1 + DFT)) and plot your result.
I know that I'm supposed to use fft2 and fftshift. I have the image and this is the code I have this far.
>> X = imread('granular_media.jpg');
>> X1 = double(X(501:700,1401:1600));
>> X2 = double(X(1:200,1:200));
I need to first compute the DFT of the 200x200 subimages that I created. Any help with this?
1 comentario
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!