Jafar
|
This structure contains the result of the matching. More...
This structure contains the result of the matching.
Definition at line 39 of file MatchingResult.hpp.
#include <MatchingResult.hpp>
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. | |
MatchingResult & | operator= (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 |
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.
const jafar::fdetect::DetectionResult& jafar::gfm::MatchingResult::pointsMatch | ( | ) | const |
Referenced by jafar::hpm::Engine::computeMatch(), and jafar::hpm::TrackingEngine::track().
const jafar::fdetect::DetectionResult& jafar::gfm::MatchingResult::pointsRef | ( | ) | const |
Referenced by jafar::hpm::Engine::computeMatch().
bool jafar::gfm::MatchingResult::valid | ( | ) | const [inline] |
Definition at line 84 of file MatchingResult.hpp.
Generated on Wed Oct 15 2014 00:37:38 for Jafar by doxygen 1.7.6.1 |