Transform the high passed 2-D FFT phase to Log Polar space
Afficher commentaires plus anciens
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
le 11 Fév 2012
0 votes
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
Catégories
En savoir plus sur Image Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!