Public Member Functions | Private Types | Private Member Functions | Private Attributes
NNRMatcher Class Reference

Matches keypoints by their feature vectors and geometric properties. More...

#include <NNRMatcher.h>

List of all members.

Public Member Functions

std::string getLog ()
std::vector< std::pair
< KeyPoint, KeyPoint > > 
getMatchedKeyPoints ()
std::list< KeyPointMatchgetMatches ()
int getNumMatches ()
void match (float maxDistRatio=0.7)
 NNRMatcher (std::vector< KeyPoint > *keyPointsA, std::vector< KeyPoint > *keyPointsB)
 The constructor.
 ~NNRMatcher ()
 The destructor.

Private Types

typedef std::list
< KeyPointMatch >::iterator 
MatchElem
typedef std::list< KeyPointMatchMatchList

Private Member Functions

void eliminateMultipleMatches ()
 If more than one keypoint of First have been matched with the same of Second, keep only closest.

Private Attributes

std::vector< KeyPoint > * m_KeyPointsA
std::vector< KeyPoint > * m_KeyPointsB
std::ostringstream m_Log
MatchList m_Matches

Detailed Description

Matches keypoints by their feature vectors and geometric properties.

Author:
David Gossow (RX)

Definition at line 30 of file NNRMatcher.h.


Member Typedef Documentation

typedef std::list<KeyPointMatch>::iterator NNRMatcher::MatchElem [private]

Definition at line 71 of file NNRMatcher.h.

typedef std::list< KeyPointMatch > NNRMatcher::MatchList [private]

Definition at line 68 of file NNRMatcher.h.


Constructor & Destructor Documentation

NNRMatcher::NNRMatcher ( std::vector< KeyPoint > *  keyPointsA,
std::vector< KeyPoint > *  keyPointsB 
)

The constructor.

Parameters:
first,secondLists of keypoints to match with each other

The destructor.


Member Function Documentation

If more than one keypoint of First have been matched with the same of Second, keep only closest.

std::string NNRMatcher::getLog ( )
std::vector< std::pair< KeyPoint, KeyPoint > > NNRMatcher::getMatchedKeyPoints ( )
Returns:
Remaining matched keypoints
std::list< KeyPointMatch > NNRMatcher::getMatches ( ) [inline]

Definition at line 49 of file NNRMatcher.h.

int NNRMatcher::getNumMatches ( ) [inline]
Returns:
number of remaining matches

Definition at line 52 of file NNRMatcher.h.

void NNRMatcher::match ( float  maxDistRatio = 0.7)

KeyPointMatch features by distance ratio strategy

Parameters:
maxDistRatioMaximal ratio between closest and second-closest match
symmetricif true, only keep matches that a

Member Data Documentation

std::vector< KeyPoint >* NNRMatcher::m_KeyPointsA [private]

Definition at line 64 of file NNRMatcher.h.

std::vector< KeyPoint >* NNRMatcher::m_KeyPointsB [private]

Definition at line 65 of file NNRMatcher.h.

std::ostringstream NNRMatcher::m_Log [private]

Definition at line 75 of file NNRMatcher.h.

Definition at line 73 of file NNRMatcher.h.


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


or_libs
Author(s): Viktor Seib
autogenerated on Tue Jan 7 2014 11:24:03