PARP Research Group | Universidad de Murcia |
QVKLTFeatureTracking Class Reference
|
Public Member Functions | |
QVKLTFeatureTracking (QVKLTTrackerFeature feature, int firstFrame) | |
Constructor from an freshly detected feature. | |
QVKLTFeatureTracking () | |
Default constructor. | |
QVKLTFeatureTracking (const QVKLTFeatureTracking &ft) | |
Copy constructor. | |
void | addFeature (const QVKLTTrackerFeature &feature) |
Update the tracking hash with the updated feature hash. | |
QList< QVKLTTrackerFeature > | getFeatureList () const |
Gets the list of feature positions in the tracking. | |
int | getLastFrame () const |
Gets the index of the last frame in which the feature was detected. | |
int | getFirstFrame () const |
Gets the index of the first frame in which the feature was detected. | |
int | size () const |
Gets the size of the tracking (number of frames in which the feature was tracked). |
Class to store the successive positions of an individual feature tracked in a video sequence.
Definition at line 39 of file qvkltfeaturetracking.h.
QVKLTFeatureTracking::QVKLTFeatureTracking | ( | QVKLTTrackerFeature | feature, | |
int | firstFrame | |||
) | [inline] |
Constructor from an freshly detected feature.
feature | Feature just detected. | |
firstFrame | Frame number in which the feature was detected. |
Definition at line 49 of file qvkltfeaturetracking.h.
QVKLTFeatureTracking::QVKLTFeatureTracking | ( | ) | [inline] |
Default constructor.
Definition at line 57 of file qvkltfeaturetracking.h.
QVKLTFeatureTracking::QVKLTFeatureTracking | ( | const QVKLTFeatureTracking & | ft | ) | [inline] |
Copy constructor.
Definition at line 64 of file qvkltfeaturetracking.h.
void QVKLTFeatureTracking::addFeature | ( | const QVKLTTrackerFeature & | feature | ) | [inline] |
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 74 of file qvkltfeaturetracking.h.
QList<QVKLTTrackerFeature> QVKLTFeatureTracking::getFeatureList | ( | ) | const [inline] |
Gets the list of feature positions in the tracking.
Definition at line 89 of file qvkltfeaturetracking.h.
int QVKLTFeatureTracking::getLastFrame | ( | ) | const [inline] |
Gets the index of the last frame in which the feature was detected.
Definition at line 96 of file qvkltfeaturetracking.h.
Referenced by QVTrackingManager::getTrackingsAtFrame().
int QVKLTFeatureTracking::getFirstFrame | ( | ) | const [inline] |
Gets the index of the first frame in which the feature was detected.
Definition at line 103 of file qvkltfeaturetracking.h.
Referenced by QVTrackingManager::getTrackingsAtFrame().
int QVKLTFeatureTracking::size | ( | ) | const [inline] |
Gets the size of the tracking (number of frames in which the feature was tracked).
Definition at line 110 of file qvkltfeaturetracking.h.