#include <opencv2/tracking/feature.hpp>
|
virtual void | generateFeatures () CV_OVERRIDE |
|
virtual void | generateFeatures (int numFeatures) |
| Overload the original generateFeatures in order to limit the number of the features. More...
|
|
const std::vector< CvHaarEvaluator::FeatureHaar > & | getFeatures () const |
|
CvHaarEvaluator::FeatureHaar & | getFeatures (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 |
|
virtual | ~CvFeatureEvaluator () |
|
const Mat & | getCls () const |
|
float | getCls (int si) const |
|
int | getFeatureSize () const |
|
int | getMaxCatCount () const |
|
int | getNumFeatures () const |
|
virtual void | init (const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) |
|
virtual float | operator() (int featureIdx, int sampleIdx)=0 |
|
virtual void | setImage (const Mat &img, uchar clsLabel, int idx) |
|
virtual void | writeFeatures (FileStorage &fs, const Mat &featureMap) const =0 |
|
◆ 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 |
Overload the original generateFeatures in order to limit the number of the features.
TODO new method
- Parameters
-
numFeatures | Number of the features |
◆ 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 |
The documentation for this class was generated from the following file: