Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::gfm::MatchingResult Class Reference

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


Detailed Description

This structure contains the result of the matching.

Definition at line 39 of file MatchingResult.hpp.

#include <MatchingResult.hpp>

List of all members.

Public Member Functions

 MatchingResult (const jafar::fdetect::DetectionResult &pr, const jafar::fdetect::DetectionResult &pm)
 Initialize a matching result.
 MatchingResult (const MatchingResult &)
 Clone this detection result.
MatchingResultoperator= (const MatchingResult &)
 Copy an other matching result in this one.
void addMatch (fdetect::InterestFeature *ip1, fdetect::InterestFeature *ip2)
 add a match
void merge (jafar::gfm::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
jafar::fdetect::DetectionResult
pointsRef () const
const
jafar::fdetect::DetectionResult
pointsMatch () const
vMatches & matches () const
bool valid () const

Private Member Functions

void unref ()

Private Attributes

Shared * m_shared

Member Function Documentation

MatchingResult& jafar::gfm::MatchingResult::operator= ( const MatchingResult )

Copy an other matching result in this one.

This will make a call to unref and might provokes the deletion of the previous matching results data.

Returns:
the result of the match points detection

Referenced by jafar::hpm::Engine::computeMatch(), and jafar::hpm::TrackingEngine::track().

Returns:
the result of the reference points detection

Referenced by jafar::hpm::Engine::computeMatch().

bool jafar::gfm::MatchingResult::valid ( ) const [inline]
Returns:
true if this object contains a valid matching result

Definition at line 84 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