63 virtual void Compensate(
double *x,
double *y);
72 double *rot, *rotprev;
85 virtual void Compensate(
double *x,
double *y);
This file implements a tracking interface.
Pure virtual base class for tracking optical flow.
TrackerPsa implements a very simple PSA tracker
TrackerPsa(int _max_shift=50)
Constructor.
double Track(cv::Mat &img)
Track using PSA.
double yd
Track result y-translation in pixels
double xd
Track result x-translation in pixels
TrackerPsaRot implements a slightly extended version of a TrackerPsa which can also detect sideways r...
double rotd
Track result rotation in degrees
~TrackerPsaRot()
Destructor.
double Track(cv::Mat &img)
Track using PSA with rotation.
TrackerPsaRot(int _max_shift=50)
Constructor.