Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Attributes
jafar::gfm_v2::MatchingResult< InterestFeatureT > Class Template Reference

This structure contains the result of the matching. More...


Detailed Description

template<typename InterestFeatureT>
class jafar::gfm_v2::MatchingResult< InterestFeatureT >

This structure contains the result of the matching.

Definition at line 143 of file MatchingResult.hpp.

#include <MatchingResult.hpp>

List of all members.

Classes

struct  Shared

Public Types

typedef gfm_v2::Match
< InterestFeatureT > 
MatchType
typedef std::vector< MatchTypevMatches
typedef std::vector< MatchType >
::iterator 
iterator
typedef std::vector< MatchType >
::const_iterator 
const_iterator
typedef
fdetect_v2::DetectionResult
< InterestFeatureT > 
DetectionResult

Public Member Functions

 MatchingResult (const DetectionResult &pr, const DetectionResult &pm)
 Initialize a matching result.
 MatchingResult (const MatchingResult &mr)
void addMatch (InterestFeatureT *ip1, InterestFeatureT *ip2)
 add a match
void push_back (InterestFeatureT *ip1, InterestFeatureT *ip2)
 add a match
iterator begin ()
 return an iterator on the first match
iterator end ()
 return an iterator past over the last match
const_iterator begin () const
 return an const_iterator on the first match
const_iterator end () const
 return an const_iterator past over the last match
size_t size () const
 return the number of matches
void merge (const vMatches &m)
 merge result from a vector of pair of interest points
void propageId ()
 propage the id from the ref points to the match points
void propageStereoIndex ()
 propage back and forth stereo indexes
void propagateId (unsigned int &idVal)
 propage id from ref points to match points and create new id for points without id starting from idVal
std::size_t nbMatches () const
 return the number of matches
const DetectionResultpointsRef () const
const DetectionResultpointsMatch () const
vMatches & matches () const
bool valid () const
void clear ()
 erase all elements in the matching result
void erase (size_t pos)
 erase a pair of ref and match given its position

Private Attributes

boost::shared_ptr< Sharedm_shared

Member Function Documentation

template<typename InterestFeatureT>
vMatches& jafar::gfm_v2::MatchingResult< InterestFeatureT >::matches ( ) const [inline]
Returns:
the matched points

Definition at line 289 of file MatchingResult.hpp.

template<typename InterestFeatureT>
const DetectionResult& jafar::gfm_v2::MatchingResult< InterestFeatureT >::pointsMatch ( ) const [inline]
Returns:
the result of the match points detection

Definition at line 284 of file MatchingResult.hpp.

template<typename InterestFeatureT>
const DetectionResult& jafar::gfm_v2::MatchingResult< InterestFeatureT >::pointsRef ( ) const [inline]
Returns:
the result of the reference points detection

Definition at line 279 of file MatchingResult.hpp.

template<typename InterestFeatureT>
bool jafar::gfm_v2::MatchingResult< InterestFeatureT >::valid ( ) const [inline]
Returns:
true if this object contains a valid matching result

Definition at line 294 of file MatchingResult.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1
LAAS-CNRS