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

class Match. More...


Detailed Description

class Match.

contains matches from 2 sets of features

Definition at line 33 of file match.hpp.

#include <match.hpp>

List of all members.

Public Member Functions

 Match (double thd_=0.8)
 Default constructor.
void setThreshold (double thd_)
 set threshold
int getNbMatches ()
 return the number of match
oneMatchget (int i)
 return the i-th match
void compute (const std::vector< KBFeature > &f1_, const jafar::image::JfrImage &src1_, const std::vector< KBFeature > &f2_, const jafar::image::JfrImage &src2_)
 compute matches
jafar::image::JfrImage * drawMatches (const jafar::image::JfrImage &src1_, const jafar::image::JfrImage &src2_)
 draw matches

Private Attributes

double thd
 match threshold
std::vector< oneMatchmatches
 vector of matches

Member Function Documentation

void jafar::imdesc::Match::compute ( const std::vector< KBFeature > &  f1_,
const jafar::image::JfrImage &  src1_,
const std::vector< KBFeature > &  f2_,
const jafar::image::JfrImage &  src2_ 
)

compute matches

Parameters:
f1_vector of features
f2_vector of features
jafar::image::JfrImage* jafar::imdesc::Match::drawMatches ( const jafar::image::JfrImage &  src1_,
const jafar::image::JfrImage &  src2_ 
)

draw matches

Parameters:
src1_first source image
src2_second source image
Returns:
combined image with matched features

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:40 for Jafar by doxygen 1.7.6.1
LAAS-CNRS