#include <Tracker.h>
Tracker::Tracker |
( |
FilterConfig |
filterConfig, |
|
|
int |
maxUpdateRate = 60 |
|
) |
| |
- Parameters
-
filterConfig | a configuration for filtering, see FilterConfig |
maxUpdateRate | an upper bound for tracking framerate |
virtual Tracker::~Tracker |
( |
void |
) | |
|
|
inlinevirtual |
void Tracker::fillMeasurements |
( |
cv::Mat & |
measurements, |
|
|
Similarity |
pose |
|
) |
| |
|
protected |
returns the transformation between tracker origin and world origin
Implemented in FiducialTracker.
virtual Similarity Tracker::getPose |
( |
int |
trackableId) | |
|
|
pure virtual |
returns estimated pose of trackable with trackableId
Implemented in FiducialTracker.
void Tracker::initKalmanFilter |
( |
cv::KalmanFilter & |
KF) | |
|
|
protected |
virtual bool Tracker::isTracked |
( |
int |
trackableId) | |
|
|
pure virtual |
is the object with the given id currently tracked?
Implemented in FiducialTracker.
void Tracker::newFps |
( |
int |
fps) | |
|
|
signal |
average fps have been updated
void Tracker::newOrigin |
( |
QMatrix4x4 |
origin) | |
|
|
signal |
transformation of origin has been updated
void Tracker::stopAndDelete |
( |
) | |
|
stop the thread and delete this tracker
virtual void Tracker::update |
( |
) | |
|
|
protectedpure virtual |
this i where the tracking takes place in subclasses
Implemented in FiducialTracker.
void Tracker::updateFPS |
( |
int |
timeElapsed) | |
|
|
protected |
void Tracker::updateKalmanFilter |
( |
cv::KalmanFilter & |
KF, |
|
|
cv::Mat & |
measurement, |
|
|
Similarity & |
pose |
|
) |
| |
|
protected |
volatile bool Tracker::doStop |
|
protected |
thread will stop soon if this is true
int Tracker::executionTime |
|
protected |
preferences for filtering
QQueue<int> Tracker::fpsQueue |
|
protected |
const int Tracker::fpsQueueLength = 32 |
|
staticprotected |
int Tracker::maxUpdateRate |
|
protected |
an upper bound for tracking framerate
Mat Tracker::measurements |
|
protected |
measurment matrix for Kalman filter
the number of action control (Kalman filter)
int Tracker::nMeasurements |
|
protected |
the number of measured states (Kalman filter)
the number of states (Kalman filter)
QMutex Tracker::stopMutex |
|
protected |
makes stopping the thread thread-safe
The documentation for this class was generated from the following files: