OpenCV453
公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::detail::tracking::TrackerTargetState クラス

Abstract base class for TrackerTargetState that represents a possible state of the target. [詳解]

#include <tracking.detail.hpp>

cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetStateに継承されています。

公開メンバ関数

Point2f getTargetPosition () const
 Get the position [詳解]
 
void setTargetPosition (const Point2f &position)
 Set the position [詳解]
 
int getTargetWidth () const
 Get the width of the target [詳解]
 
void setTargetWidth (int width)
 Set the width of the target [詳解]
 
int getTargetHeight () const
 Get the height of the target [詳解]
 
void setTargetHeight (int height)
 Set the height of the target [詳解]
 

限定公開変数類

Point2f targetPosition
 
int targetWidth
 
int targetHeight
 

詳解

Abstract base class for TrackerTargetState that represents a possible state of the target.

See [AAM] $\hat{x}^{i}_{k}$ all the states candidates.

Inherits this class with your Target state, In own implementation you can add scale variation, width, height, orientation, etc.

関数詳解

◆ getTargetHeight()

int cv::detail::tracking::TrackerTargetState::getTargetHeight ( ) const

Get the height of the target

戻り値
The height of the target

◆ getTargetPosition()

Point2f cv::detail::tracking::TrackerTargetState::getTargetPosition ( ) const

Get the position

戻り値
The position

◆ getTargetWidth()

int cv::detail::tracking::TrackerTargetState::getTargetWidth ( ) const

Get the width of the target

戻り値
The width of the target

◆ setTargetHeight()

void cv::detail::tracking::TrackerTargetState::setTargetHeight ( int  height)

Set the height of the target

引数
heightThe height of the target

◆ setTargetPosition()

void cv::detail::tracking::TrackerTargetState::setTargetPosition ( const Point2f position)

Set the position

引数
positionThe position

◆ setTargetWidth()

void cv::detail::tracking::TrackerTargetState::setTargetWidth ( int  width)

Set the width of the target

引数
widthThe width of the target

このクラス詳解は次のファイルから抽出されました: