Gabor Filter Bank (2D)
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.