Matlab code for calculating local spatial frquency of an image?

Answers (1)

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.

Sign in to comment.

Asked:

on 26 Jan 2014

Edited:

on 16 Apr 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!