PARP Research Group | Universidad de Murcia |
QVTrackingManager Class Reference
|
Public Member Functions | |
QVTrackingManager (bool removeLostTrackings=true) | |
Default constructor. | |
~QVTrackingManager () | |
Default destructor. | |
void | updateTrackings (QHash< int, QVKLTTrackerFeature > *tracks) |
Update the tracking hash with the updated feature hash. | |
QList< int > | getTrackingsAtFrame (int frame) |
Get all features tracked in a given frame. | |
QList< int > | getTrackingsAtLastFrame () |
Get all features tracked in the last frame. | |
QHash< int, QVKLTFeatureTracking > | getTrackings () const |
Get all trackings. | |
QVKLTFeatureTracking & | getFeatureTracking (int id) |
Get the tracking corresponding to a given individual feature. |
Class to manage trackings of features in video sequences.
Definition at line 121 of file qvkltfeaturetracking.h.
QVTrackingManager::QVTrackingManager | ( | bool | removeLostTrackings = true |
) | [inline] |
Default constructor.
Definition at line 125 of file qvkltfeaturetracking.h.
QVTrackingManager::~QVTrackingManager | ( | ) | [inline] |
Default destructor.
Definition at line 132 of file qvkltfeaturetracking.h.
void QVTrackingManager::updateTrackings | ( | QHash< int, QVKLTTrackerFeature > * | tracks | ) |
Update the tracking hash with the updated feature hash.
This method updates the tracking hash according to the feature status in the input feature hash.
tracks | Input feature hash. |
Definition at line 27 of file qvkltfeaturetracking.cpp.
QList< int > QVTrackingManager::getTrackingsAtFrame | ( | int | frame | ) |
Get all features tracked in a given frame.
frame | number of the frame |
Definition at line 66 of file qvkltfeaturetracking.cpp.
Referenced by getTrackingsAtLastFrame().
QList< int > QVTrackingManager::getTrackingsAtLastFrame | ( | ) |
Get all features tracked in the last frame.
Definition at line 58 of file qvkltfeaturetracking.cpp.
QHash<int, QVKLTFeatureTracking> QVTrackingManager::getTrackings | ( | ) | const [inline] |
Get all trackings.
Definition at line 155 of file qvkltfeaturetracking.h.
QVKLTFeatureTracking& QVTrackingManager::getFeatureTracking | ( | int | id | ) | [inline] |
Get the tracking corresponding to a given individual feature.
id | Feature identifier |
Definition at line 163 of file qvkltfeaturetracking.h.