Description
Creates a pair of Gabor filters (one odd one even) at the specified orientation. For Thomas’ ECCV98 filters, use sig=sqrt(2), lam=4. Note that originally this function computed a quadratic masked with a Gaussian, and not a sin/cos masked with a Gaussian. Requires Matlab’s ‘Signal Processing Toolbox‘.
USAGE
[Feven,Fodd] = filterGabor2d( r, sig, lam, theta, [omega], [show] )
INPUTS
r – final mask will be 2r+1 x 2r+1
sig – standard deviation of Gaussian mask
lam – elongation of Gaussian mask
theta – orientation (in degrees)
omega – [1] wavlength of underlying sine (sould be >=1)
show – [0] figure to use for optional display
OUTPUTS
Feven – even symmetric filter (-cosine masked with Gaussian)
Fodd – odd symmetric filter (-sine masked with Gaussian)
Reviews
There are no reviews yet.