BitmapToolkit Scol plugin
Public Member Functions | List of all members
RobustMatcher Class Reference

#include <ArFeaturedMarker.h>

Public Member Functions

 RobustMatcher ()
 
virtual ~RobustMatcher ()
 
void setFeatureDetector (const cv::Ptr< cv::FeatureDetector > &detect)
 
void setTrainFeatureDetector (const cv::Ptr< cv::FeatureDetector > &detect)
 
void setDescriptorMatcher (const cv::Ptr< cv::DescriptorMatcher > &match)
 
void setRatio (float rat)
 
int ratioTest (std::vector< std::vector< cv::DMatch > > &matches)
 
void symmetryTest (const std::vector< std::vector< cv::DMatch > > &matches1, const std::vector< std::vector< cv::DMatch > > &matches2, std::vector< cv::DMatch > &symMatches)
 
void robustMatch (const cv::Mat &frame, std::vector< cv::DMatch > &good_matches, std::vector< cv::KeyPoint > &keypoints_frame, const cv::Mat &descriptors_model, const cv::Mat &mask)
 
void fastRobustMatch (const cv::Mat &frame, std::vector< cv::DMatch > &good_matches, std::vector< cv::KeyPoint > &keypoints_frame, const cv::Mat &mask)
 
bool addTrainData (const cv::Mat &frame, std::vector< cv::KeyPoint > &marker_keypoints)
 

Detailed Description

Definition at line 43 of file ArFeaturedMarker.h.

Constructor & Destructor Documentation

◆ RobustMatcher()

RobustMatcher::RobustMatcher ( )

Definition at line 87 of file ArFeaturedMarker.cpp.

◆ ~RobustMatcher()

RobustMatcher::~RobustMatcher ( )
virtual

Definition at line 98 of file ArFeaturedMarker.cpp.

Member Function Documentation

◆ addTrainData()

bool RobustMatcher::addTrainData ( const cv::Mat &  frame,
std::vector< cv::KeyPoint > &  marker_keypoints 
)

Definition at line 193 of file ArFeaturedMarker.cpp.

◆ fastRobustMatch()

void RobustMatcher::fastRobustMatch ( const cv::Mat &  frame,
std::vector< cv::DMatch > &  good_matches,
std::vector< cv::KeyPoint > &  keypoints_frame,
const cv::Mat &  mask 
)

Definition at line 170 of file ArFeaturedMarker.cpp.

◆ ratioTest()

int RobustMatcher::ratioTest ( std::vector< std::vector< cv::DMatch > > &  matches)

Definition at line 102 of file ArFeaturedMarker.cpp.

◆ robustMatch()

void RobustMatcher::robustMatch ( const cv::Mat &  frame,
std::vector< cv::DMatch > &  good_matches,
std::vector< cv::KeyPoint > &  keypoints_frame,
const cv::Mat &  descriptors_model,
const cv::Mat &  mask 
)

Definition at line 143 of file ArFeaturedMarker.cpp.

◆ setDescriptorMatcher()

void RobustMatcher::setDescriptorMatcher ( const cv::Ptr< cv::DescriptorMatcher > &  match)
inline

Definition at line 55 of file ArFeaturedMarker.h.

◆ setFeatureDetector()

void RobustMatcher::setFeatureDetector ( const cv::Ptr< cv::FeatureDetector > &  detect)
inline

Definition at line 49 of file ArFeaturedMarker.h.

◆ setRatio()

void RobustMatcher::setRatio ( float  rat)
inline

Definition at line 58 of file ArFeaturedMarker.h.

◆ setTrainFeatureDetector()

void RobustMatcher::setTrainFeatureDetector ( const cv::Ptr< cv::FeatureDetector > &  detect)
inline

Definition at line 52 of file ArFeaturedMarker.h.

◆ symmetryTest()

void RobustMatcher::symmetryTest ( const std::vector< std::vector< cv::DMatch > > &  matches1,
const std::vector< std::vector< cv::DMatch > > &  matches2,
std::vector< cv::DMatch > &  symMatches 
)

Definition at line 127 of file ArFeaturedMarker.cpp.


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