OpenCV  2.4.13
Open Source Computer Vision
cv::ocl::BruteForceMatcher_OCL_base Class Reference

#include <ocl.hpp>

Inheritance diagram for cv::ocl::BruteForceMatcher_OCL_base:
cv::ocl::BFMatcher_OCL cv::ocl::BruteForceMatcher_OCL< Hamming > cv::ocl::BruteForceMatcher_OCL< L1< T > > cv::ocl::BruteForceMatcher_OCL< L2< T > >

Public Types

enum  DistType { L1Dist = 0, L2Dist, HammingDist }
 

Public Member Functions

 BruteForceMatcher_OCL_base (DistType distType=L2Dist)
 
void add (const std::vector< oclMat > &descCollection)
 
const std::vector< oclMat > & getTrainDescriptors () const
 
void clear ()
 
bool empty () const
 
bool isMaskSupported () const
 
void matchSingle (const oclMat &query, const oclMat &train, oclMat &trainIdx, oclMat &distance, const oclMat &mask=oclMat())
 
void match (const oclMat &query, const oclMat &train, std::vector< DMatch > &matches, const oclMat &mask=oclMat())
 
void makeGpuCollection (oclMat &trainCollection, oclMat &maskCollection, const std::vector< oclMat > &masks=std::vector< oclMat >())
 
void matchCollection (const oclMat &query, const oclMat &trainCollection, oclMat &trainIdx, oclMat &imgIdx, oclMat &distance, const oclMat &masks=oclMat())
 
void match (const oclMat &query, std::vector< DMatch > &matches, const std::vector< oclMat > &masks=std::vector< oclMat >())
 
void knnMatchSingle (const oclMat &query, const oclMat &train, oclMat &trainIdx, oclMat &distance, oclMat &allDist, int k, const oclMat &mask=oclMat())
 
void knnMatch (const oclMat &query, const oclMat &train, std::vector< std::vector< DMatch > > &matches, int k, const oclMat &mask=oclMat(), bool compactResult=false)
 
void knnMatch2Collection (const oclMat &query, const oclMat &trainCollection, oclMat &trainIdx, oclMat &imgIdx, oclMat &distance, const oclMat &maskCollection=oclMat())
 
void knnMatch (const oclMat &query, std::vector< std::vector< DMatch > > &matches, int k, const std::vector< oclMat > &masks=std::vector< oclMat >(), bool compactResult=false)
 
void radiusMatchSingle (const oclMat &query, const oclMat &train, oclMat &trainIdx, oclMat &distance, oclMat &nMatches, float maxDistance, const oclMat &mask=oclMat())
 
void radiusMatch (const oclMat &query, const oclMat &train, std::vector< std::vector< DMatch > > &matches, float maxDistance, const oclMat &mask=oclMat(), bool compactResult=false)
 
void radiusMatchCollection (const oclMat &query, oclMat &trainIdx, oclMat &imgIdx, oclMat &distance, oclMat &nMatches, float maxDistance, const std::vector< oclMat > &masks=std::vector< oclMat >())
 
void radiusMatch (const oclMat &query, std::vector< std::vector< DMatch > > &matches, float maxDistance, const std::vector< oclMat > &masks=std::vector< oclMat >(), bool compactResult=false)
 

Static Public Member Functions

static void matchDownload (const oclMat &trainIdx, const oclMat &distance, std::vector< DMatch > &matches)
 
static void matchConvert (const Mat &trainIdx, const Mat &distance, std::vector< DMatch > &matches)
 
static void matchDownload (const oclMat &trainIdx, const oclMat &imgIdx, const oclMat &distance, std::vector< DMatch > &matches)
 
static void matchConvert (const Mat &trainIdx, const Mat &imgIdx, const Mat &distance, std::vector< DMatch > &matches)
 
static void knnMatchDownload (const oclMat &trainIdx, const oclMat &distance, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void knnMatchConvert (const Mat &trainIdx, const Mat &distance, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void knnMatch2Download (const oclMat &trainIdx, const oclMat &imgIdx, const oclMat &distance, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void knnMatch2Convert (const Mat &trainIdx, const Mat &imgIdx, const Mat &distance, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void radiusMatchDownload (const oclMat &trainIdx, const oclMat &distance, const oclMat &nMatches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void radiusMatchConvert (const Mat &trainIdx, const Mat &distance, const Mat &nMatches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void radiusMatchDownload (const oclMat &trainIdx, const oclMat &imgIdx, const oclMat &distance, const oclMat &nMatches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 
static void radiusMatchConvert (const Mat &trainIdx, const Mat &imgIdx, const Mat &distance, const Mat &nMatches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)
 

Public Attributes

DistType distType
 

Member Enumeration Documentation

Enumerator
L1Dist 
L2Dist 
HammingDist 

Constructor & Destructor Documentation

cv::ocl::BruteForceMatcher_OCL_base::BruteForceMatcher_OCL_base ( DistType  distType = L2Dist)
explicit

Member Function Documentation

void cv::ocl::BruteForceMatcher_OCL_base::add ( const std::vector< oclMat > &  descCollection)
void cv::ocl::BruteForceMatcher_OCL_base::clear ( )
bool cv::ocl::BruteForceMatcher_OCL_base::empty ( ) const
const std::vector<oclMat>& cv::ocl::BruteForceMatcher_OCL_base::getTrainDescriptors ( ) const
bool cv::ocl::BruteForceMatcher_OCL_base::isMaskSupported ( ) const
void cv::ocl::BruteForceMatcher_OCL_base::knnMatch ( const oclMat query,
const oclMat train,
std::vector< std::vector< DMatch > > &  matches,
int  k,
const oclMat mask = oclMat(),
bool  compactResult = false 
)
void cv::ocl::BruteForceMatcher_OCL_base::knnMatch ( const oclMat query,
std::vector< std::vector< DMatch > > &  matches,
int  k,
const std::vector< oclMat > &  masks = std::vector< oclMat >(),
bool  compactResult = false 
)
void cv::ocl::BruteForceMatcher_OCL_base::knnMatch2Collection ( const oclMat query,
const oclMat trainCollection,
oclMat trainIdx,
oclMat imgIdx,
oclMat distance,
const oclMat maskCollection = oclMat() 
)
static void cv::ocl::BruteForceMatcher_OCL_base::knnMatch2Convert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::knnMatch2Download ( const oclMat trainIdx,
const oclMat imgIdx,
const oclMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::knnMatchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::knnMatchDownload ( const oclMat trainIdx,
const oclMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
void cv::ocl::BruteForceMatcher_OCL_base::knnMatchSingle ( const oclMat query,
const oclMat train,
oclMat trainIdx,
oclMat distance,
oclMat allDist,
int  k,
const oclMat mask = oclMat() 
)
void cv::ocl::BruteForceMatcher_OCL_base::makeGpuCollection ( oclMat trainCollection,
oclMat maskCollection,
const std::vector< oclMat > &  masks = std::vector< oclMat >() 
)
void cv::ocl::BruteForceMatcher_OCL_base::match ( const oclMat query,
const oclMat train,
std::vector< DMatch > &  matches,
const oclMat mask = oclMat() 
)
void cv::ocl::BruteForceMatcher_OCL_base::match ( const oclMat query,
std::vector< DMatch > &  matches,
const std::vector< oclMat > &  masks = std::vector< oclMat >() 
)
void cv::ocl::BruteForceMatcher_OCL_base::matchCollection ( const oclMat query,
const oclMat trainCollection,
oclMat trainIdx,
oclMat imgIdx,
oclMat distance,
const oclMat masks = oclMat() 
)
static void cv::ocl::BruteForceMatcher_OCL_base::matchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::matchConvert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::matchDownload ( const oclMat trainIdx,
const oclMat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::matchDownload ( const oclMat trainIdx,
const oclMat imgIdx,
const oclMat distance,
std::vector< DMatch > &  matches 
)
static
void cv::ocl::BruteForceMatcher_OCL_base::matchSingle ( const oclMat query,
const oclMat train,
oclMat trainIdx,
oclMat distance,
const oclMat mask = oclMat() 
)
void cv::ocl::BruteForceMatcher_OCL_base::radiusMatch ( const oclMat query,
const oclMat train,
std::vector< std::vector< DMatch > > &  matches,
float  maxDistance,
const oclMat mask = oclMat(),
bool  compactResult = false 
)
void cv::ocl::BruteForceMatcher_OCL_base::radiusMatch ( const oclMat query,
std::vector< std::vector< DMatch > > &  matches,
float  maxDistance,
const std::vector< oclMat > &  masks = std::vector< oclMat >(),
bool  compactResult = false 
)
void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchCollection ( const oclMat query,
oclMat trainIdx,
oclMat imgIdx,
oclMat distance,
oclMat nMatches,
float  maxDistance,
const std::vector< oclMat > &  masks = std::vector< oclMat >() 
)
static void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchConvert ( const Mat trainIdx,
const Mat distance,
const Mat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchConvert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
const Mat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchDownload ( const oclMat trainIdx,
const oclMat distance,
const oclMat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchDownload ( const oclMat trainIdx,
const oclMat imgIdx,
const oclMat distance,
const oclMat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
void cv::ocl::BruteForceMatcher_OCL_base::radiusMatchSingle ( const oclMat query,
const oclMat train,
oclMat trainIdx,
oclMat distance,
oclMat nMatches,
float  maxDistance,
const oclMat mask = oclMat() 
)

Member Data Documentation

DistType cv::ocl::BruteForceMatcher_OCL_base::distType

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