OpenCV  3.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState Class Reference

#include "tracker.hpp"

Inheritance diagram for cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState:
cv::TrackerTargetState

Public Member Functions

 TrackerMILTargetState (const Point2f &position, int width, int height, bool foreground, const Mat &features)
 Constructor. More...
 
 ~TrackerMILTargetState ()
 Destructor. More...
 
Mat getFeatures () const
 Get the features extracted. More...
 
bool isTargetFg () const
 Get the label. Return true for target foreground, false for background. More...
 
void setFeatures (const Mat &features)
 Set the features extracted from TrackerFeatureSet. More...
 
void setTargetFg (bool foreground)
 Set label: true for target foreground, false for background. 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 TrackerStateEstimatorMILBoosting

Constructor & Destructor Documentation

cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::TrackerMILTargetState ( const Point2f position,
int  width,
int  height,
bool  foreground,
const Mat features 
)

Constructor.

Parameters
positionTop left corner of the bounding box
widthWidth of the bounding box
heightHeight of the bounding box
foregroundlabel for target or background
featuresfeatures extracted
cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::~TrackerMILTargetState ( )
inline

Destructor.

Member Function Documentation

Mat cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::getFeatures ( ) const

Get the features extracted.

bool cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::isTargetFg ( ) const

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

void cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::setFeatures ( const Mat features)

Set the features extracted from TrackerFeatureSet.

Parameters
featuresThe features extracted
void cv::TrackerStateEstimatorMILBoosting::TrackerMILTargetState::setTargetFg ( bool  foreground)

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

Parameters
foregroundLabel for background/foreground

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