Gabor Filter Bank (2D)

A pair of functions for generating and filtering images using a bank of Gabor filters in the frequency domain.

You are now following this Submission

A pair of functions for generating and filtering images using a bank of Gabor filters in the frequency domain.

The filters are designed to overlap at their half maximum values and to scale the filter's wavelength by a factor of two starting at 4 pixels.

See the example script for decomposition of a test image into its real and imaginary (magnitude and phase) components at different scales and orientations.

These functions are very similar to the gabor() and imgaborfilt() functions in the Image Processing Toolbox. Results are comparable when the SpatialAspectRatio parameter is set to 1.

Gabor filter banks are useful for decomposing an image into oriented subbands for things like texture analysis and edge detection, much like the steerable complex pyramid.

Cite As

Andrew Otto (2026). Gabor Filter Bank (2D) (https://www.mathworks.com/matlabcentral/fileexchange/71348-gabor-filter-bank-2d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

upload error

1.0.1

changed example to be a live script, included visualization of filter bank's magnitude spectrum

1.0.0