L2 distance specialization for cv::Mat. More...
#include <generic_tree.h>
Public Types | |
typedef double | result_type |
Public Member Functions | |
result_type | operator() (const cv::Mat &a, const cv::Mat &b) const |
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.
typedef double vt::distance::L2< cv::Mat >::result_type |
Definition at line 7 of file generic_tree.h.
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.