OpenCV453
|
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 [詳解]
#include <tracking_internals.hpp>
公開メンバ関数 | |
TrackerContribSampler () | |
Constructor | |
~TrackerContribSampler () | |
Destructor | |
void | sampling (const Mat &image, Rect boundingBox) |
Computes the regions starting from a position in an image [詳解] | |
const std::vector< std::pair< String, Ptr< TrackerContribSamplerAlgorithm > > > & | getSamplers () const |
Return the collection of the TrackerContribSamplerAlgorithm | |
const std::vector< Mat > & | getSamples () const |
Return the samples from all TrackerContribSamplerAlgorithm, [AAM] Fig. 1 variable Sk | |
bool | addTrackerSamplerAlgorithm (String trackerSamplerAlgorithmType) |
Add TrackerContribSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise [詳解] | |
bool | addTrackerSamplerAlgorithm (Ptr< TrackerContribSamplerAlgorithm > &sampler) |
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
[AAM] Sampling e Labeling. See table I and section III B
TrackerContribSampler is an aggregation of TrackerContribSamplerAlgorithm
bool cv::detail::tracking::TrackerContribSampler::addTrackerSamplerAlgorithm | ( | Ptr< TrackerContribSamplerAlgorithm > & | sampler | ) |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
sampler | The TrackerContribSamplerAlgorithm |
bool cv::detail::tracking::TrackerContribSampler::addTrackerSamplerAlgorithm | ( | String | trackerSamplerAlgorithmType | ) |
Add TrackerContribSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise
trackerSamplerAlgorithmType | The TrackerContribSamplerAlgorithm name |
The modes available now:
Example TrackerContribSamplerAlgorithm::addTrackerContribSamplerAlgorithm : :
Computes the regions starting from a position in an image
image | The current frame |
boundingBox | The bounding box from which regions can be calculated |