OpenCV 5.0.0-pre
Open Source Computer Vision
|
This structure contains all the parameters that can be varied during the course of sampling algorithm. Below is the structure exposed, together with its members briefly explained with reference to the above discussion on algorithm's working. More...
#include <opencv2/tracking/tracking_internals.hpp>
Public Member Functions | |
Params () | |
Public Attributes | |
double | alpha |
int | iterationNum |
number of selection rounds | |
int | particlesNum |
number of "perturbed" boxes on each round | |
Mat_< double > | std |
This structure contains all the parameters that can be varied during the course of sampling algorithm. Below is the structure exposed, together with its members briefly explained with reference to the above discussion on algorithm's working.
cv::detail::tracking::TrackerSamplerPF::Params::Params | ( | ) |
double cv::detail::tracking::TrackerSamplerPF::Params::alpha |
with each new round we exponentially decrease the amount of "perturbing" we allow (like in simulated annealing) and this very alpha controls how fast annealing happens, ie. how fast perturbing decreases
int cv::detail::tracking::TrackerSamplerPF::Params::iterationNum |
number of selection rounds
int cv::detail::tracking::TrackerSamplerPF::Params::particlesNum |
number of "perturbed" boxes on each round
Mat_<double> cv::detail::tracking::TrackerSamplerPF::Params::std |
initial values for perturbing (1-by-4 array, as each rectangle is given by 4 values – coordinates of opposite vertices, hence we have 4 values to perturb)