PARP Research Group Universidad de Murcia


QVTrackingManager Class Reference
[GPU-KLT+FLOW wrapper functions and classes]

Class to manage trackings of features in video sequences. More...

#include <qvkltfeaturetracking.h>

List of all members.

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, QVKLTFeatureTrackinggetTrackings () const
 Get all trackings.
QVKLTFeatureTrackinggetFeatureTracking (int id)
 Get the tracking corresponding to a given individual feature.

Detailed Description

Class to manage trackings of features in video sequences.

Definition at line 121 of file qvkltfeaturetracking.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Parameters:
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.

Parameters:
frame number of the frame
Returns:
A list with the identifiers of all features tracked in that frame.

Definition at line 66 of file qvkltfeaturetracking.cpp.

Referenced by getTrackingsAtLastFrame().

QList< int > QVTrackingManager::getTrackingsAtLastFrame (  ) 

Get all features tracked in the last frame.

Returns:
A list with the identifiers of 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.

Returns:
A hash containing all the trackings.

Definition at line 155 of file qvkltfeaturetracking.h.

QVKLTFeatureTracking& QVTrackingManager::getFeatureTracking ( int  id  )  [inline]

Get the tracking corresponding to a given individual feature.

Parameters:
id Feature identifier
Returns:
The tracking corresponding to that feature

Definition at line 163 of file qvkltfeaturetracking.h.


The documentation for this class was generated from the following files:



QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.