OpenCV 5.0.0-pre
Open Source Computer Vision
|
Class that manages the sampler in order to select regions for the update the model of the tracker [AAM] Sampling e Labeling. See table I and section III B. More...
#include <opencv2/video/detail/tracking.detail.hpp>
Public Member Functions | |
TrackerSampler () | |
~TrackerSampler () | |
bool | addTrackerSamplerAlgorithm (const Ptr< TrackerSamplerAlgorithm > &sampler) |
Add TrackerSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise. | |
const std::vector< Ptr< TrackerSamplerAlgorithm > > & | getSamplers () const |
Return the collection of the TrackerSamplerAlgorithm. | |
const std::vector< Mat > & | getSamples () const |
Return the samples from all TrackerSamplerAlgorithm, [233] Fig. 1 variable Sk. | |
void | sampling (const Mat &image, Rect boundingBox) |
Computes the regions starting from a position in an image. | |
Class that manages the sampler in order to select regions for the update the model of the tracker [AAM] Sampling e Labeling. See table I and section III B.
Class that manages the sampler in order to select regions for the update the model of the tracker
[233] Sampling e Labeling. See table I and section III B
TrackerSampler is an aggregation of TrackerSamplerAlgorithm
cv::detail::tracking::TrackerSampler::TrackerSampler | ( | ) |
cv::detail::tracking::TrackerSampler::~TrackerSampler | ( | ) |
bool cv::detail::tracking::TrackerSampler::addTrackerSamplerAlgorithm | ( | const Ptr< TrackerSamplerAlgorithm > & | sampler | ) |
Add TrackerSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise.
sampler | The TrackerSamplerAlgorithm |
const std::vector< Ptr< TrackerSamplerAlgorithm > > & cv::detail::tracking::TrackerSampler::getSamplers | ( | ) | const |
Return the collection of the TrackerSamplerAlgorithm.
const std::vector< Mat > & cv::detail::tracking::TrackerSampler::getSamples | ( | ) | const |
Return the samples from all TrackerSamplerAlgorithm, [233] Fig. 1 variable Sk.
Computes the regions starting from a position in an image.
image | The current frame |
boundingBox | The bounding box from which regions can be calculated |