目标状态的实现,用于 TrackerAdaBoostingTargetState。更多…
#include <opencv2/tracking/tracking_internals.hpp>
◆ TrackerAdaBoostingTargetState()
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::TrackerAdaBoostingTargetState |
( |
const Point2f & | position, |
|
|
int | width, |
|
|
int | height, |
|
|
bool | foreground, |
|
|
const Mat & | responses ) |
构造函数。
- 参数
-
position | 边界框的左上角 |
width | 边界框的宽度 |
height | 边界框的高度 |
foreground | 目标或背景的标签 |
responses | 特征列表 |
◆ ~TrackerAdaBoostingTargetState()
cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::~TrackerAdaBoostingTargetState |
( |
| ) |
|
|
inline |
◆ getTargetResponses()
Mat cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::getTargetResponses |
( |
| ) |
const |
◆ isTargetFg()
bool cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::isTargetFg |
( |
| ) |
const |
获取标签。目标前景返回 true,背景返回 false。
◆ setTargetFg()
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetFg |
( |
bool | foreground | ) |
|
设置标签:目标前景为 true,背景为 false。
- 参数
-
◆ setTargetResponses()
void cv::detail::tracking::TrackerStateEstimatorAdaBoosting::TrackerAdaBoostingTargetState::setTargetResponses |
( |
const Mat & | responses | ) |
|
此类的文档是从以下文件生成的