vt::distance::L2< cv::Mat > Struct Template Reference

L2 distance specialization for cv::Mat. More...

#include <generic_tree.h>

List of all members.

Public Types

typedef double result_type

Public Member Functions

result_type operator() (const cv::Mat &a, const cv::Mat &b) const

Detailed Description

template<>
struct vt::distance::L2< cv::Mat >

L2 distance specialization for cv::Mat.

Note: Currently returns the real distance, not squared! So this won't work well with kmeans.

Definition at line 12 of file generic_tree.h.


Member Typedef Documentation

typedef double vt::distance::L2< cv::Mat >::result_type

Definition at line 7 of file generic_tree.h.


Member Function Documentation

result_type vt::distance::L2< cv::Mat >::operator() ( const cv::Mat &  a,
const cv::Mat &  b 
) const [inline]

Definition at line 9 of file generic_tree.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