DBoW2::FSurf64 Class Reference

Functions to manipulate SURF64 descriptors. More...

#include <FSurf64.h>

Inheritance diagram for DBoW2::FSurf64:
DBoW2::FClass

List of all members.

Public Types

typedef std::vector< float > TDescriptor
 Descriptor type.
typedef const TDescriptorpDescriptor
 Pointer to a single descriptor.

Static Public Member Functions

static int dimensions ()
static void meanValue (const std::vector< pDescriptor > &descriptors, TDescriptor &mean)
static double distance (const TDescriptor &a, const TDescriptor &b)
static std::string toString (const TDescriptor &a)
static void fromString (TDescriptor &a, const std::string &s)
static void toMat32F (const std::vector< TDescriptor > &descriptors, cv::Mat &mat)

Static Public Attributes

static const int L = 64
 Descriptor length.

Detailed Description

Functions to manipulate SURF64 descriptors.


Member Function Documentation

static int DBoW2::FSurf64::dimensions (  )  [inline, static]

Returns the number of dimensions of the descriptor space

Returns:
dimensions
double DBoW2::FSurf64::distance ( const TDescriptor a,
const TDescriptor b 
) [static]

Calculates the (squared) distance between two descriptors

Parameters:
a 
b 
Returns:
(squared) distance
void DBoW2::FSurf64::fromString ( FSurf64::TDescriptor a,
const std::string &  s 
) [static]

Returns a descriptor from a string

Parameters:
a descriptor
s string version
static void DBoW2::FSurf64::meanValue ( const std::vector< pDescriptor > &  descriptors,
TDescriptor mean 
) [static]

Calculates the mean value of a set of descriptors

Parameters:
descriptors vector of pointers to descriptors
mean mean descriptor
void DBoW2::FSurf64::toMat32F ( const std::vector< TDescriptor > &  descriptors,
cv::Mat &  mat 
) [static]

Returns a mat with the descriptors in float format

Parameters:
descriptors 
mat (out) NxL 32F matrix
std::string DBoW2::FSurf64::toString ( const TDescriptor a  )  [static]

Returns a string version of the descriptor

Parameters:
a descriptor
Returns:
string version

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated on Thu Feb 7 19:47:43 2013 by  doxygen 1.6.3