FbCrop

PURPOSE ^

Crop a 2D filterbank (adjusting filter norms).

SYNOPSIS ^

function FBC = FbCrop( FB, delta )

DESCRIPTION ^

 Crop a 2D filterbank (adjusting filter norms).

 Takes a filter bank and crops it by cropping off delta pixels from each
 side. Ensures that the mean response of each filter is 0 and that the L1
 norm is 1, i.e. sum(sum(abs(F)))==1.

 USAGE
  FBC = FbCrop( FB, delta )

 INPUTS
  FB       - original filterbank
  delta    - amount to crop by

 OUTPUTS
  FBC      - cropped filterbank

 EXAMPLE
  load FbDoG.mat;  FBC=FbCrop(FB,4);
  figure(1); montage2(FB,struct('extraInfo',1));
  figure(2); montage2(FBC,struct('extraInfo',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: This function is called by:
Generated by m2html © 2003