filterGabor2d

PURPOSE ^

Creates an even/odd pair of 2D Gabor filters.

SYNOPSIS ^

function [Feven,Fodd] = filterGabor2d( r, sig, lam, theta, omega, show )

DESCRIPTION ^

 Creates an even/odd pair of 2D Gabor filters.

 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)

 EXAMPLE
  [Feven,Fodd] = filterGabor2d(15,sqrt(2),4,45,1,1);
  [Feven,Fodd] = filterGabor2d(25,4,2,0,2,3);

 See also FILTERGABOR1D, FILTERGAUSS

 Piotr's Computer Vision Matlab Toolbox      Version 2.12
 Copyright 2014 Piotr Dollar.  [pdollar-at-gmail.com]
 Licensed under the Simplified BSD License [see external/bsd.txt]

Generated by m2html © 2003