OpenCV 4.10.0
开源计算机视觉
|
TrackerSampler 基于 CSC(当前状态居中),由 MIL 算法 TrackerMIL 使用。 更多...
#include <opencv2/tracking/tracking_internals.hpp>
类 | |
struct | Params |
公共类型 | |
enum | { MODE_INIT_POS = 1 , MODE_INIT_NEG = 2 , MODE_TRACK_POS = 3 , MODE_TRACK_NEG = 4 , MODE_DETECT = 5 } |
公共成员函数 | |
TrackerContribSamplerCSC (const TrackerContribSamplerCSC::Params ¶meters=TrackerContribSamplerCSC::Params()) | |
构造函数。 | |
~TrackerContribSamplerCSC () | |
void | setMode (int samplingMode) |
设置 TrackerContribSamplerCSC 的采样模式。 | |
从 cv::detail::tracking::TrackerContribSamplerAlgorithm 继承的公共成员函数 | |
virtual | ~TrackerContribSamplerAlgorithm () |
析构函数。 | |
String | getClassName () const |
获取特定 TrackerContribSamplerAlgorithm 的名称。 | |
virtual bool | sampling (const Mat &image, const Rect &boundingBox, std::vector< Mat > &sample) CV_OVERRIDE |
从图像中的位置开始计算区域。 | |
从 cv::detail::tracking::TrackerSamplerAlgorithm 继承的公共成员函数 | |
virtual | ~TrackerSamplerAlgorithm () |
受保护成员函数 | |
bool | samplingImpl (const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE |
其他继承的成员 | |
从 cv::detail::tracking::TrackerContribSamplerAlgorithm 继承的静态公共成员函数 | |
static Ptr< TrackerContribSamplerAlgorithm > | create (const String &trackerSamplerType) |
通过跟踪器采样器类型创建 TrackerContribSamplerAlgorithm。 | |
从 cv::detail::tracking::TrackerContribSamplerAlgorithm 继承的受保护属性 | |
String | className |
TrackerSampler 基于 CSC(当前状态居中),由 MIL 算法 TrackerMIL 使用。
匿名枚举 |
cv::detail::tracking::TrackerContribSamplerCSC::TrackerContribSamplerCSC | ( | const TrackerContribSamplerCSC::Params & | parameters = TrackerContribSamplerCSC::Params() | ) |
构造函数。
parameters | TrackerContribSamplerCSC 参数 TrackerContribSamplerCSC::Params |
cv::detail::tracking::TrackerContribSamplerCSC::~TrackerContribSamplerCSC | ( | ) |
void cv::detail::tracking::TrackerContribSamplerCSC::setMode | ( | int | samplingMode | ) |
设置 TrackerContribSamplerCSC 的采样模式。
samplingMode | 采样模式 |
模式是