|
PedestrainCounting
|
#include <StrongClassifier.h>
Public Member Functions | |
| StrongClassifier (int numSelector, int numWeakClassifier, const Size &patchSize, bool useFeatureReplace=false, int numBackup=0) | |
| virtual float | Evaluate (const IntegralImage *intImage, const Rect &roi) const |
| virtual void | Initialize (const Size &patchSize) |
| virtual bool | Update (const IntegralImage *intImage, const Rect &roi, int target, float importance=1.0f) |
Protected Member Functions | |
| void | NormalizeAlpha () |
Protected Attributes | |
| int | numSelector |
| int | totalWeakClassifiers |
| ClassifierSelector ** | selectors |
| Size | patchSize |
| float * | alpha |
| bool | useFeatureReplace |
Use ClassSelector to build a strong classifier.
Notice: The feature extractor should be prepared (if there are any preprocess procedure), the caller of strong classifier should do that.
|
virtual |
Initialize this strong classifier for a new target WITHOUT training.
Reimplemented in StrongClassifierDirectSelect.
1.8.9.1