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..
이전 댓글 표시
how can i get separated magnitude and phase image..i have done 2d dft without using built-in function.
답변 (1개)
Walter Roberson
2013년 12월 30일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!