OpenCV
4.5.1
Open Source Computer Vision
|
TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL. More...
#include <opencv2/tracking/tracking_internals.hpp>
Classes | |
struct | Params |
Public Types | |
enum | { MODE_INIT_POS = 1, MODE_INIT_NEG = 2, MODE_TRACK_POS = 3, MODE_TRACK_NEG = 4, MODE_DETECT = 5 } |
Public Member Functions | |
TrackerContribSamplerCSC (const TrackerContribSamplerCSC::Params ¶meters=TrackerContribSamplerCSC::Params()) | |
Constructor. More... | |
~TrackerContribSamplerCSC () | |
void | setMode (int samplingMode) |
Set the sampling mode of TrackerContribSamplerCSC. 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 () |
Protected Member Functions | |
bool | samplingImpl (const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE |
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 |
TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL.
anonymous enum |
cv::detail::tracking::TrackerContribSamplerCSC::TrackerContribSamplerCSC | ( | const TrackerContribSamplerCSC::Params & | parameters = TrackerContribSamplerCSC::Params() | ) |
Constructor.
parameters | TrackerContribSamplerCSC parameters TrackerContribSamplerCSC::Params |
cv::detail::tracking::TrackerContribSamplerCSC::~TrackerContribSamplerCSC | ( | ) |
void cv::detail::tracking::TrackerContribSamplerCSC::setMode | ( | int | samplingMode | ) |
Set the sampling mode of TrackerContribSamplerCSC.
samplingMode | The sampling mode |
The modes are: