OpenCV  2.4.13.7
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

§ DistType

Enumerator
L1Dist 
L2Dist 
HammingDist 

Constructor & Destructor Documentation

§ BruteForceMatcher_OCL_base()

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

Member Function Documentation

§ add()

void cv::ocl::BruteForceMatcher_OCL_base::add ( const std::vector< oclMat > &  descCollection)

§ clear()

void cv::ocl::BruteForceMatcher_OCL_base::clear ( )

§ empty()

bool cv::ocl::BruteForceMatcher_OCL_base::empty ( ) const

§ getTrainDescriptors()

const std::vector<oclMat>& cv::ocl::BruteForceMatcher_OCL_base::getTrainDescriptors ( ) const

§ isMaskSupported()

bool cv::ocl::BruteForceMatcher_OCL_base::isMaskSupported ( ) const

§ knnMatch() [1/2]

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 
)

§ knnMatch() [2/2]

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 
)

§ knnMatch2Collection()

void cv::ocl::BruteForceMatcher_OCL_base::knnMatch2Collection ( const oclMat query,
const oclMat trainCollection,
oclMat trainIdx,
oclMat imgIdx,
oclMat distance,
const oclMat maskCollection = oclMat() 
)

§ knnMatch2Convert()

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

§ knnMatch2Download()

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

§ knnMatchConvert()

static void cv::ocl::BruteForceMatcher_OCL_base::knnMatchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static

§ knnMatchDownload()

static void cv::ocl::BruteForceMatcher_OCL_base::knnMatchDownload ( const oclMat trainIdx,
const oclMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static

§ knnMatchSingle()

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() 
)

§ makeGpuCollection()

void cv::ocl::BruteForceMatcher_OCL_base::makeGpuCollection ( oclMat trainCollection,
oclMat maskCollection,
const std::vector< oclMat > &  masks = std::vector< oclMat >() 
)

§ match() [1/2]

void cv::ocl::BruteForceMatcher_OCL_base::match ( const oclMat query,
const oclMat train,
std::vector< DMatch > &  matches,
const oclMat mask = oclMat() 
)

§ match() [2/2]

void cv::ocl::BruteForceMatcher_OCL_base::match ( const oclMat query,
std::vector< DMatch > &  matches,
const std::vector< oclMat > &  masks = std::vector< oclMat >() 
)

§ matchCollection()

void cv::ocl::BruteForceMatcher_OCL_base::matchCollection ( const oclMat query,
const oclMat trainCollection,
oclMat trainIdx,
oclMat imgIdx,
oclMat distance,
const oclMat masks = oclMat() 
)

§ matchConvert() [1/2]

static void cv::ocl::BruteForceMatcher_OCL_base::matchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static

§ matchConvert() [2/2]

static void cv::ocl::BruteForceMatcher_OCL_base::matchConvert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static

§ matchDownload() [1/2]

static void cv::ocl::BruteForceMatcher_OCL_base::matchDownload ( const oclMat trainIdx,
const oclMat distance,
std::vector< DMatch > &  matches 
)
static

§ matchDownload() [2/2]

static void cv::ocl::BruteForceMatcher_OCL_base::matchDownload ( const oclMat trainIdx,
const oclMat imgIdx,
const oclMat distance,
std::vector< DMatch > &  matches 
)
static

§ matchSingle()

void cv::ocl::BruteForceMatcher_OCL_base::matchSingle ( const oclMat query,
const oclMat train,
oclMat trainIdx,
oclMat distance,
const oclMat mask = oclMat() 
)

§ radiusMatch() [1/2]

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 
)

§ radiusMatch() [2/2]

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 
)

§ radiusMatchCollection()

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 >() 
)

§ radiusMatchConvert() [1/2]

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

§ radiusMatchConvert() [2/2]

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

§ radiusMatchDownload() [1/2]

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

§ radiusMatchDownload() [2/2]

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

§ radiusMatchSingle()

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

DistType cv::ocl::BruteForceMatcher_OCL_base::distType

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