Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 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!