OpenCV  2.4.13.5
Open Source Computer Vision
vec_distance.hpp File Reference
#include "reduce.hpp"
#include "functional.hpp"
#include "detail/vec_distance_detail.hpp"

Classes

struct  cv::gpu::device::L1Dist< T >
 
struct  cv::gpu::device::L1Dist< float >
 
struct  cv::gpu::device::L2Dist
 
struct  cv::gpu::device::HammingDist
 
struct  cv::gpu::device::VecDiffGlobal< THREAD_DIM, T1 >
 
struct  cv::gpu::device::VecDiffCachedRegister< THREAD_DIM, MAX_LEN, LEN_EQ_MAX_LEN, U >
 

Namespaces

 cv
 
 cv::gpu
 
 cv::gpu::device
 

Functions

template<int THREAD_DIM, typename Dist , typename T1 , typename T2 >
__device__ void cv::gpu::device::calcVecDiffGlobal (const T1 *vec1, const T2 *vec2, int len, Dist &dist, typename Dist::result_type *smem, int tid)
 
template<int THREAD_DIM, int MAX_LEN, bool LEN_EQ_MAX_LEN, typename Dist , typename T1 , typename T2 >
__device__ __forceinline__ void cv::gpu::device::calcVecDiffCached (const T1 *vecCached, const T2 *vecGlob, int len, Dist &dist, typename Dist::result_type *smem, int tid)