OpenCV  4.7.0
Open Source Computer Vision
Public Member Functions | Protected Member Functions | List of all members
cv::detail::tracking::TrackerFeatureFeature2d Class Reference

TrackerContribFeature based on Feature2D. More...

#include <opencv2/tracking/tracking_internals.hpp>

Inheritance diagram for cv::detail::tracking::TrackerFeatureFeature2d:
cv::detail::tracking::TrackerContribFeature cv::detail::tracking::TrackerFeature

Public Member Functions

 TrackerFeatureFeature2d (String detectorType, String descriptorType)
 Constructor. More...
 
 ~TrackerFeatureFeature2d () CV_OVERRIDE
 
void selection (Mat &response, int npoints) CV_OVERRIDE
 Identify most effective features. More...
 
- Public Member Functions inherited from cv::detail::tracking::TrackerContribFeature
virtual ~TrackerContribFeature ()
 
String getClassName () const
 Get the name of the specific TrackerContribFeature. More...
 
- Public Member Functions inherited from cv::detail::tracking::TrackerFeature
virtual ~TrackerFeature ()
 
void compute (const std::vector< Mat > &images, Mat &response)
 Compute the features in the images collection. More...
 

Protected Member Functions

bool computeImpl (const std::vector< Mat > &images, Mat &response) CV_OVERRIDE
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::detail::tracking::TrackerContribFeature
static Ptr< TrackerContribFeaturecreate (const String &trackerFeatureType)
 Create TrackerContribFeature by tracker feature type. More...
 
- Protected Attributes inherited from cv::detail::tracking::TrackerContribFeature
String className
 

Detailed Description

TrackerContribFeature based on Feature2D.

Constructor & Destructor Documentation

◆ TrackerFeatureFeature2d()

cv::detail::tracking::TrackerFeatureFeature2d::TrackerFeatureFeature2d ( String  detectorType,
String  descriptorType 
)

Constructor.

Parameters
detectorTypestring of FeatureDetector
descriptorTypestring of DescriptorExtractor

◆ ~TrackerFeatureFeature2d()

cv::detail::tracking::TrackerFeatureFeature2d::~TrackerFeatureFeature2d ( )

Member Function Documentation

◆ computeImpl()

bool cv::detail::tracking::TrackerFeatureFeature2d::computeImpl ( const std::vector< Mat > &  images,
Mat response 
)
protectedvirtual

◆ selection()

void cv::detail::tracking::TrackerFeatureFeature2d::selection ( Mat response,
int  npoints 
)
virtual

Identify most effective features.

Parameters
responseCollection of response for the specific TrackerContribFeature
npointsMax number of features
Note
This method modifies the response parameter

Implements cv::detail::tracking::TrackerContribFeature.


The documentation for this class was generated from the following file: