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

§ DistType

Enumerator
L1Dist 
L2Dist 
HammingDist 

Constructor & Destructor Documentation

§ BruteForceMatcher_GPU_base()

cv::gpu::BruteForceMatcher_GPU_base::BruteForceMatcher_GPU_base ( DistType  distType = L2Dist)
explicit

Member Function Documentation

§ add()

void cv::gpu::BruteForceMatcher_GPU_base::add ( const std::vector< GpuMat > &  descCollection)

§ clear()

void cv::gpu::BruteForceMatcher_GPU_base::clear ( )

§ empty()

bool cv::gpu::BruteForceMatcher_GPU_base::empty ( ) const

§ getTrainDescriptors()

const std::vector<GpuMat>& cv::gpu::BruteForceMatcher_GPU_base::getTrainDescriptors ( ) const

§ isMaskSupported()

bool cv::gpu::BruteForceMatcher_GPU_base::isMaskSupported ( ) const

§ knnMatch() [1/2]

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 
)

§ knnMatch() [2/2]

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 
)

§ knnMatch2Collection()

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

§ knnMatch2Convert()

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

§ knnMatch2Download()

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

§ knnMatchConvert()

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

§ knnMatchDownload()

static void cv::gpu::BruteForceMatcher_GPU_base::knnMatchDownload ( const GpuMat trainIdx,
const GpuMat distance,
std::vector< std::vector< DMatch > > &  matches,
bool  compactResult = false 
)
static

§ knnMatchSingle()

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

§ makeGpuCollection()

void cv::gpu::BruteForceMatcher_GPU_base::makeGpuCollection ( GpuMat trainCollection,
GpuMat maskCollection,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >() 
)

§ match() [1/2]

void cv::gpu::BruteForceMatcher_GPU_base::match ( const GpuMat query,
const GpuMat train,
std::vector< DMatch > &  matches,
const GpuMat mask = GpuMat() 
)

§ match() [2/2]

void cv::gpu::BruteForceMatcher_GPU_base::match ( const GpuMat query,
std::vector< DMatch > &  matches,
const std::vector< GpuMat > &  masks = std::vector< GpuMat >() 
)

§ matchCollection()

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

§ matchConvert() [1/2]

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

§ matchConvert() [2/2]

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

§ matchDownload() [1/2]

static void cv::gpu::BruteForceMatcher_GPU_base::matchDownload ( const GpuMat trainIdx,
const GpuMat distance,
std::vector< DMatch > &  matches 
)
static

§ matchDownload() [2/2]

static void cv::gpu::BruteForceMatcher_GPU_base::matchDownload ( const GpuMat trainIdx,
const GpuMat imgIdx,
const GpuMat distance,
std::vector< DMatch > &  matches 
)
static

§ matchSingle()

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

§ radiusMatch() [1/2]

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 
)

§ radiusMatch() [2/2]

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 
)

§ radiusMatchCollection()

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

§ radiusMatchConvert() [1/2]

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

§ radiusMatchConvert() [2/2]

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

§ radiusMatchDownload() [1/2]

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

§ radiusMatchDownload() [2/2]

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

§ radiusMatchSingle()

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

DistType cv::gpu::BruteForceMatcher_GPU_base::distType

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