gives a matrix that corresponds to the real part of a Gabor kernel of radius r and wave vector k.

uses phase shift ϕ.

uses the specified standard deviation σ.

gives an array corresponding to a Gabor kernel with radius in the i^(th) index direction.

Details and OptionsDetails and Options

  • GaborMatrix[{r,σ},k,ϕ] gives values proportional to at index position from the center.
  • GaborMatrix[r,k] is equivalent to GaborMatrix[{r,r/2},k,0].
  • By default, the matrix is rescaled so that the elements of Abs[GaborMatrix[r,k,0]+I GaborMatrix[r,k,π/2]] sum to 1.
  • For integer r, GaborMatrix[r,] yields a × matrix.
  • For noninteger r, the value of r is effectively rounded to an integer.
  • Either of the r or σ can be lists, specifying different values for different directions.
  • With GaborMatrix[{r,{σ1,σ2,}},k], is the standard deviation along k, and , are standard deviations perpendicular to k. The i^(th) direction is defined by the i^(th) column of RotationMatrix[{{1,0,},k}].
  • For data arrays with n dimensions and a wave vector , is pointing in the same direction as the i^(th) dimension of data. For images, the filter is effectively applied to ImageData[image].
  • The following options can be specified:
  • StandardizedTruewhether to rescale the matrix to account for truncation
    WorkingPrecisionAutomaticthe precision with which to compute matrix elements

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Visualize a Gabor matrix:

Click for copyable input

MatrixPlot of a Gabor matrix:

Click for copyable input

1D Gabor vector:

Click for copyable input
Introduced in 2012
| Updated in 2015
Translate this page: