# 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 Image&Video Toolbox      Version 2.0
     Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Lesser GPL [see external/lgpl.txt]

## CROSS-REFERENCE INFORMATION

This function calls:

- filterVisualize Used to visualize a 1D/2D/3D filter.

This function is called by:

- FbMake Various 1D/2D/3D filterbanks (hardcoded).