OpenCV  2.4.13
Open Source Computer Vision
cv::gpu::BruteForceMatcher_GPU_base Class Reference

#include <gpu.hpp>

Inheritance diagram for cv::gpu::BruteForceMatcher_GPU_base:
cv::gpu::BFMatcher_GPU cv::gpu::BruteForceMatcher_GPU< Hamming > cv::gpu::BruteForceMatcher_GPU< L1< T > > cv::gpu::BruteForceMatcher_GPU< L2< T > >

Public Types

enum  DistType { L1Dist = 0, L2Dist, HammingDist }
 

Public Member Functions

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

Static Public Member Functions

static void matchDownload (const GpuMat &trainIdx, const GpuMat &distance, std::vector< DMatch > &matches)
 
static void matchConvert (const Mat &trainIdx, const Mat &distance, std::vector< DMatch > &matches)
 
static void matchDownload (const GpuMat &trainIdx, const GpuMat &imgIdx, const GpuMat &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 GpuMat &trainIdx, const GpuMat &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 GpuMat &trainIdx, const GpuMat &imgIdx, const GpuMat &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 GpuMat &trainIdx, const GpuMat &distance, const GpuMat &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 GpuMat &trainIdx, const GpuMat &imgIdx, const GpuMat &distance, const GpuMat &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::gpu::BruteForceMatcher_GPU_base::BruteForceMatcher_GPU_base ( DistType  distType = L2Dist)
explicit

Member Function Documentation

void cv::gpu::BruteForceMatcher_GPU_base::add ( const std::vector< GpuMat > &  descCollection)
void cv::gpu::BruteForceMatcher_GPU_base::clear ( )
bool cv::gpu::BruteForceMatcher_GPU_base::empty ( ) const
const std::vector<GpuMat>& cv::gpu::BruteForceMatcher_GPU_base::getTrainDescriptors ( ) const
bool cv::gpu::BruteForceMatcher_GPU_base::isMaskSupported ( ) const
void cv::gpu::BruteForceMatcher_GPU_base::knnMatch ( const GpuMat query,
const GpuMat train,
std::vector< std::vector< DMatch > > &  matches,
int  k,
const GpuMat mask = GpuMat(),
bool  compactResult = false 
)
void cv::gpu::BruteForceMatcher_GPU_base::knnMatch ( const GpuMat query,
std::vector< std::vector< DMatch > > &  matches,
int  k,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >(),
bool  compactResult = false 
)
void cv::gpu::BruteForceMatcher_GPU_base::knnMatch2Collection ( const GpuMat query,
const GpuMat trainCollection,
GpuMat trainIdx,
GpuMat imgIdx,
GpuMat distance,
const GpuMat maskCollection = GpuMat(),
Stream stream = Stream::Null() 
)
static void cv::gpu::BruteForceMatcher_GPU_base::knnMatch2Convert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::knnMatch2Download ( const GpuMat trainIdx,
const GpuMat imgIdx,
const GpuMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::knnMatchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::knnMatchDownload ( const GpuMat trainIdx,
const GpuMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
void cv::gpu::BruteForceMatcher_GPU_base::knnMatchSingle ( const GpuMat query,
const GpuMat train,
GpuMat trainIdx,
GpuMat distance,
GpuMat allDist,
int  k,
const GpuMat mask = GpuMat(),
Stream stream = Stream::Null() 
)
void cv::gpu::BruteForceMatcher_GPU_base::makeGpuCollection ( GpuMat trainCollection,
GpuMat maskCollection,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >() 
)
void cv::gpu::BruteForceMatcher_GPU_base::match ( const GpuMat query,
const GpuMat train,
std::vector< DMatch > &  matches,
const GpuMat mask = GpuMat() 
)
void cv::gpu::BruteForceMatcher_GPU_base::match ( const GpuMat query,
std::vector< DMatch > &  matches,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >() 
)
void cv::gpu::BruteForceMatcher_GPU_base::matchCollection ( const GpuMat query,
const GpuMat trainCollection,
GpuMat trainIdx,
GpuMat imgIdx,
GpuMat distance,
const GpuMat masks = GpuMat(),
Stream stream = Stream::Null() 
)
static void cv::gpu::BruteForceMatcher_GPU_base::matchConvert ( const Mat trainIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::matchConvert ( const Mat trainIdx,
const Mat imgIdx,
const Mat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::matchDownload ( const GpuMat trainIdx,
const GpuMat distance,
std::vector< DMatch > &  matches 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::matchDownload ( const GpuMat trainIdx,
const GpuMat imgIdx,
const GpuMat distance,
std::vector< DMatch > &  matches 
)
static
void cv::gpu::BruteForceMatcher_GPU_base::matchSingle ( const GpuMat query,
const GpuMat train,
GpuMat trainIdx,
GpuMat distance,
const GpuMat mask = GpuMat(),
Stream stream = Stream::Null() 
)
void cv::gpu::BruteForceMatcher_GPU_base::radiusMatch ( const GpuMat query,
const GpuMat train,
std::vector< std::vector< DMatch > > &  matches,
float  maxDistance,
const GpuMat mask = GpuMat(),
bool  compactResult = false 
)
void cv::gpu::BruteForceMatcher_GPU_base::radiusMatch ( const GpuMat query,
std::vector< std::vector< DMatch > > &  matches,
float  maxDistance,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >(),
bool  compactResult = false 
)
void cv::gpu::BruteForceMatcher_GPU_base::radiusMatchCollection ( const GpuMat query,
GpuMat trainIdx,
GpuMat imgIdx,
GpuMat distance,
GpuMat nMatches,
float  maxDistance,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >(),
Stream stream = Stream::Null() 
)
static void cv::gpu::BruteForceMatcher_GPU_base::radiusMatchConvert ( const Mat trainIdx,
const Mat distance,
const Mat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::gpu::BruteForceMatcher_GPU_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::gpu::BruteForceMatcher_GPU_base::radiusMatchDownload ( const GpuMat trainIdx,
const GpuMat distance,
const GpuMat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
static void cv::gpu::BruteForceMatcher_GPU_base::radiusMatchDownload ( const GpuMat trainIdx,
const GpuMat imgIdx,
const GpuMat distance,
const GpuMat nMatches,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static
void cv::gpu::BruteForceMatcher_GPU_base::radiusMatchSingle ( const GpuMat query,
const GpuMat train,
GpuMat trainIdx,
GpuMat distance,
GpuMat nMatches,
float  maxDistance,
const GpuMat mask = GpuMat(),
Stream stream = Stream::Null() 
)

Member Data Documentation

DistType cv::gpu::BruteForceMatcher_GPU_base::distType

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