#include <opencv2/tracking/feature.hpp>
◆ 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 新方法
- 参数
-
◆ getFeatures() [1/2]
◆ getFeatures() [2/2]
◆ 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 |
此类的文档是从以下文件生成的