Jafar
|
This structure contains the result of the matching. More...
This structure contains the result of the matching.
Definition at line 143 of file MatchingResult.hpp.
#include <MatchingResult.hpp>
Classes | |
struct | Shared |
Public Types | |
typedef gfm_v2::Match < InterestFeatureT > | MatchType |
typedef std::vector< MatchType > | vMatches |
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 DetectionResult & | pointsRef () const |
const DetectionResult & | pointsMatch () 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< Shared > | m_shared |
vMatches& jafar::gfm_v2::MatchingResult< InterestFeatureT >::matches | ( | ) | const [inline] |
Definition at line 289 of file MatchingResult.hpp.
const DetectionResult& jafar::gfm_v2::MatchingResult< InterestFeatureT >::pointsMatch | ( | ) | const [inline] |
Definition at line 284 of file MatchingResult.hpp.
const DetectionResult& jafar::gfm_v2::MatchingResult< InterestFeatureT >::pointsRef | ( | ) | const [inline] |
Definition at line 279 of file MatchingResult.hpp.
bool jafar::gfm_v2::MatchingResult< InterestFeatureT >::valid | ( | ) | const [inline] |
Definition at line 294 of file MatchingResult.hpp.
Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1 |