Apply Gabor filter or set of filters to 2-D image
[
computes the magnitude and phase response of a Gabor filter for the input grayscale
image mag
,phase
]
= imgaborfilt(A
,wavelength
,orientation
)A
. wavelength
describes the
wavelength in pixels/cycle of the sinusoidal carrier.
orientation
is the orientation of the filter in degrees.
The output mag
and phase
are the magnitude
and phase responses of the Gabor filter.
[
applies a single Gabor filter using name-value pairs to control various aspects of
filtering.mag
,phase
] = imgaborfilt(A
,wavelength
,orientation
,Name,Value
)
[
applies the array of Gabor filters, mag
,phase
]
= imgaborfilt(A
,gaborbank
)gaborbank
, to the input
image A
. gaborbank
is a
1-by-p array of Gabor objects, called a filter
bank. mag
and phase
are
image stacks where each plane in the stack corresponds to one of the outputs of the
filter bank. For inputs of size A
, the outputs
mag
and phase
contain the magnitude
and phase response for each filter in gaborbank
and are of size
m-by-n-by-p. Each plane
in the magnitude and phase responses,
mag(:,:,ind),phase(:,:,ind)
, is the result of applying the Gabor
filter of the same index, gaborBank(ind)
.
edge
| fspecial
| gabor
| imfilter
| imgradient