![]() |
OpenCV
3.4.1
Open Source Computer Vision
|
Class that manages the extraction and selection of features. More...
#include "tracker.hpp"
Public Member Functions | |
TrackerFeatureSet () | |
~TrackerFeatureSet () | |
bool | addTrackerFeature (String trackerFeatureType) |
Add TrackerFeature in the collection. Return true if TrackerFeature is added, false otherwise. More... | |
bool | addTrackerFeature (Ptr< TrackerFeature > &feature) |
void | extraction (const std::vector< Mat > &images) |
Extract features from the images collection. More... | |
const std::vector< Mat > & | getResponses () const |
Get the responses. More... | |
const std::vector< std::pair< String, Ptr< TrackerFeature > > > & | getTrackerFeature () const |
Get the TrackerFeature collection (TrackerFeature name, TrackerFeature pointer) More... | |
void | removeOutliers () |
Remove outliers for all feature types (optional) More... | |
void | selection () |
Identify most effective features for all feature types (optional) More... | |
Class that manages the extraction and selection of features.
[159] Feature Extraction and Feature Set Refinement (Feature Processing and Feature Selection). See table I and section III C [107] Appearance modelling -> Visual representation (Table II, section 3.1 - 3.2)
TrackerFeatureSet is an aggregation of TrackerFeature
cv::TrackerFeatureSet::TrackerFeatureSet | ( | ) |
cv::TrackerFeatureSet::~TrackerFeatureSet | ( | ) |
bool cv::TrackerFeatureSet::addTrackerFeature | ( | String | trackerFeatureType | ) |
Add TrackerFeature in the collection. Return true if TrackerFeature is added, false otherwise.
trackerFeatureType | The TrackerFeature name |
The modes available now:
The modes that will be available soon:
Example TrackerFeatureSet::addTrackerFeature : :
bool cv::TrackerFeatureSet::addTrackerFeature | ( | Ptr< TrackerFeature > & | feature | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
feature | The TrackerFeature class |
void cv::TrackerFeatureSet::extraction | ( | const std::vector< Mat > & | images | ) |
Extract features from the images collection.
images | The input images |
const std::vector<Mat>& cv::TrackerFeatureSet::getResponses | ( | ) | const |
Get the responses.
const std::vector<std::pair<String, Ptr<TrackerFeature> > >& cv::TrackerFeatureSet::getTrackerFeature | ( | ) | const |
Get the TrackerFeature collection (TrackerFeature name, TrackerFeature pointer)
void cv::TrackerFeatureSet::removeOutliers | ( | ) |
Remove outliers for all feature types (optional)
void cv::TrackerFeatureSet::selection | ( | ) |
Identify most effective features for all feature types (optional)