how can I seperate magnitude and phase from an image using 2d dft?(fft2)

23 ビュー (過去 30 日間)
DOHYUN JANG
DOHYUN JANG 2019 年 11 月 13 日
編集済み: KALYAN ACHARJYA 2019 年 11 月 13 日
asd.pngwhen you activate the file. four image should appear like this.
img1, img2, img1 magnitude + img2 phase , img1 phase + img2 magnitude . 2D DFT method should be used in last two image (seperating magnitude and phase)

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 11 月 13 日
編集済み: KALYAN ACHARJYA 2019 年 11 月 13 日
Do the same for considering two images and show mag1+phase1 and so on, here I have shown how you calculate the mag and phase for one image
fft_result=fft2(im);
mag=abs(fft_result);
phase=angle(fft_result);

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by