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>
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 Constructor. | |
FastPatchList2 & | operator= (const FastPatchList2 &rhs) |
Assignment operator. | |
virtual | ~FastPatchList2 () |
Destructor. |
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.
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.
basePatchSize | The 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. |
minSize | Don't search for objects smaller than minSize. If minSize is (0,0) then baseObjectSize is used. |
maxSize | Don'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. |
scaleInc | Relative size of the object in the next scale, compared to the current one. scaleInc must be greater than 1. |
stepWidth | Search 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. |
dontCopyImage | Set to non-zero if you want efficiency, but not to look at patches. |