Transform the high passed 2-D FFT phase to Log Polar space

3 次查看(过去 30 天)
I want to transform the high passed 2-D FFT phase to Log Polar space, can anyone help me with the matlab code for this
FA = fftshift(fft2(I));
w=0.5; % frequency normalized
N=2; %filter order
b=butter(N,w,'high');
A=ftrans2(b);
IA=imresize(A,[512 512]);
highPass=IA.*abs(FA);% high passed shifted fft2 of image I

回答(1 个)

Walter Roberson
Walter Roberson 2012-2-11
Your filter creation is badly broken, so transforming it to Log Polar is not going to produce meaningful results.
For more on your filter creation, see your previous question, http://www.mathworks.com/matlabcentral/answers/28591-high-pass-filter

Community Treasure Hunt

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

Start Hunting!

Translated by