vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > > Struct Template Reference

Specialization for Eigen::Matrix types. More...

#include <distance.h>

List of all members.

Public Types

typedef Eigen::Matrix< Scalar,
Rows, Cols, Options, MaxRows,
MaxCols > 
feature_type
typedef Accumulator< Scalar >::type result_type
typedef Scalar value_type

Public Member Functions

result_type operator() (const feature_type &a, const feature_type &b) const

Detailed Description

template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols>
struct vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >

Specialization for Eigen::Matrix types.

Todo:

Version for raw data pointers that knows the size of the feature

Specialization for cv::Vec. Doesn't have size() so default won't work.

Definition at line 63 of file distance.h.


Member Typedef Documentation

template<typename Scalar , int Rows, int Cols, int Options, int MaxRows, int MaxCols>
typedef Eigen::Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >::feature_type

Definition at line 65 of file distance.h.

template<typename Scalar , int Rows, int Cols, int Options, int MaxRows, int MaxCols>
typedef Accumulator<Scalar>::type vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >::result_type

Definition at line 67 of file distance.h.

template<typename Scalar , int Rows, int Cols, int Options, int MaxRows, int MaxCols>
typedef Scalar vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >::value_type

Definition at line 66 of file distance.h.


Member Function Documentation

template<typename Scalar , int Rows, int Cols, int Options, int MaxRows, int MaxCols>
result_type vt::distance::L2< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >::operator() ( const feature_type a,
const feature_type b 
) const [inline]

Definition at line 69 of file distance.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


vocabulary_tree
Author(s): Patrick Mihelich
autogenerated on Fri Jan 11 09:14:12 2013