OpenCV  4.5.1
Open Source Computer Vision
Public Member Functions | List of all members
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.private.hpp>

Inheritance diagram for cv::detail::tracking::TrackerSamplerAlgorithm:
cv::detail::tracking::TrackerContribSamplerAlgorithm cv::detail::tracking::TrackerSamplerCSC cv::detail::tracking::TrackerContribSamplerCSC cv::detail::tracking::TrackerSamplerCS cv::detail::tracking::TrackerSamplerPF

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. More...
 

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 [203] 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: