how can i do 2d dft for image without using built-in function(fft2) and get matrix values for the separated magnitude and phase of an image after 2d dft?
Show older comments
i need to do 2d dft for an image using normal formula and get matrix values for separated mag and phase.
Answers (1)
Steve Eddins
on 30 Oct 2013
F = fft2(f);
F_mag = abs(F);
F_phase = angle(F);
Categories
Find more on Image Category Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!