|
| ImageDetector (Classifier *c, const Options &op) |
|
virtual bool | Detect (const cv::Mat &img, const IntegralImage *intImage, const Rect &subRegion, const cv::Mat &bkg=defaultBackground) |
|
void | DrawDetection (cv::Mat &img) |
|
void | Clear () |
|
|
bool | IsEqual (const rect &r1, const rect &r2) const |
|
bool | IsOverlap (const rect &r, const rect &t) const |
|
|
Classifier * | classifier |
|
feat | scaleMin |
|
feat | scaleMax |
|
feat | scaleStep |
|
int | slideStep |
|
int | evidence |
|
int | modelHeight |
|
int | modelWidth |
|
Pool< rect > | temp |
|
Pool< int > | roots |
|
UnionFind * | unionFind |
|
bool ImageDetector::Detect |
( |
const cv::Mat & |
img, |
|
|
const IntegralImage * |
intImage, |
|
|
const Rect & |
subRegion, |
|
|
const cv::Mat & |
bkg = defaultBackground |
|
) |
| |
|
virtual |
Detect, return the resutl in a vector. Notice that sometimes we only want to detect in a subregion of the original image, in such case we have to give the origin parameter, which is the coordinates of the upper-left corner in the original image.
- Parameters
-
img | the image |
intImage | the integral image |
subRegion | the subRegion we want to detect |
bkg | background |
- Returns
- true if everything is fine.
Reimplemented in BKGCutDetector.
The documentation for this class was generated from the following files: