Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cv::detail::BestOf2NearestMatcher Class Reference

#include <matchers.hpp>

Inherits cv::detail::FeaturesMatcher.

Public Member Functions

 BestOf2NearestMatcher (bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6)
 
void collectGarbage ()
 
void operator() (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info)
 
void operator() (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::Mat &mask=cv::Mat())
 
bool isThreadSafe () const
 

Protected Member Functions

void match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info)
 

Protected Attributes

int num_matches_thresh1_
 
int num_matches_thresh2_
 
Ptr< FeaturesMatcherimpl_
 
bool is_thread_safe_
 

Constructor & Destructor Documentation

cv::detail::BestOf2NearestMatcher::BestOf2NearestMatcher ( bool  try_use_gpu = false,
float  match_conf = 0.3f,
int  num_matches_thresh1 = 6,
int  num_matches_thresh2 = 6 
)

Member Function Documentation

void cv::detail::BestOf2NearestMatcher::collectGarbage ( )
virtual

Reimplemented from cv::detail::FeaturesMatcher.

void cv::detail::BestOf2NearestMatcher::match ( const ImageFeatures features1,
const ImageFeatures features2,
MatchesInfo matches_info 
)
protectedvirtual
void cv::detail::FeaturesMatcher::operator() ( const ImageFeatures features1,
const ImageFeatures features2,
MatchesInfo matches_info 
)
inherited
void cv::detail::FeaturesMatcher::operator() ( const std::vector< ImageFeatures > &  features,
std::vector< MatchesInfo > &  pairwise_matches,
const cv::Mat mask = cv::Mat() 
)
inherited
bool cv::detail::FeaturesMatcher::isThreadSafe ( ) const
inherited

Member Data Documentation

int cv::detail::BestOf2NearestMatcher::num_matches_thresh1_
protected
int cv::detail::BestOf2NearestMatcher::num_matches_thresh2_
protected
Ptr<FeaturesMatcher> cv::detail::BestOf2NearestMatcher::impl_
protected
bool cv::detail::FeaturesMatcher::is_thread_safe_
protectedinherited

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