Public Types | Public Member Functions
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 15 of file generic_tree.h.


Member Typedef Documentation

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

Definition at line 17 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 19 of file generic_tree.h.


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


vocabulary_tree
Author(s): Patrick Mihelich
autogenerated on Thu Jan 2 2014 12:12:26