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

3 vues (au cours des 30 derniers jours)
lama riad
lama riad le 11 Fév 2012
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

Réponses (1)

Walter Roberson
Walter Roberson le 11 Fév 2012
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