MTF
Public Types | Public Member Functions | Public Attributes | List of all members
AMDist Struct Reference

Distance functor for FLANN. More...

#include <AppearanceModel.h>

Inheritance diagram for AMDist:
CCREDist KLDDist LKLDDist MIDist NCCDist NGFDist RIUDist SADDist SPSSDist SSDBaseDist SSIMDist SumOfAMsDist

Public Types

typedef double ElementType
 
typedef double ResultType
 

Public Member Functions

 AMDist (const string &_name)
 
virtual double operator() (const double *a, const double *b, size_t dist_size, double worst_dist=-1) const
 computes the distance / dissimilarity between two patches where each is codified or represented by a suitable distance feature computed using updateDistFeat
 

Public Attributes

const string name
 

Detailed Description

Distance functor for FLANN.


The documentation for this struct was generated from the following file: