#include <Ctracker.h>
Public Member Functions | |
track_t | CalcDist (const Point_t &p) |
CTrack (const Point_t &p, const std::vector< cv::Point > &contour, track_t dt, size_t trackID) | |
Point_t | getEstimatedVelocity () const |
std::vector< cv::Point > | getLastContour () const |
void | Update (const Point_t &p, const std::vector< cv::Point > &contour, bool dataCorrect, size_t max_trace_length) |
Public Attributes | |
size_t | skipped_frames |
std::vector< Point_t > | trace |
size_t | track_id |
Private Attributes | |
TKalmanFilter | KF |
std::vector< cv::Point > | lastContour |
Point_t | prediction |
Definition at line 14 of file Ctracker.h.
CTrack::CTrack | ( | const Point_t & | p, |
const std::vector< cv::Point > & | contour, | ||
track_t | dt, | ||
size_t | trackID | ||
) | [inline] |
Definition at line 17 of file Ctracker.h.
track_t CTrack::CalcDist | ( | const Point_t & | p | ) | [inline] |
Definition at line 26 of file Ctracker.h.
Point_t CTrack::getEstimatedVelocity | ( | ) | const [inline] |
Definition at line 57 of file Ctracker.h.
std::vector<cv::Point> CTrack::getLastContour | ( | ) | const [inline] |
Definition at line 51 of file Ctracker.h.
void CTrack::Update | ( | const Point_t & | p, |
const std::vector< cv::Point > & | contour, | ||
bool | dataCorrect, | ||
size_t | max_trace_length | ||
) | [inline] |
Definition at line 32 of file Ctracker.h.
TKalmanFilter CTrack::KF [private] |
Definition at line 69 of file Ctracker.h.
std::vector<cv::Point> CTrack::lastContour [private] |
Definition at line 68 of file Ctracker.h.
Point_t CTrack::prediction [private] |
Definition at line 67 of file Ctracker.h.
size_t CTrack::skipped_frames |
Definition at line 64 of file Ctracker.h.
std::vector<Point_t> CTrack::trace |
Definition at line 62 of file Ctracker.h.
size_t CTrack::track_id |
Definition at line 63 of file Ctracker.h.