# FbMake

## PURPOSE

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

## SYNOPSIS

function FB = FbMake( dim, flag, show )

## DESCRIPTION

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

     USAGE
      FB = FbMake( dim, flag, [show] )

     INPUTS
      dim     - dimension
      flag    - controls type of filterbank to create
              - if d==1
                1: gabor filter bank for spatiotemporal stuff
              - if d==2
                1: filter bank from Serge Belongie
                2: 1st/2nd order DooG filters.  Similar to Gabor filterbank.
                3: similar to Laptev&Lindberg ICPR04
                4: decent seperable steerable? filterbank
                5: berkeley filterbank for textons papers
                6: symmetric DOOG filters
              - if d==3
                1: decent seperable steerable filterbank
      show    - [0] figure to use for optional display

     OUTPUTS

     EXAMPLE
      FB = FbMake( 2, 1, 1 );

     See also FBAPPLY2D

     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:

- FbVisualize Used to visualize a series of 1D/2D/3D filters.
- filterDog2d Difference of Gaussian (Dog) Filter.
- filterDoog n-dim difference of offset Gaussian DooG filter (Gaussian derivative).
- filterGabor1d Creates an even/odd pair of 1D Gabor filters.
- filterGabor2d Creates an even/odd pair of 2D Gabor filters.

This function is called by: