DFT and FFT of Image
조회 수: 6 (최근 30일)
이전 댓글 표시
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?
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!