The first function named "gaborFilterBank.m" generates a custom-sized Gabor filter bank. It creates a u by v cell array, whose elements are m by n matrices; each matrix being a 2-D Gabor filter. The second function named "gaborFeatures.m" extracts the Gabor features of an input image. It creates a column vector, consisting of the Gabor features of the input image. The feature vectors are normalized to zero mean and unit variance. At the end of each file there is a Show section that plots the filters and shows the filtered images. These are only for illustration purpose, and you can comment them as you wish.
More details can be found in:
M. Haghighat, S. Zonouz, M. Abdel-Mottaleb, "CloudID: Trustworthy cloud-based and cross-enterprise biometric identification," Expert Systems with Applications, vol. 42, no. 21, pp. 7905-7916, 2015.
(C) Mohammad Haghighat, University of Miami
PLEASE CITE THE ABOVE PAPER IF YOU USE THIS CODE.
Mohammad Haghighat (2021). Gabor Feature Extraction (https://github.com/mhaghighat/gabor), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!