Class cv::detail::tracking::TrackerContribSamplerAlgorithm#
Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler.
#include <opencv2/tracking/tracking_internals.hpp>Collaboration diagram for cv::detail::tracking::TrackerContribSamplerAlgorithm:
Public Member Functions#
Public Member Functions inherited from cv::detail::tracking::TrackerSamplerAlgorithm
Return |
Name |
Description |
|---|---|---|
|
|
Computes the regions starting from a position in an image. |
Detailed Description#
Abstract base class for TrackerContribSamplerAlgorithm that represents the algorithm for the specific sampler.
Constructor & Destructor Documentation#
~TrackerContribSamplerAlgorithm()#
cv::detail::tracking::TrackerContribSamplerAlgorithm::~TrackerContribSamplerAlgorithm()
Destructor.
Member Function Documentation#
getClassName()#
String cv::detail::tracking::TrackerContribSamplerAlgorithm::getClassName()
Get the name of the specific TrackerContribSamplerAlgorithm.
sampling()#
bool cv::detail::tracking::TrackerContribSamplerAlgorithm::sampling(
const Mat & image,
const Rect & boundingBox,
std::vector< Mat > & sample )
Computes the regions starting from a position in an image.
Return true if samples are computed, false otherwise
Parameters
image— The current frameboundingBox— The bounding box from which regions can be calculatedsample— The computed samples [259] Fig. 1 variable Sk
create()#
static Ptr< TrackerContribSamplerAlgorithm > cv::detail::tracking::TrackerContribSamplerAlgorithm::create(const String & trackerSamplerType)
Create TrackerContribSamplerAlgorithm by tracker sampler type.
The modes available now:
“CSC” Current State Center
“CS” Current State
Parameters
trackerSamplerType— The trackerSamplerType name
samplingImpl()#
bool cv::detail::tracking::TrackerContribSamplerAlgorithm::samplingImpl(
const Mat & image,
Rect boundingBox,
std::vector< Mat > & sample )
Member Data Documentation#
className#
String cv::detail::tracking::TrackerContribSamplerAlgorithm::className
Source file#
The documentation for this class was generated from the following file:
opencv2/tracking/tracking_internals.hpp