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 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