I need to implement a script for generating features from an input image by using the Gabor filter. I have no past experience of wavelets and I'm just learning Fourier analysis (I understand the basic idea behind Fourier analysis and transform) so they can't help me to understand Gabor filter, because I need to have an implementation done in a week. I don't need to understand the foundations of the Gabor filter function, but I would want to understand to some extent of what it is and what does it do. What are the parameters? What do they mean? What is the output of the function? For example this is the formula I copied from Wikipedia:
$$g(x,y;\lambda, \theta, \psi, \sigma,\gamma) = \exp\left(-\frac{x'^2+\gamma^2 y'^2}{2\sigma^2}\right)\exp\left(i\left(2\pi\frac{x'}{\lambda}+\psi\right)\right)$$
Now my obvious question is: What does this mean? What does the variables mean? According to Wikipedia:
$x, y$: I assume these coordinates specify the pixel value of an image at coordinates $(x,y)$ (2. This is OK, understood)
$\lambda$: represents the wavelength of the sinusoidal factor (Sinusoidal factor, huh? 3a. How do you select it? 3b. Where does it come from? 3c. Is it an arbitrary number or what? Freely chosen?)
$\theta$: represents the orientation of the normal to the parallel stripes of a Gabor function (4. What does that mean?)
$\psi$: is the phase offset (5. offset of what? How is this value determined? Is it freely chosen?)
$\sigma$: is the sigma/standard deviation of the Gaussian envelope (6. Need more explanation...)
$\gamma$: is the spatial aspect ratio, and specifies the ellipticity of the support of the Gabor function (7. Again need more details and more explanation)
And most importantly:
$$g(x,y;\lambda, \theta, \psi, \sigma,\gamma) = X$$
- What is the output value $X$? What does it mean?
As I mentioned I don't need thorough explanation of the theory, because I bet it is long and reading a 1000 page book on unknown subject is not an option for me right now. I need to have have a black-box understanding of this function so that I can implement it in code and most importantly understand what is the input and what is the output.
Thank you for any help!! =)
P.S.
I read this post:
https://math.stackexchange.com/questions/259877/value-of-x-y-in-computing-gabor-filter-function
but it doesn't answer my question thorough enough :)