Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Private Member Functions | Private Attributes
jafar::gfm::tracks Class Reference

This class defines the container designed to store the list of tracks. More...


Detailed Description

This class defines the container designed to store the list of tracks.

Definition at line 29 of file tracksList.hpp.

#include <tracksList.hpp>

List of all members.

Classes

class  track
 This class is used to store a track (= a list of interests points). More...
struct  TrackListRemovePred
 This structure is designed to used remove_if of the STL. More...

Public Member Functions

 tracks (const jafar::fdetect::vInterestFeatures &vIP)
void add (jafar::fdetect::vInterestFeatures &vIP)
 After extraction and matching of interest points extracted in the processed view, this method is used to add these interest points to complete list of tracks.
void exportBinaryFile (std::string filename, unsigned int minLength=0)
 Export list of tracks to an binary file.
void makeStatistics ()
 Print some statistics on table of tracks :
unsigned int length ()
jafar::fdetect::vInterestFeatures * featuresInView (unsigned int indView)
jafar::fdetect::vInterestFeatures * getTrack (unsigned int indObj)

Private Member Functions

void removeShorterTracks (unsigned int minLength)
 Method used by exportBinaryFile to clean-up the list of tracks.

Private Attributes

std::vector
< jafar::gfm::tracks::track * > 
tl

Member Function Documentation

void jafar::gfm::tracks::add ( jafar::fdetect::vInterestFeatures &  vIP)

After extraction and matching of interest points extracted in the processed view, this method is used to add these interest points to complete list of tracks.

Parameters:
vIPa reference to an vector of Interest Points
void jafar::gfm::tracks::exportBinaryFile ( std::string  filename,
unsigned int  minLength = 0 
)

Export list of tracks to an binary file.

The storage is made track-by-track. See method add of the "track" class for more information on used binary format.

If the second argument is different of 0 (zero), tracks whom length is shorter of minLength are suppressed. THIS CLEANING IS IRREVERSIBLE.

Parameters:
filenamefullpath to the file which will store the tracks
minLengthminimal track length

Print some statistics on table of tracks :

  • number of features
  • mean track length
  • min and max track length

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1
LAAS-CNRS