filters data by convolving with a Gabor kernel of pixel radius r and wave vector k.


uses a Gabor kernel with phase shift ϕ.


uses a Gabor kernel with radius r and standard deviation σ.

Details and Options

  • GaborFilter is a linear, spatially directional and frequency-selective filter commonly used in image processing for texture analysis and segmentation. In the spatial domain, a 2D Gabor filter kernel is a Gaussian function modulated by a sinusoidal plane wave.
  • The data can be any of the following:
  • listarbitrary-rank numerical array
    tseriestemporal data such as TimeSeries, TemporalData,
    imagearbitrary Image or Image3D object
    audioan Audio object
  • GaborFilter[data,r,k] is equivalent to GaborFilter[data,{r,r/2},k,0].
  • Either of the r or σ can be lists, specifying different values for different directions.
  • GaborFilter[image,] by default gives an image of a real type of the same dimensions as image.
  • The following options can be specified:
  • Padding"Fixed"padding method
    StandardizedTruewhether to rescale the Gabor kernel to account for truncation
    WorkingPrecisionAutomaticthe precision to use
  • With a setting Padding->None, GaborFilter[data,] normally gives a result smaller than data.


open all close all

Basic Examples  (3)

Filter an image:

Click for copyable input

Gabor filtering of a 3D image:

Click for copyable input

Apply a Gabor filter to a list of values:

Click for copyable input

Scope  (7)

Options  (6)

Applications  (3)

Properties & Relations  (5)

Introduced in 2012
Updated in 2014