Classes | Public Types | Public Member Functions | Protected Attributes
PointMatcher Class Reference

#include <geometric_hash.h>

List of all members.

Classes

struct  PointMatcherParams

Public Types

typedef std::map< int,
std::pair< int, int > > 
ModelVotes
typedef std::map< int,
std::pair< int, int > > 
ModelVotes

Public Member Functions

int addModel (const std::vector< KeyPointEx > &points)
int addModel (const std::vector< KeyPointEx > &points)
void addModelBasis (const std::vector< KeyPointEx > &points, const AffineBasis &basis)
void addModelBasis (const std::vector< KeyPointEx > &points, const AffineBasis &basis)
const AffineBasisgetBasis (int basis_id) const
const AffineBasisgetBasis (int basis_id) const
const GeometricHashgetHash () const
const GeometricHashgetHash () const
const std::vector< KeyPointEx > & getTemplatePoints () const
const std::vector< KeyPointEx > & getTemplatePoints () const
int match (const std::vector< KeyPointEx > &points, std::vector< float > &votes, std::vector< std::pair< AffineBasis, AffineBasis > > &matched_bases) const
int match (const std::vector< KeyPointEx > &points, std::vector< float > &votes, std::vector< std::pair< AffineBasis, AffineBasis > > &matched_bases) const
void matchBasis (const std::vector< KeyPointEx > &points, const AffineBasis &basis, std::vector< int > &votes) const
void matchBasis (const std::vector< KeyPointEx > &points, const AffineBasis &basis, std::vector< int > &votes) const
 PointMatcher (cv::Size _size, cv::Point2f range_min, cv::Point2f range_max, PointMatcher::PointMatcherParams _params=PointMatcher::PointMatcherParams())
 PointMatcher (cv::Size _size, cv::Point2f range_min, cv::Point2f range_max, PointMatcher::PointMatcherParams _params=PointMatcher::PointMatcherParams())

Protected Attributes

GeometricHash hash
PointMatcherParams params
std::vector< KeyPointExtemplate_points

Detailed Description

Definition at line 178 of file detail/geometric_hash.h.


Member Typedef Documentation

typedef std::map<int,std::pair<int,int> > PointMatcher::ModelVotes

Definition at line 202 of file detail/geometric_hash.h.

typedef std::map<int,std::pair<int,int> > PointMatcher::ModelVotes

Definition at line 202 of file geometric_hash.h.


Constructor & Destructor Documentation

PointMatcher::PointMatcher ( cv::Size  _size,
cv::Point2f  range_min,
cv::Point2f  range_max,
PointMatcher::PointMatcherParams  _params = PointMatcher::PointMatcherParams() 
) [inline]

Definition at line 204 of file detail/geometric_hash.h.

PointMatcher::PointMatcher ( cv::Size  _size,
cv::Point2f  range_min,
cv::Point2f  range_max,
PointMatcher::PointMatcherParams  _params = PointMatcher::PointMatcherParams() 
) [inline]

Definition at line 204 of file geometric_hash.h.


Member Function Documentation

int PointMatcher::addModel ( const std::vector< KeyPointEx > &  points)

Definition at line 453 of file geometric_hash.cpp.

int PointMatcher::addModel ( const std::vector< KeyPointEx > &  points)
void PointMatcher::addModelBasis ( const std::vector< KeyPointEx > &  points,
const AffineBasis basis 
)

Definition at line 492 of file geometric_hash.cpp.

void PointMatcher::addModelBasis ( const std::vector< KeyPointEx > &  points,
const AffineBasis basis 
)
const AffineBasis& PointMatcher::getBasis ( int  basis_id) const [inline]

Definition at line 212 of file detail/geometric_hash.h.

const AffineBasis& PointMatcher::getBasis ( int  basis_id) const [inline]

Definition at line 212 of file geometric_hash.h.

const GeometricHash& PointMatcher::getHash ( ) const [inline]

Definition at line 213 of file geometric_hash.h.

const GeometricHash& PointMatcher::getHash ( ) const [inline]

Definition at line 213 of file detail/geometric_hash.h.

const std::vector<KeyPointEx>& PointMatcher::getTemplatePoints ( ) const [inline]

Definition at line 214 of file geometric_hash.h.

const std::vector<KeyPointEx>& PointMatcher::getTemplatePoints ( ) const [inline]

Definition at line 214 of file detail/geometric_hash.h.

int PointMatcher::match ( const std::vector< KeyPointEx > &  points,
std::vector< float > &  votes,
std::vector< std::pair< AffineBasis, AffineBasis > > &  matched_bases 
) const

Definition at line 501 of file geometric_hash.cpp.

int PointMatcher::match ( const std::vector< KeyPointEx > &  points,
std::vector< float > &  votes,
std::vector< std::pair< AffineBasis, AffineBasis > > &  matched_bases 
) const
void PointMatcher::matchBasis ( const std::vector< KeyPointEx > &  points,
const AffineBasis basis,
std::vector< int > &  votes 
) const
void PointMatcher::matchBasis ( const std::vector< KeyPointEx > &  points,
const AffineBasis basis,
std::vector< int > &  votes 
) const

Definition at line 638 of file geometric_hash.cpp.


Member Data Documentation

Definition at line 197 of file detail/geometric_hash.h.

Definition at line 199 of file detail/geometric_hash.h.

std::vector< KeyPointEx > PointMatcher::template_points [protected]

Definition at line 198 of file detail/geometric_hash.h.


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


outlet_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Thu Aug 27 2015 14:29:52