filterGabor1d

PURPOSE ^

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

SYNOPSIS ^

function [feven,fodd] = filterGabor1d( r, sig, omega, show )

DESCRIPTION ^

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

 USAGE
  [feven,fodd] = filterGabor1d( r, sig, omega, [show] )

 INPUTS
  r       - final filter will be 2r+1 (good choice for r is r=2*sig)
  sig     - standard deviation of Gaussian mask
  omega   - frequency of underlying sine/cosine in [1/(2r+1) r/(2r+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
  sig = 15; f=filterGabor1d(2*sig,sig,1/sig,1);

 See also FILTERGABOR2D

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

Generated by m2html © 2003