MTF
Public Types | Public Member Functions | List of all members
SCVDist Struct Reference
Inheritance diagram for SCVDist:
SSDBaseDist AMDist

Public Types

typedef double ElementType
 
typedef double ResultType
 
- Public Types inherited from SSDBaseDist
typedef bool is_kdtree_distance
 
typedef double ElementType
 
typedef double ResultType
 
- Public Types inherited from AMDist
typedef double ElementType
 
typedef double ResultType
 

Public Member Functions

 SCVDist (const string &_name, const unsigned int _patch_size, const int _n_bins, const bool _approx_dist_feat)
 
double operator() (const double *a, const double *b, size_t size, double worst_dist=-1) const override
 computes the distance / dissimilarity between two patches where each is codified or represented by a suitable distance feature computed using updateDistFeat
 
- Public Member Functions inherited from SSDBaseDist
 SSDBaseDist (const string &_name)
 
double operator() (const double *a, const double *b, size_t size, double worst_dist=-1) const override
 Squared Euclidean distance functor, optimized version. More...
 
double accum_dist (const double &a, const double &b, int) const
 Partial euclidean distance, using just one dimension. More...
 
- Public Member Functions inherited from AMDist
 AMDist (const string &_name)
 

Additional Inherited Members

- Public Attributes inherited from AMDist
const string name
 

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