VisualObjectMatchAlgo.H File Reference

#include <string>
Include dependency graph for VisualObjectMatchAlgo.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NBVISUALOBJECTMATCHALGOS   3
 Number of matching algos:

Enumerations

enum  VisualObjectMatchAlgo { VOMA_SIMPLE = 0, VOMA_KDTREE = 1, VOMA_KDTREEBBF = 2 }
 

A simple enum to decide which matching algo to use.

More...

Functions

const char * visualObjectMatchAlgoName (const VisualObjectMatchAlgo val)
 Text descriptions of the various known algos:
std::string convertToString (const VisualObjectMatchAlgo val)
 Conversion to string.
void convertFromString (const std::string &str, VisualObjectMatchAlgo &val)
 Conversion from string.

Detailed Description

Header for visual object match algos

Definition in file VisualObjectMatchAlgo.H.


Define Documentation

#define NBVISUALOBJECTMATCHALGOS   3

Number of matching algos:

Definition at line 58 of file VisualObjectMatchAlgo.H.

Referenced by convertFromString().


Enumeration Type Documentation

A simple enum to decide which matching algo to use.

This is used by the SIFT code to decide on which matching algorithm to use. VOMA_SIMPLE is exhausive but slow, VOMA_KDTREE is based on using a KD-Tree but is even slower, and VOMA_KDTREEBBF is fast but approximate. See SIFT/VisualObjectMatch.H for functions using these algos. If you add new algos here, be sure to update the number of algos and the string descriptions in the visualObjectMatchAlgoName() function below.

Definition at line 51 of file VisualObjectMatchAlgo.H.


Function Documentation

void convertFromString ( const std::string str,
VisualObjectMatchAlgo val 
)

Conversion from string.

Definition at line 48 of file VisualObjectMatchAlgo.C.

References NBVISUALOBJECTMATCHALGOS, and visualObjectMatchAlgoName().

std::string convertToString ( const VisualObjectMatchAlgo  val  ) 

Conversion to string.

Definition at line 44 of file VisualObjectMatchAlgo.C.

References visualObjectMatchAlgoName().

const char* visualObjectMatchAlgoName ( const VisualObjectMatchAlgo  val  )  [inline]

Text descriptions of the various known algos:

Definition at line 61 of file VisualObjectMatchAlgo.H.

Referenced by convertFromString(), and convertToString().

Generated on Sun May 8 08:18:17 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3