Public Member Functions

FastPatchList2 Class Reference
[Auxilliary Tools]

Auxilliary Tool: A class that does the necessary book keeping for filtering an image quickly at many scales. FastPatchList is an implementation that sacrifices filtering accuracy for filtering speed. More...

#include <FastPatchList2.h>

Inheritance diagram for FastPatchList2:
Inheritance graph
[legend]
Collaboration diagram for FastPatchList2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FastPatchList2 (cv::Size basePatchSize, cv::Size minSize=cv::Size(0, 0), cv::Size maxSize=cv::Size(0, 0), double scaleInc=1.2, double stepWidth=1, int dontCopyImage=0, int scaleStepWidth=1)
 Constructor.
 FastPatchList2 ()
 Default Constructor.
 FastPatchList2 (const FastPatchList2 &copy)
 Copy Constructor.
FastPatchList2operator= (const FastPatchList2 &rhs)
 Assignment operator.
virtual ~FastPatchList2 ()
 Destructor.

Detailed Description

Auxilliary Tool: A class that does the necessary book keeping for filtering an image quickly at many scales. FastPatchList is an implementation that sacrifices filtering accuracy for filtering speed.

It computes only a single integral image, and filters attempt to scale themselves up, sometimes imperfectly, to filter at different sizes. This contratsts with PatchList, which maintains accuracy at the expense of computing many integral images.

Author:
Nicholas Butko
Date:
2010
Version:
0.4

Constructor & Destructor Documentation

FastPatchList2::FastPatchList2 ( cv::Size  basePatchSize,
cv::Size  minSize = cv::Size(0, 0),
cv::Size  maxSize = cv::Size(0, 0),
double  scaleInc = 1.2,
double  stepWidth = 1,
int  dontCopyImage = 0,
int  scaleStepWidth = 1 
)

Constructor.

Parameters:
basePatchSizeThe size of the patches that will be evaluated for containing the object. This should match the size of whatever filter will be applied to the patches. It may be set later, using setBasePatchSize(). At subsequent scales, the image is scaled up or down relative to this size.
minSizeDon't search for objects smaller than minSize. If minSize is (0,0) then baseObjectSize is used.
maxSizeDon't search for objects larger than maxSize. If maxSize is (0,0), then the upper bound on the object size is the smallest dimension of the image size.
scaleIncRelative size of the object in the next scale, compared to the current one. scaleInc must be greater than 1.
stepWidthSearch interval between subsequent patches. A stepWidth of 1 means slide the object evaluation window over one pixel. 2 means only evaluate patches at every other pixel. 1.5 means search two and skip the third, etc.
dontCopyImageSet to non-zero if you want efficiency, but not to look at patches.

The documentation for this class was generated from the following files: