![]() |
OpenCV 4.14.0
Open Source Computer Vision
|
Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler. More...
#include <opencv2/tracking/tracking_internals.hpp>
Public Member Functions | |
| virtual | ~TrackerContribSamplerAlgorithm () |
| Destructor. | |
| String | getClassName () const |
| Get the name of the specific TrackerContribSamplerAlgorithm. | |
| virtual bool | sampling (const Mat &image, const Rect &boundingBox, std::vector< Mat > &sample) CV_OVERRIDE |
| Computes the regions starting from a position in an image. | |
| Public Member Functions inherited from cv::detail::tracking::TrackerSamplerAlgorithm | |
| virtual | ~TrackerSamplerAlgorithm () |
Static Public Member Functions | |
| static Ptr< TrackerContribSamplerAlgorithm > | create (const String &trackerSamplerType) |
| Create TrackerContribSamplerAlgorithm by tracker sampler type. | |
Protected Member Functions | |
| virtual bool | samplingImpl (const Mat &image, Rect boundingBox, std::vector< Mat > &sample)=0 |
Protected Attributes | |
| String | className |
Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler.
|
virtual |
Destructor.
|
static |
Create TrackerContribSamplerAlgorithm by tracker sampler type.
| trackerSamplerType | The trackerSamplerType name |
The modes available now:
| String cv::detail::tracking::TrackerContribSamplerAlgorithm::getClassName | ( | ) | const |
Get the name of the specific TrackerContribSamplerAlgorithm.
|
virtual |
Computes the regions starting from a position in an image.
Return true if samples are computed, false otherwise
| image | The current frame |
| boundingBox | The bounding box from which regions can be calculated |
| sample | The computed samples [240] Fig. 1 variable Sk |
Implements cv::detail::tracking::TrackerSamplerAlgorithm.
|
protected |