Jafar
|
This class defines the container designed to store the list of tracks. More...
This class defines the container designed to store the list of tracks.
Definition at line 29 of file tracksList.hpp.
#include <tracksList.hpp>
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 |
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.
vIP | a 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.
filename | fullpath to the file which will store the tracks |
minLength | minimal track length |
void jafar::gfm::tracks::makeStatistics | ( | ) |
Print some statistics on table of tracks :
Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1 |