OpenCV
4.5.1
Open Source Computer Vision
|
Class that manages the extraction and selection of features. More...
#include <opencv2/tracking/tracking_internals.hpp>
Public Member Functions | |
TrackerContribFeatureSet () | |
~TrackerContribFeatureSet () | |
bool | addTrackerFeature (String trackerFeatureType) |
Add TrackerContribFeature in the collection. Return true if TrackerContribFeature is added, false otherwise. More... | |
bool | addTrackerFeature (Ptr< TrackerContribFeature > &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< TrackerContribFeature > > > & | getTrackerFeature () const |
Get the TrackerContribFeature collection (TrackerContribFeature name, TrackerContribFeature 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.
[203] Feature Extraction and Feature Set Refinement (Feature Processing and Feature Selection). See table I and section III C [139] Appearance modelling -> Visual representation (Table II, section 3.1 - 3.2)
TrackerContribFeatureSet is an aggregation of TrackerContribFeature
cv::detail::tracking::TrackerContribFeatureSet::TrackerContribFeatureSet | ( | ) |
cv::detail::tracking::TrackerContribFeatureSet::~TrackerContribFeatureSet | ( | ) |
bool cv::detail::tracking::TrackerContribFeatureSet::addTrackerFeature | ( | String | trackerFeatureType | ) |
Add TrackerContribFeature in the collection. Return true if TrackerContribFeature is added, false otherwise.
trackerFeatureType | The TrackerContribFeature name |
The modes available now:
The modes that will be available soon:
Example TrackerContribFeatureSet::addTrackerFeature : :
bool cv::detail::tracking::TrackerContribFeatureSet::addTrackerFeature | ( | Ptr< TrackerContribFeature > & | 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 TrackerContribFeature class |
void cv::detail::tracking::TrackerContribFeatureSet::extraction | ( | const std::vector< Mat > & | images | ) |
Extract features from the images collection.
images | The input images |
const std::vector<Mat>& cv::detail::tracking::TrackerContribFeatureSet::getResponses | ( | ) | const |
Get the responses.
const std::vector<std::pair<String, Ptr<TrackerContribFeature> > >& cv::detail::tracking::TrackerContribFeatureSet::getTrackerFeature | ( | ) | const |
Get the TrackerContribFeature collection (TrackerContribFeature name, TrackerContribFeature pointer)
void cv::detail::tracking::TrackerContribFeatureSet::removeOutliers | ( | ) |
Remove outliers for all feature types (optional)
void cv::detail::tracking::TrackerContribFeatureSet::selection | ( | ) |
Identify most effective features for all feature types (optional)