OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::StrongClassifierDirectSelection Class Reference

#include "onlineBoosting.hpp"

Public Member Functions

 StrongClassifierDirectSelection (int numBaseClf, int numWeakClf, Size patchSz, const Rect &sampleROI, bool useFeatureEx=false, int iterationInit=0)
 
virtual ~StrongClassifierDirectSelection ()
 
float classifySmooth (const std::vector< Mat > &images, const Rect &sampleROI, int &idx)
 
float eval (const Mat &response)
 
int getNumBaseClassifier ()
 
Size getPatchSize () const
 
int getReplacedClassifier () const
 
Rect getROI () const
 
std::vector< int > getSelectedWeakClassifier ()
 
int getSwappedClassifier () const
 
bool getUseFeatureExchange () const
 
void initBaseClassifier ()
 
void replaceWeakClassifier (int idx)
 
bool update (const Mat &image, int target, float importance=1.0)
 

Constructor & Destructor Documentation

cv::StrongClassifierDirectSelection::StrongClassifierDirectSelection ( int  numBaseClf,
int  numWeakClf,
Size  patchSz,
const Rect sampleROI,
bool  useFeatureEx = false,
int  iterationInit = 0 
)
virtual cv::StrongClassifierDirectSelection::~StrongClassifierDirectSelection ( )
virtual

Member Function Documentation

float cv::StrongClassifierDirectSelection::classifySmooth ( const std::vector< Mat > &  images,
const Rect sampleROI,
int &  idx 
)
float cv::StrongClassifierDirectSelection::eval ( const Mat response)
int cv::StrongClassifierDirectSelection::getNumBaseClassifier ( )
Size cv::StrongClassifierDirectSelection::getPatchSize ( ) const
int cv::StrongClassifierDirectSelection::getReplacedClassifier ( ) const
Rect cv::StrongClassifierDirectSelection::getROI ( ) const
std::vector<int> cv::StrongClassifierDirectSelection::getSelectedWeakClassifier ( )
int cv::StrongClassifierDirectSelection::getSwappedClassifier ( ) const
bool cv::StrongClassifierDirectSelection::getUseFeatureExchange ( ) const
void cv::StrongClassifierDirectSelection::initBaseClassifier ( )
void cv::StrongClassifierDirectSelection::replaceWeakClassifier ( int  idx)
bool cv::StrongClassifierDirectSelection::update ( const Mat image,
int  target,
float  importance = 1.0 
)

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