TrackerContribFeature based on HAAR features, used by TrackerMIL and many others algorithms.
More...
#include <opencv2/tracking/tracking_internals.hpp>
TrackerContribFeature based on HAAR features, used by TrackerMIL and many others algorithms.
- Note
- HAAR features implementation is copied from apps/traincascade and modified according to MIL
◆ TrackerContribFeatureHAAR()
◆ ~TrackerContribFeatureHAAR()
| cv::detail::tracking::TrackerContribFeatureHAAR::~TrackerContribFeatureHAAR |
( |
| ) |
|
◆ computeImpl()
| bool cv::detail::tracking::TrackerContribFeatureHAAR::computeImpl |
( |
const std::vector< Mat > & | images, |
|
|
Mat & | response ) |
|
protectedvirtual |
◆ extractSelected()
| bool cv::detail::tracking::TrackerContribFeatureHAAR::extractSelected |
( |
const std::vector< int > | selFeatures, |
|
|
const std::vector< Mat > & | images, |
|
|
Mat & | response ) |
Compute the features only for the selected indices in the images collection.
- Parameters
-
| selFeatures | indices of selected features |
| images | The images |
| response | Collection of response for the specific TrackerContribFeature |
◆ getFeatureAt()
| CvHaarEvaluator::FeatureHaar & cv::detail::tracking::TrackerContribFeatureHAAR::getFeatureAt |
( |
int | id | ) |
|
Get the feature in position id.
- Parameters
-
◆ selection()
| void cv::detail::tracking::TrackerContribFeatureHAAR::selection |
( |
Mat & | response, |
|
|
int | npoints ) |
|
virtual |
◆ swapFeature() [1/2]
| bool cv::detail::tracking::TrackerContribFeatureHAAR::swapFeature |
( |
int | id, |
|
|
CvHaarEvaluator::FeatureHaar & | feature ) |
Swap the feature in position id with the feature input.
- Parameters
-
| id | The position |
| feature | The feature |
◆ swapFeature() [2/2]
| bool cv::detail::tracking::TrackerContribFeatureHAAR::swapFeature |
( |
int | source, |
|
|
int | target ) |
Swap the feature in position source with the feature in position target.
- Parameters
-
| source | The source position |
| target | The target position |
The documentation for this class was generated from the following file: