Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler.
More...
#include <opencv2/tracking/tracking_internals.hpp>
Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler.
◆ ~TrackerContribSamplerAlgorithm()
virtual cv::detail::tracking::TrackerContribSamplerAlgorithm::~TrackerContribSamplerAlgorithm |
( |
| ) |
|
|
virtual |
◆ create()
Create TrackerContribSamplerAlgorithm by tracker sampler type.
- Parameters
-
trackerSamplerType | The trackerSamplerType name |
The modes available now:
- "CSC" – Current State Center
- "CS" – Current State
◆ getClassName()
String cv::detail::tracking::TrackerContribSamplerAlgorithm::getClassName |
( |
| ) |
const |
◆ sampling()
virtual bool cv::detail::tracking::TrackerContribSamplerAlgorithm::sampling |
( |
const Mat & | image, |
|
|
const Rect & | boundingBox, |
|
|
std::vector< Mat > & | sample ) |
|
virtual |
Computes the regions starting from a position in an image.
Return true if samples are computed, false otherwise
- Parameters
-
image | The current frame |
boundingBox | The bounding box from which regions can be calculated |
sample | The computed samples [232] Fig. 1 variable Sk |
Implements cv::detail::tracking::TrackerSamplerAlgorithm.
◆ samplingImpl()
virtual bool cv::detail::tracking::TrackerContribSamplerAlgorithm::samplingImpl |
( |
const Mat & | image, |
|
|
Rect | boundingBox, |
|
|
std::vector< Mat > & | sample ) |
|
protectedpure virtual |
◆ className
String cv::detail::tracking::TrackerContribSamplerAlgorithm::className |
|
protected |
The documentation for this class was generated from the following file: