Clear Filters
Clear Filters

DFT and FFT of Image

6 views (last 30 days)
bigdog
bigdog on 8 Apr 2015
Commented: JANITHA ungefär 16 timmar ago
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 Comment
JANITHA
JANITHA ungefär 16 timmar ago
DFT in image processing log of magnitude of FT

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!