OpenCV 4.10.0
开源计算机视觉库
正在加载...
正在搜索...
无匹配项
公有成员函数 | 所有成员列表
cv::detail::tracking::online_boosting::StrongClassifierDirectSelection 类参考

#include <opencv2/tracking/onlineBoosting.hpp>

cv::detail::tracking::online_boosting::StrongClassifierDirectSelection 的协作图

公有成员函数

 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)
 

构造函数和析构函数文档

◆ StrongClassifierDirectSelection()

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

◆ ~StrongClassifierDirectSelection()

virtual cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::~StrongClassifierDirectSelection ( )
virtual

成员函数文档

◆ classifySmooth()

float cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::classifySmooth ( const std::vector< Mat > &  images,
const Rect sampleROI,
int &  idx 
)

◆ eval()

float cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::eval ( const Mat response)

◆ getNumBaseClassifier()

int cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getNumBaseClassifier ( )

◆ getPatchSize()

Size cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getPatchSize ( ) const

◆ getReplacedClassifier()

int cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getReplacedClassifier ( ) const

◆ getROI()

Rect cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getROI ( ) const

◆ getSelectedWeakClassifier()

std::vector< int > cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getSelectedWeakClassifier ( )

◆ getSwappedClassifier()

int cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getSwappedClassifier ( ) const

◆ getUseFeatureExchange()

bool cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::getUseFeatureExchange ( ) const

◆ initBaseClassifier()

void cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::initBaseClassifier ( )

◆ replaceWeakClassifier()

void cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::replaceWeakClassifier ( int  idx)

◆ update()

bool cv::detail::tracking::online_boosting::StrongClassifierDirectSelection::update ( const Mat image,
int  target,
float  importance = 1.0 
)

该类的文档来自以下文件