#include <tracking.h>
Public Member Functions | |
| Tracking () | |
| ~Tracking () | |
| IplImage * | paintCrossKalmanSelected (IplImage *) |
| IplImage * | paintCrossKalmanPredicted (IplImage *) |
| IplImage * | paintCrossKalmanPredictedAutoUpdate (IplImage *) |
| IplImage * | paintCrossKalmanPredictedLastUpdate (IplImage *) |
| void | addKalmanPrediction (float x, float y) |
| void | addKalmanPrediction (CBlob) |
| void | updateKalmanPrediction (float x, float y, int i) |
| void | updateKalmanPrediction (CBlob, int i) |
| void | clearKalman () |
| std::vector< CvPoint > | getKalmanPoints () |
| std::vector< CvPoint > | getKalmanPredicted () |
| std::vector< CvPoint > | getLastPointUpdate () |
Private Member Functions | |
| IplImage * | getColorImage (IplImage *src_image) |
Private Attributes | |
| std::vector< CvPoint > | vecKalmanPoints |
| std::vector< CvPoint > | vecLastPointUpdate |
| std::vector< CvPoint > | vecKalmanPredicted |
| std::vector< KalmanFilter * > | vecKalmanObjects |
Tracking class to control several kalman predictors
Definition at line 11 of file tracking.h.
| Tracking::Tracking | ( | ) |
Constructor.
Definition at line 6 of file tracking.cpp.
| Tracking::~Tracking | ( | ) |
Destructor.
Definition at line 9 of file tracking.cpp.
| void Tracking::addKalmanPrediction | ( | CBlob | blob | ) |
| void Tracking::addKalmanPrediction | ( | float | x, | |
| float | y | |||
| ) |
Add point to predict with kalman
Definition at line 11 of file tracking.cpp.
| void Tracking::clearKalman | ( | ) |
Clear Kalman
Definition at line 55 of file tracking.cpp.
| IplImage * Tracking::getColorImage | ( | IplImage * | src_image | ) | [private] |
Get color image anyway
Definition at line 140 of file tracking.cpp.
| std::vector< CvPoint > Tracking::getKalmanPoints | ( | ) |
Get vector vecKalmanPoints
Definition at line 123 of file tracking.cpp.
| std::vector< CvPoint > Tracking::getKalmanPredicted | ( | ) |
Get vector vecKalmanBlobs Get vector vecKalmanPredicted
Definition at line 131 of file tracking.cpp.
| std::vector< CvPoint > Tracking::getLastPointUpdate | ( | ) |
Get vector vecLastPointUpdate
Definition at line 136 of file tracking.cpp.
| IplImage * Tracking::paintCrossKalmanPredicted | ( | IplImage * | src | ) |
Paint cross in coordinates predicted with last update
Definition at line 78 of file tracking.cpp.
| IplImage * Tracking::paintCrossKalmanPredictedAutoUpdate | ( | IplImage * | src | ) |
Paint cross in coordinates predicted with new updated value of kalman algorithm
Definition at line 92 of file tracking.cpp.
| IplImage * Tracking::paintCrossKalmanPredictedLastUpdate | ( | IplImage * | src | ) |
Paint cross in coordinates predicted with last user updated value
Definition at line 107 of file tracking.cpp.
| IplImage * Tracking::paintCrossKalmanSelected | ( | IplImage * | src | ) |
Paint cross in coordinates selected
Definition at line 64 of file tracking.cpp.
| void Tracking::updateKalmanPrediction | ( | CBlob | blob, | |
| int | i | |||
| ) |
| void Tracking::updateKalmanPrediction | ( | float | x, | |
| float | y, | |||
| int | i | |||
| ) |
Kalman update for prediction object number i
Definition at line 38 of file tracking.cpp.
std::vector<KalmanFilter*> Tracking::vecKalmanObjects [private] |
Vector of kalman objects prediction
Definition at line 59 of file tracking.h.
std::vector<CvPoint> Tracking::vecKalmanPoints [private] |
Vector of points selected to predict
Definition at line 48 of file tracking.h.
std::vector<CvPoint> Tracking::vecKalmanPredicted [private] |
Vector of last blobs updated Vector of points predicted
Definition at line 56 of file tracking.h.
std::vector<CvPoint> Tracking::vecLastPointUpdate [private] |
Vector of blobs selected to predict Vector of Last Point Updated
Definition at line 52 of file tracking.h.
1.6.2