OpenCV
3.4.1
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 "tracker.hpp"
Public Member Functions | |
Params () | |
Public Attributes | |
double | alpha |
int | iterationNum |
number of selection rounds More... | |
int | particlesNum |
number of "perturbed" boxes on each round More... | |
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::TrackerSamplerPF::Params::Params | ( | ) |
double cv::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::TrackerSamplerPF::Params::iterationNum |
number of selection rounds
int cv::TrackerSamplerPF::Params::particlesNum |
number of "perturbed" boxes on each round
Mat_<double> cv::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)