OpenCV  3.4.3
Open Source Computer Vision
Public Member Functions | List of all members
cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState Class Reference

Implementation of the target state for TrackerAdaBoostingTargetState. More...

#include "tracker.hpp"

Inheritance diagram for cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState:
cv::TrackerTargetState

Public Member Functions

 TrackerAdaBoostingTargetState (const Point2f &position, int width, int height, bool foreground, const Mat &responses)
 Constructor. More...
 
 ~TrackerAdaBoostingTargetState ()
 Destructor. More...
 
Mat getTargetResponses () const
 Get the features extracted. More...
 
bool isTargetFg () const
 Get the label. Return true for target foreground, false for background. More...
 
void setTargetFg (bool foreground)
 Set label: true for target foreground, false for background. More...
 
void setTargetResponses (const Mat &responses)
 Set the features extracted from TrackerFeatureSet. More...
 
- Public Member Functions inherited from cv::TrackerTargetState
virtual ~TrackerTargetState ()
 
int getTargetHeight () const
 Get the height of the target. More...
 
Point2f getTargetPosition () const
 Get the position. More...
 
int getTargetWidth () const
 Get the width of the target. More...
 
void setTargetHeight (int height)
 Set the height of the target. More...
 
void setTargetPosition (const Point2f &position)
 Set the position. More...
 
void setTargetWidth (int width)
 Set the width of the target. More...
 

Additional Inherited Members

- Protected Attributes inherited from cv::TrackerTargetState
int targetHeight
 
Point2f targetPosition
 
int targetWidth
 

Detailed Description

Implementation of the target state for TrackerAdaBoostingTargetState.

Constructor & Destructor Documentation

§ TrackerAdaBoostingTargetState()

cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState ( const Point2f position,
int  width,
int  height,
bool  foreground,
const Mat responses 
)

Constructor.

Parameters
positionTop left corner of the bounding box
widthWidth of the bounding box
heightHeight of the bounding box
foregroundlabel for target or background
responseslist of features

§ ~TrackerAdaBoostingTargetState()

cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::~TrackerAdaBoostingTargetState ( )
inline

Destructor.

Member Function Documentation

§ getTargetResponses()

Mat cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::getTargetResponses ( ) const

Get the features extracted.

§ isTargetFg()

bool cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::isTargetFg ( ) const

Get the label. Return true for target foreground, false for background.

§ setTargetFg()

void cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetFg ( bool  foreground)

Set label: true for target foreground, false for background.

Parameters
foregroundLabel for background/foreground

§ setTargetResponses()

void cv::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetResponses ( const Mat responses)

Set the features extracted from TrackerFeatureSet.

Parameters
responsesThe features extracted

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