PedestrainCounting
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StrongClassifier Class Reference

#include <StrongClassifier.h>

Inheritance diagram for StrongClassifier:
StrongClassifierDirectSelect

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
 

Detailed Description

Use ClassSelector to build a strong classifier.

Author
Zhengrong Wang

Notice: The feature extractor should be prepared (if there are any preprocess procedure), the caller of strong classifier should do that.

Member Function Documentation

void StrongClassifier::Initialize ( const Size patchSize)
virtual

Initialize this strong classifier for a new target WITHOUT training.

Reimplemented in StrongClassifierDirectSelect.


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