Matlab code for calculating local spatial frquency of an image?
Show older comments
Code for calculating local spatial frequency of an image?
Answers (1)
Image Analyst
on 26 Jan 2014
0 votes
What do you mean by local? I'd guess you're wanting either the fft2() function, or the wavelet toolbox. See attached demos for fft2. Also, see this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
1 Comment
My guess is he was looking for something like this - which is actually what I'm looking for (for Matlab):
I don't know if Helmholtz analysis is the proper term for it, but this ImageJ plugin gives local frequency and direction.
It would be even more interesting to get the entire spectrum, amplitude and direction locally. I'm confident this has a term or name to it and has probably been solved and implemented many times, that's why I keep looking to.
Categories
Find more on Frequency Transformations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!