gabor
Create Gabor filter or Gabor filter bank
Description
A gabor
object represents a linear Gabor filter that is sensitive
to textures with a specified wavelength and orientation.
You can use the gabor
function to create a single Gabor filter or a
Gabor filter bank. A filter bank is a set of filters that represent
combinations of multiple wavelengths, orientations, and other optional parameters. For
example, if you specify two wavelengths and three orientations, then the Gabor filter bank
consists of six filters for each combination of wavelength and orientation.
To apply a Gabor filter or a Gabor filter bank to an image, use the imgaborfilt
function.
Creation
Description
creates a Gabor filter and sets the g
= gabor(Wavelength
,Orientation
)Wavelength
and Orientation
properties with the wavelength and orientation of the
filter.
If you specify Wavelength
or Orientation
as
vectors, then the gabor
function creates an array of
gabor
objects that contain all the unique combinations of
Wavelength
and Orientation
.
also uses name-value arguments to set one or both of the g
= gabor(Wavelength
,Orientation
,Name,Value
)SpatialFrequencyBandwidth
and SpatialAspectRatio
properties. You
can specify multiple name-value arguments. Enclose each property name in quotes.
If you specify SpatialFrequencyBandwidth
or
SpatialAspectRatio
as vectors, then the gabor
function creates an array of gabor
objects that represent all
combinations of the input argument values.
Example: gabor(wavelength,orientation,"SpatialFrequencyBandwidth",2)
creates a Gabor filter with a spatial frequency bandwidth of two octaves.
Properties
Examples
References
[1]
Version History
Introduced in R2015b