Functions for manipulating bounding boxes (bb). A bounding box (bb) is also known as a position vector or a rectangle object. It is a four element vector with the fields: [x y w h]. A set of n bbs can be stores as an [nx4] array, most funcitons below can handle either a single or multiple bbs. In addtion, typically [nxm] inputs with m>4 are ok (with the additional columns ignored/copied to the output). bbApply contains a number of utility functions for working with bbs. The format for accessing the various utility functions is: outputs = bbApply( 'action', inputs ); The list of functions and help for each is given in the "See also" section. Also, help on individual subfunctions can be accessed by: help bbApply>action; USAGE varargout = bbApply( action, varargin ); INPUTS action - string specifying action varargin - depends on action, see above OUTPUTS varargout - depends on action, see above EXAMPLE See also bbApply>area bbApply>shift bbApply>getCenter bbApply>intersect bbApply>union bbApply>resize bbApply>squarify bbApply>draw bbApply>crop bbApply>convert bbApply>random bbApply>frMask bbApply>toMask bbApply>nms bbApply>nmsMax Piotr's Image&Video Toolbox Version 2.31 Copyright 2009 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]