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

#include <geometric_hash.h>

List of all members.


struct  PointMatcherParams

Public Types

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

Public Member Functions

int addModel (const std::vector< KeyPointEx > &points)
void addModelBasis (const std::vector< KeyPointEx > &points, const AffineBasis &basis)
const AffineBasisgetBasis (int basis_id) const
const GeometricHashgetHash () 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
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())

Protected Attributes

GeometricHash hash
PointMatcherParams params
std::vector< KeyPointExtemplate_points

Detailed Description

Definition at line 178 of file geometric_hash.h.

Member Typedef Documentation

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 geometric_hash.h.

Member Function Documentation

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

Definition at line 453 of file geometric_hash.cpp.

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

Definition at line 492 of file geometric_hash.cpp.

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 std::vector<KeyPointEx>& PointMatcher::getTemplatePoints ( ) const [inline]

Definition at line 214 of file 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.

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 geometric_hash.h.

Definition at line 199 of file geometric_hash.h.

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

Definition at line 198 of file geometric_hash.h.

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

Author(s): Patrick Mihelich
autogenerated on Mon Dec 2 2013 13:21:50