Class cv::detail::tracking::TrackerStateEstimatorAdaBoosting#
TrackerStateEstimatorAdaBoosting based on ADA-Boosting.
#include <opencv2/tracking/tracking_internals.hpp>Collaboration diagram for cv::detail::tracking::TrackerStateEstimatorAdaBoosting:
Public Member Functions#
Public Member Functions inherited from cv::detail::tracking::TrackerStateEstimator
Return |
Name |
Description |
|---|---|---|
|
|
Estimate the most likely target state, return the estimated state. |
Get the name of the specific TrackerStateEstimator. |
||
|
Update the ConfidenceMap with the scores. |
Static Public Member Functions#
Static Public Member Functions inherited from cv::detail::tracking::TrackerStateEstimator
Return |
Name |
Description |
|---|---|---|
|
Create TrackerStateEstimator by tracker state estimator type. |
Additional Inherited Members#
Protected Member Functions inherited from cv::detail::tracking::TrackerStateEstimator
Return |
Name |
Description |
|---|---|---|
|
|
|
|
Protected Attributes inherited from cv::detail::tracking::TrackerStateEstimator
Detailed Description#
TrackerStateEstimatorAdaBoosting based on ADA-Boosting.
Constructor & Destructor Documentation#
TrackerStateEstimatorAdaBoosting()#
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerStateEstimatorAdaBoosting(
int numClassifer,
int initIterations,
int nFeatures,
Size patchSize,
const Rect & ROI )
Constructor.
Parameters
numClassifer— Number of base classifiersinitIterations— Number of iterations in the initializationnFeatures— Number of features/weak classifierspatchSize— tracking rectROI— initial ROI
~TrackerStateEstimatorAdaBoosting()#
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::~TrackerStateEstimatorAdaBoosting()
Destructor.
Member Function Documentation#
computeReplacedClassifier()#
std::vector< int > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::computeReplacedClassifier()
Get the list of the weak classifiers that should be replaced.
computeSelectedWeakClassifier()#
std::vector< int > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::computeSelectedWeakClassifier()
Get the list of the selected weak classifiers for the classification step.
computeSwappedClassifier()#
std::vector< int > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::computeSwappedClassifier()
Get the list of the weak classifiers that replace those to be replaced.
getSampleROI()#
Rect cv::detail::tracking::TrackerStateEstimatorAdaBoosting::getSampleROI()
Get the sampling ROI.
setCurrentConfidenceMap()#
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::setCurrentConfidenceMap(ConfidenceMap & confidenceMap)
Set the current confidenceMap.
Parameters
confidenceMap— The current :cConfidenceMap
setSampleROI()#
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::setSampleROI(const Rect & ROI)
Set the sampling ROI.
Parameters
ROI— the sampling ROI
estimateImpl()#
Ptr< TrackerTargetState > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::estimateImpl(const std::vector< ConfidenceMap > & confidenceMaps)
updateImpl()#
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::updateImpl(std::vector< ConfidenceMap > & confidenceMaps)
Member Data Documentation#
boostClassifier#
Ptr< StrongClassifierDirectSelection > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::boostClassifier
currentConfidenceMap#
ConfidenceMap cv::detail::tracking::TrackerStateEstimatorAdaBoosting::currentConfidenceMap
initPatchSize#
Size cv::detail::tracking::TrackerStateEstimatorAdaBoosting::initPatchSize
iterationInit#
int cv::detail::tracking::TrackerStateEstimatorAdaBoosting::iterationInit
numBaseClassifier#
int cv::detail::tracking::TrackerStateEstimatorAdaBoosting::numBaseClassifier
numFeatures#
int cv::detail::tracking::TrackerStateEstimatorAdaBoosting::numFeatures
replacedClassifier#
std::vector< int > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::replacedClassifier
sampleROI#
Rect cv::detail::tracking::TrackerStateEstimatorAdaBoosting::sampleROI
swappedClassifier#
std::vector< int > cv::detail::tracking::TrackerStateEstimatorAdaBoosting::swappedClassifier
trained#
bool cv::detail::tracking::TrackerStateEstimatorAdaBoosting::trained
Source file#
The documentation for this class was generated from the following file:
opencv2/tracking/tracking_internals.hpp