Class cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState#
Implementation of the target state for TrackerAdaBoostingTargetState.
#include <opencv2/tracking/tracking_internals.hpp>Collaboration diagram for cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState:
Public Member Functions#
Public Member Functions inherited from cv::detail::tracking::TrackerTargetState
Return |
Name |
Description |
|---|---|---|
|
Get the height of the target. |
|
Get the position. |
||
|
Get the width of the target. |
|
|
Set the height of the target. |
|
|
Set the position. |
|
|
Set the width of the target. |
Additional Inherited Members#
Protected Attributes inherited from cv::detail::tracking::TrackerTargetState
Return |
Name |
Description |
|---|---|---|
|
||
|
Detailed Description#
Implementation of the target state for TrackerAdaBoostingTargetState.
Constructor & Destructor Documentation#
TrackerAdaBoostingTargetState()#
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState(
const Point2f & position,
int width,
int height,
bool foreground,
const Mat & responses )
Constructor.
Parameters
position— Top left corner of the bounding boxwidth— Width of the bounding boxheight— Height of the bounding boxforeground— label for target or backgroundresponses— list of features
~TrackerAdaBoostingTargetState()#
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::~TrackerAdaBoostingTargetState()
Destructor.
Member Function Documentation#
getTargetResponses()#
Mat cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::getTargetResponses()
Get the features extracted.
isTargetFg()#
bool cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::isTargetFg()
Get the label. Return true for target foreground, false for background.
setTargetFg()#
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetFg(bool foreground)
Set label: true for target foreground, false for background.
Parameters
foreground— Label for background/foreground
setTargetResponses()#
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetResponses(const Mat & responses)
Set the features extracted from TrackerContribFeatureSet.
Parameters
responses— The features extracted
Member Data Documentation#
isTarget#
bool cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::isTarget
targetResponses#
Mat cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::targetResponses
Source file#
The documentation for this class was generated from the following file:
opencv2/tracking/tracking_internals.hpp