TrackerTargetState 的抽象基类,表示目标的可能状态。更多…
#include <opencv2/video/detail/tracking.detail.hpp>
TrackerTargetState 的抽象基类,表示目标的可能状态。
参见 [232] \(\hat{x}^{i}_{k}\) 所有状态候选。
使用您的目标状态继承此类,在您自己的实现中,您可以添加比例变化、宽度、高度、方向等。
◆ ~TrackerTargetState()
virtual cv::detail::tracking::TrackerTargetState::~TrackerTargetState |
( |
| ) |
|
|
inlinevirtual |
◆ getTargetHeight()
int cv::detail::tracking::TrackerTargetState::getTargetHeight |
( |
| ) |
const |
◆ getTargetPosition()
Point2f cv::detail::tracking::TrackerTargetState::getTargetPosition |
( |
| ) |
const |
◆ getTargetWidth()
int cv::detail::tracking::TrackerTargetState::getTargetWidth |
( |
| ) |
const |
◆ setTargetHeight()
void cv::detail::tracking::TrackerTargetState::setTargetHeight |
( |
int | height | ) |
|
◆ setTargetPosition()
void cv::detail::tracking::TrackerTargetState::setTargetPosition |
( |
const Point2f & | position | ) |
|
◆ setTargetWidth()
void cv::detail::tracking::TrackerTargetState::setTargetWidth |
( |
int | width | ) |
|
◆ targetHeight
int cv::detail::tracking::TrackerTargetState::targetHeight |
|
protected |
◆ targetPosition
Point2f cv::detail::tracking::TrackerTargetState::targetPosition |
|
protected |
◆ targetWidth
int cv::detail::tracking::TrackerTargetState::targetWidth |
|
protected |
此类的文档是从以下文件生成的