![]() |
OpenCV
4.1.0
Open Source Computer Vision
|
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms. More...
#include <opencv2/tracking/tracker.hpp>
Classes | |
| struct | Params |
Public Member Functions | |
| TrackerFeatureHAAR (const TrackerFeatureHAAR::Params ¶meters=TrackerFeatureHAAR::Params()) | |
| Constructor. | |
| ~TrackerFeatureHAAR () CV_OVERRIDE | |
| bool | 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. | |
| CvHaarEvaluator::FeatureHaar & | getFeatureAt (int id) |
| Get the feature in position id. | |
| void | selection (Mat &response, int npoints) CV_OVERRIDE |
| Identify most effective features. | |
| bool | swapFeature (int source, int target) |
| Swap the feature in position source with the feature in position target. | |
| bool | swapFeature (int id, CvHaarEvaluator::FeatureHaar &feature) |
| Swap the feature in position id with the feature input. | |
Public Member Functions inherited from cv::TrackerFeature | |
| virtual | ~TrackerFeature () |
| void | compute (const std::vector< Mat > &images, Mat &response) |
| Compute the features in the images collection. | |
| String | getClassName () const |
| Get the name of the specific TrackerFeature. | |
Protected Member Functions | |
| bool | computeImpl (const std::vector< Mat > &images, Mat &response) CV_OVERRIDE |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::TrackerFeature | |
| static Ptr< TrackerFeature > | create (const String &trackerFeatureType) |
| Create TrackerFeature by tracker feature type. | |
Protected Attributes inherited from cv::TrackerFeature | |
| String | className |
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms.
| cv::TrackerFeatureHAAR::TrackerFeatureHAAR | ( | const TrackerFeatureHAAR::Params & | parameters = TrackerFeatureHAAR::Params() | ) |
Constructor.
| parameters | TrackerFeatureHAAR parameters TrackerFeatureHAAR::Params |
| cv::TrackerFeatureHAAR::~TrackerFeatureHAAR | ( | ) |
|
protectedvirtual |
Implements cv::TrackerFeature.
| bool cv::TrackerFeatureHAAR::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.
| selFeatures | indices of selected features |
| images | The images |
| response | Collection of response for the specific TrackerFeature |
| CvHaarEvaluator::FeatureHaar& cv::TrackerFeatureHAAR::getFeatureAt | ( | int | id | ) |
Get the feature in position id.
| id | The position |
|
virtual |
Identify most effective features.
| response | Collection of response for the specific TrackerFeature |
| npoints | Max number of features |
Implements cv::TrackerFeature.
| bool cv::TrackerFeatureHAAR::swapFeature | ( | int | source, |
| int | target | ||
| ) |
Swap the feature in position source with the feature in position target.
| source | The source position |
| target | The target position |
| bool cv::TrackerFeatureHAAR::swapFeature | ( | int | id, |
| CvHaarEvaluator::FeatureHaar & | feature | ||
| ) |
Swap the feature in position id with the feature input.
| id | The position |
| feature | The feature |
1.8.3