OpenCV  4.10.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)
 

保护属性

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
protected

◆ features

std::vector<FeatureHaar> cv::detail::tracking::contrib_feature::CvHaarEvaluator::features
protected

◆ isIntegral

bool cv::detail::tracking::contrib_feature::CvHaarEvaluator::isIntegral
protected

◆ sum

Mat cv::detail::tracking::contrib_feature::CvHaarEvaluator::sum
protected

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