GaborFilter

GaborFilter[image,r,k]

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

GaborFilter[image,r,k,ϕ]

uses a Gabor kernel with phase shift ϕ.

GaborFilter[image,{r,σ},]

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

GaborFilter[data,]

applies Gabor filtering to an array of data.

Details and Options

  • GaborFilter is a linear filter commonly used for edge detection, as well as local frequency and orientation analysis.
  • GaborFilter works with arbitrary 2D and 3D images, operating separately on each channel, as well as data arrays of any rank.
  • GaborFilter[image,r,k] is equivalent to GaborFilter[image,{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[image,] normally gives an image smaller than image.

Examples

open allclose all

Basic Examples  (3)

Apply a Gabor filter to a list of values:

In[1]:=
Click for copyable input
Out[1]=

Gabor filtering of an image:

In[1]:=
Click for copyable input
Out[1]=

Gabor filtering of a 3D image:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Applications  (3)

Properties & Relations  (1)

See Also

GaborMatrix  GaussianFilter  GradientFilter  LaplacianFilter  ImageConvolve  ListConvolve

Introduced in 2012
(9.0)
| Updated in 2014
(10.0)