Class cv::detail::tracking::TrackerStateEstimatorAdaBoosting#

TrackerStateEstimatorAdaBoosting based on ADA-Boosting.

Collaboration diagram for cv::detail::tracking::TrackerStateEstimatorAdaBoosting:

Public Member Functions#

Public Member Functions inherited from cv::detail::tracking::TrackerStateEstimator

Return

Name

Description

~TrackerStateEstimator()

Ptr< TrackerTargetState >

estimate(const std::vector< ConfidenceMap > & confidenceMaps)

Estimate the most likely target state, return the estimated state.

String

getClassName()

Get the name of the specific TrackerStateEstimator.

void

update(std::vector< ConfidenceMap > & confidenceMaps)

Update the ConfidenceMap with the scores.

Static Public Member Functions#

Static Public Member Functions inherited from cv::detail::tracking::TrackerStateEstimator

Return

Name

Description

static Ptr< TrackerStateEstimator >

create(const String & trackeStateEstimatorType)

Create TrackerStateEstimator by tracker state estimator type.

Additional Inherited Members#

Protected Member Functions inherited from cv::detail::tracking::TrackerStateEstimator
Protected Attributes inherited from cv::detail::tracking::TrackerStateEstimator

Return

Name

Description

String

className

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 classifiers

  • initIterations — Number of iterations in the initialization

  • nFeatures — Number of features/weak classifiers

  • patchSize — tracking rect

  • ROI — 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: