i have done 2d dft for image without using function(fft2) and received dft image.now i have to get magnitude and phase image of dft image.help me..
2 ビュー (過去 30 日間)
古いコメントを表示
how can i get separated magnitude and phase image..i have done 2d dft without using built-in function.
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 12 月 30 日
magnitude image is abs() of the dft, plotted as an image. phase image is angle() of the dft, plotted as an image.
Remember that dft may have a large component for the first entry, representing the total offset from 0 (sum() of the signal). This tends to swamp everything else, and you need to decide how you are going to deal with it. You can use imshow(TheArray,[]) or imagesc(TheArray) but you might not get much readable in most of the image.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!