OpenCV 4.11.0
开源计算机视觉库
加载中...
搜索中...
无匹配项
cv::detail::tracking::contrib_feature::CvHaarEvaluator 类参考

#include <opencv2/tracking/feature.hpp>

cv::detail::tracking::contrib_feature::CvHaarEvaluator 的协作图

类  FeatureHaar
 

公有成员函数

virtual void generateFeatures () CV_OVERRIDE
 
virtual void generateFeatures (int numFeatures)
 重载原始 generateFeatures 函数,以限制特征数量。
 
const std::vector< CvHaarEvaluator::FeatureHaar > & getFeatures () const
 
CvHaarEvaluator::FeatureHaargetFeatures (int idx)
 
virtual void init (const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) CV_OVERRIDE
 
virtual float operator() (int featureIdx, int sampleIdx) CV_OVERRIDE
 
virtual void setImage (const Mat &img, uchar clsLabel=0, int idx=1) CV_OVERRIDE
 
Size setWinSize () const
 
void setWinSize (Size patchSize)
 
void writeFeature (FileStorage &fs) const
 
virtual void writeFeatures (FileStorage &fs, const Mat &featureMap) const CV_OVERRIDE
 
- 继承自 cv::detail::tracking::contrib_feature::CvFeatureEvaluator 的公有成员函数
virtual ~CvFeatureEvaluator ()
 
const MatgetCls () const
 
float getCls (int si) const
 
int getFeatureSize () const
 
int getMaxCatCount () const
 
int getNumFeatures () const
 

保护成员函数

void compute_integral (const cv::Mat &img, std::vector< cv::Mat_< float > > &ii_imgs)
 
- 继承自 cv::detail::tracking::contrib_feature::CvFeatureEvaluator 的保护成员函数

保护成员变量

Mat _ii_img
 
std::vector< FeatureHaarfeatures
 
bool isIntegral
 
Mat sum
 
- 继承自 cv::detail::tracking::contrib_feature::CvFeatureEvaluator 的保护成员变量
Mat cls
 
CvFeatureParamsfeatureParams
 
int nneg
 
int npos
 
int numFeatures
 
Size winSize
 

其他继承成员

- 继承自 cv::detail::tracking::contrib_feature::CvFeatureEvaluator 的静态公有成员函数
static Ptr< CvFeatureEvaluatorcreate (CvFeatureParams::FeatureType type)
 

成员函数文档

◆ compute_integral()

void cv::detail::tracking::contrib_feature::CvHaarEvaluator::compute_integral ( const cv::Mat & img,
std::vector< cv::Mat_< float > > & ii_imgs )
inlineprotected
此函数的调用图

◆ generateFeatures() [1/2]

virtual void cv::detail::tracking::contrib_feature::CvHaarEvaluator::generateFeatures ( )
virtual

◆ generateFeatures() [2/2]

virtual void cv::detail::tracking::contrib_feature::CvHaarEvaluator::generateFeatures ( int numFeatures)
virtual

重载原始 generateFeatures 函数,以限制特征数量。

TODO 新方法

参数
numFeatures特征数量

◆ getFeatures() [1/2]

const std::vector< CvHaarEvaluator::FeatureHaar > & cv::detail::tracking::contrib_feature::CvHaarEvaluator::getFeatures ( ) const

◆ getFeatures() [2/2]

CvHaarEvaluator::FeatureHaar & cv::detail::tracking::contrib_feature::CvHaarEvaluator::getFeatures ( int idx)
inline

◆ init()

virtual void cv::detail::tracking::contrib_feature::CvHaarEvaluator::init ( const CvFeatureParams * _featureParams,
int _maxSampleCount,
Size _winSize )
virtual

◆ operator()()

virtual float cv::detail::tracking::contrib_feature::CvHaarEvaluator::operator() ( int featureIdx,
int sampleIdx )
virtual

◆ setImage()

virtual void cv::detail::tracking::contrib_feature::CvHaarEvaluator::setImage ( const Mat & img,
uchar clsLabel = 0,
int idx = 1 )
virtual

◆ setWinSize() [1/2]

Size cv::detail::tracking::contrib_feature::CvHaarEvaluator::setWinSize ( ) const

◆ setWinSize() [2/2]

void cv::detail::tracking::contrib_feature::CvHaarEvaluator::setWinSize ( Size patchSize)

◆ writeFeature()

void cv::detail::tracking::contrib_feature::CvHaarEvaluator::writeFeature ( FileStorage & fs) const

◆ writeFeatures()

virtual void cv::detail::tracking::contrib_feature::CvHaarEvaluator::writeFeatures ( FileStorage & fs,
const Mat & featureMap ) const
virtual

成员数据文档

◆ _ii_img

Mat cv::detail::tracking::contrib_feature::CvHaarEvaluator::_ii_img
受保护的

◆ features

std::vector<FeatureHaar> cv::detail::tracking::contrib_feature::CvHaarEvaluator::features
受保护的

◆ isIntegral

bool cv::detail::tracking::contrib_feature::CvHaarEvaluator::isIntegral
受保护的

◆ sum

Mat cv::detail::tracking::contrib_feature::CvHaarEvaluator::sum
受保护的

此类的文档是从以下文件生成的: