Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have trouble understanding in an intuitive way (not by writing complicated math formulas) what is value of $x$ & $y$ in the Gabor functions.

Here is the formula,

$$g(x,y) = \frac{1}{2\pi\sigma_x\sigma_y}\exp\left[-\frac{1}{2}\left(\frac{x'^2}{\sigma_x^2}+\frac{y'^2}{\sigma_y^2}\right)\right]\exp\left[2\pi\cdot jWx'\right]$$


$$x' = x \cos \theta + y \sin \theta \qquad(1)$$


$$y' = -x \sin \theta + y \cos \theta\qquad(2)$$

Actually what will be the value of $x$ & $y$ in $(1)$ and $(2)$


share|improve this question

1 Answer 1

Gabors are two-dimensional filters and $(x,y)$ specifies the coordinates. They are equal to $(0,0)$ at the center of the Gabor (as are $(x^\prime,y^\prime)$). The $(x,y)$ are the "original" coordinates, corresponding to $(\sigma_x,\sigma_y)$, while $(x^\prime,y^\prime)$ are the rotated coordinates.

Note that in the $(x,y)$ coordinates, the Gabor can only be stretched along the x-axis or the y-axis, but not diagonally. The equations (1) and (2) allows the Gabor to be stretched in any orientation (defined by $\theta$) in the $(x^\prime,y^\prime)$ coordinates.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.