Gabor Filter Bank (2D)

A pair of functions for generating and filtering images using a bank of Gabor filters in the frequency domain.
221 Downloads
Updated 25 Apr 2019

View License

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 (2024). Gabor Filter Bank (2D) (https://www.mathworks.com/matlabcentral/fileexchange/71348-gabor-filter-bank-2d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Filter Banks in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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