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

3 Ansichten (letzte 30 Tage)
lama riad
lama riad am 11 Feb. 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

Antworten (1)

Walter Roberson
Walter Roberson am 11 Feb. 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