OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::detail::tracking::TrackerSamplerAlgorithm Class Referenceabstract

Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler. More...

#include <opencv2/video/detail/tracking.detail.hpp>

Collaboration diagram for cv::detail::tracking::TrackerSamplerAlgorithm:

Public Member Functions

virtual ~TrackerSamplerAlgorithm ()
 
virtual bool sampling (const Mat &image, const Rect &boundingBox, std::vector< Mat > &sample)=0
 Computes the regions starting from a position in an image.
 

Detailed Description

Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler.

Constructor & Destructor Documentation

◆ ~TrackerSamplerAlgorithm()

virtual cv::detail::tracking::TrackerSamplerAlgorithm::~TrackerSamplerAlgorithm ( )
virtual

Member Function Documentation

◆ sampling()

virtual bool cv::detail::tracking::TrackerSamplerAlgorithm::sampling ( const Mat & image,
const Rect & boundingBox,
std::vector< Mat > & sample )
pure virtual

Computes the regions starting from a position in an image.

Return true if samples are computed, false otherwise

Parameters
imageThe current frame
boundingBoxThe bounding box from which regions can be calculated
sampleThe computed samples [233] Fig. 1 variable Sk

Implemented in cv::detail::tracking::TrackerContribSamplerAlgorithm, and cv::detail::tracking::TrackerSamplerCSC.


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