fit2dGabor(data,opt​ions)

Fit a 2d Gabor function to data with ease.
202 Downloads
Updated 1 Aug 2017

View License

Very simple to use function to fit a 2d Gabor function to given data. Input is a 2d matrix. Works well and robustly with standard settings but can be customized with further options. Methods used are documented in the function help.
If you want to perform a test run try the demo.m file. We provide a set of more or less Gabor-like input samples of rather bad quality to demonstrate performance (see also image).
For any questions please feel free to contact the authors. Also, please submit bug reports. If you end up using this function we would be happy to hear from you.
Important note:
Standard behaviour is to fit a Gabor function with elliptical envelope (options.shape='elliptical'). However, the standard circular Gaussian envelope is also implemented as an option (options.shape='equal').

Cite As

Gerrit Ecke (2024). fit2dGabor(data,options) (https://www.mathworks.com/matlabcentral/fileexchange/60700-fit2dgabor-data-options), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Frequently-used Algorithms 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.1.0

Minor bug fixes on parsing "options.visualize" and other boolean option settings
Minor bug fixes on parsing "options.visualize" and other boolean option settings

1.0.0.0

-