Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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|cite|improve this question

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|cite|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.