Gabor function masks

version (2.35 KB) by David Young
Create Gabor-function convolution masks


Updated 8 Jan 2009

View License

Gabor-function convolution masks are increasingly used in image processing and computer vision. This function simply computes the cosine and sine masks for a given width, period and orientation. The masks returned are properly normalised.

It is not highly optimised - e.g. the symmetries are not used to reduce the computation.

It is recommended that convolutions with these masks are done using CONVOLVE2 (available from Matlab File Exchange) to take advantage of their low rank.

Cite As

David Young (2022). Gabor function masks (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!