Class cv::detail::tracking::TrackerSampler#

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. View details

Collaboration diagram for cv::detail::tracking::TrackerSampler:

Detailed Description#

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

TrackerSampler is an aggregation of TrackerSamplerAlgorithm

See also

TrackerSamplerAlgorithm

Constructor & Destructor Documentation#

TrackerSampler()#

cv::detail::tracking::TrackerSampler::TrackerSampler()

~TrackerSampler()#

cv::detail::tracking::TrackerSampler::~TrackerSampler()

Member Function Documentation#

addTrackerSamplerAlgorithm()#

bool cv::detail::tracking::TrackerSampler::addTrackerSamplerAlgorithm(const Ptr< TrackerSamplerAlgorithm > & sampler)

Add TrackerSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise.

Parameters

getSamplers()#

const std::vector< Ptr< TrackerSamplerAlgorithm > > & cv::detail::tracking::TrackerSampler::getSamplers()

Return the collection of the TrackerSamplerAlgorithm.

getSamples()#

const std::vector< Mat > & cv::detail::tracking::TrackerSampler::getSamples()

Return the samples from all TrackerSamplerAlgorithm, [259] Fig. 1 variable Sk.

sampling()#

void cv::detail::tracking::TrackerSampler::sampling(
const Mat & image,
Rect boundingBox )

Computes the regions starting from a position in an image.

Parameters

  • image — The current frame

  • boundingBox — The bounding box from which regions can be calculated

clearSamples()#

void cv::detail::tracking::TrackerSampler::clearSamples()

Member Data Documentation#

blockAddTrackerSampler#

bool cv::detail::tracking::TrackerSampler::blockAddTrackerSampler

samplers#

std::vector< Ptr< TrackerSamplerAlgorithm > > cv::detail::tracking::TrackerSampler::samplers

samples#

std::vector< Mat > cv::detail::tracking::TrackerSampler::samples

Source file#

The documentation for this class was generated from the following file: