separation of real and imaginary part in fft2.
11 views (last 30 days)
Show older comments
if i m finding fft2 for an image, then how do i separate the real and the imaginary part of the output.
is it something like this, the thing is im getting an error at a latter stage and im not quite sure if its because of this real/imaginary separation or use of cart2pol is wrong..?
P=imread('D:\clone DB\3.jpg');
P=imresize(P,[64 64]);
D=fft2(double(P));
D=uint8(D);
A=fftshift(real(D));
B=fftshift(imag(D));
g = cart2pol(A,B);
0 Comments
Answers (0)
See Also
Categories
Find more on Transforms 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!