OpenCV
4.5.5
Open Source Computer Vision
|
TrackerContribSampler based on CS (current state), used by algorithm TrackerBoosting. More...
#include <opencv2/tracking/tracking_internals.hpp>
Classes | |
struct | Params |
Public Types | |
enum | { MODE_POSITIVE = 1, MODE_NEGATIVE = 2, MODE_CLASSIFY = 3 } |
Public Member Functions | |
TrackerSamplerCS (const TrackerSamplerCS::Params ¶meters=TrackerSamplerCS::Params()) | |
Constructor. More... | |
~TrackerSamplerCS () | |
Rect | getROI () const |
bool | samplingImpl (const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE |
void | setMode (int samplingMode) |
Set the sampling mode of TrackerSamplerCS. More... | |
Public Member Functions inherited from cv::detail::tracking::TrackerContribSamplerAlgorithm | |
virtual | ~TrackerContribSamplerAlgorithm () |
Destructor. More... | |
String | getClassName () const |
Get the name of the specific TrackerContribSamplerAlgorithm. More... | |
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. More... | |
Public Member Functions inherited from cv::detail::tracking::TrackerSamplerAlgorithm | |
virtual | ~TrackerSamplerAlgorithm () |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::detail::tracking::TrackerContribSamplerAlgorithm | |
static Ptr< TrackerContribSamplerAlgorithm > | create (const String &trackerSamplerType) |
Create TrackerContribSamplerAlgorithm by tracker sampler type. More... | |
Protected Attributes inherited from cv::detail::tracking::TrackerContribSamplerAlgorithm | |
String | className |
TrackerContribSampler based on CS (current state), used by algorithm TrackerBoosting.
anonymous enum |
cv::detail::tracking::TrackerSamplerCS::TrackerSamplerCS | ( | const TrackerSamplerCS::Params & | parameters = TrackerSamplerCS::Params() | ) |
Constructor.
parameters | TrackerSamplerCS parameters TrackerSamplerCS::Params |
cv::detail::tracking::TrackerSamplerCS::~TrackerSamplerCS | ( | ) |
Rect cv::detail::tracking::TrackerSamplerCS::getROI | ( | ) | const |
void cv::detail::tracking::TrackerSamplerCS::setMode | ( | int | samplingMode | ) |
Set the sampling mode of TrackerSamplerCS.
samplingMode | The sampling mode |
The modes are: