OpenCV  2.4.13.3
Open Source Computer Vision
cv::of2::FabMapLUT Class Reference

#include <openfabmap.hpp>

Inheritance diagram for cv::of2::FabMapLUT:
cv::of2::FabMap

Public Member Functions

 FabMapLUT (const Mat &clTree, double PzGe, double PzGNe, int flags, int numSamples=0, int precision=6)
 
virtual ~FabMapLUT ()
 
- Public Member Functions inherited from cv::of2::FabMap
 FabMap (const Mat &clTree, double PzGe, double PzGNe, int flags, int numSamples=0)
 
virtual ~FabMap ()
 
virtual void addTraining (const Mat &queryImgDescriptor)
 
virtual void addTraining (const vector< Mat > &queryImgDescriptors)
 
virtual void add (const Mat &queryImgDescriptor)
 
virtual void add (const vector< Mat > &queryImgDescriptors)
 
const vector< Mat > & getTrainingImgDescriptors () const
 
const vector< Mat > & getTestImgDescriptors () const
 
void compare (const Mat &queryImgDescriptor, vector< IMatch > &matches, bool addQuery=false, const Mat &mask=Mat())
 
void compare (const Mat &queryImgDescriptor, const Mat &testImgDescriptors, vector< IMatch > &matches, const Mat &mask=Mat())
 
void compare (const Mat &queryImgDescriptor, const vector< Mat > &testImgDescriptors, vector< IMatch > &matches, const Mat &mask=Mat())
 
void compare (const vector< Mat > &queryImgDescriptors, vector< IMatch > &matches, bool addQuery=false, const Mat &mask=Mat())
 
void compare (const vector< Mat > &queryImgDescriptors, const vector< Mat > &testImgDescriptors, vector< IMatch > &matches, const Mat &mask=Mat())
 

Protected Member Functions

void getLikelihoods (const Mat &queryImgDescriptor, const vector< Mat > &testImgDescriptors, vector< IMatch > &matches)
 
- Protected Member Functions inherited from cv::of2::FabMap
void compareImgDescriptor (const Mat &queryImgDescriptor, int queryIndex, const vector< Mat > &testImgDescriptors, vector< IMatch > &matches)
 
void addImgDescriptor (const Mat &queryImgDescriptor)
 
virtual double getNewPlaceLikelihood (const Mat &queryImgDescriptor)
 
void normaliseDistribution (vector< IMatch > &matches)
 
int pq (int q)
 
double Pzq (int q, bool zq)
 
double PzqGzpq (int q, bool zq, bool zpq)
 
double PzqGeq (bool zq, bool eq)
 
double PeqGL (int q, bool Lzq, bool eq)
 
double PzqGL (int q, bool zq, bool zpq, bool Lzq)
 
double PzqGzpqL (int q, bool zq, bool zpq, bool Lzq)
 

Protected Attributes

int(* table )[8]
 
int precision
 
- Protected Attributes inherited from cv::of2::FabMap
double(FabMap::* PzGL )(int q, bool zq, bool zpq, bool Lzq)
 
Mat clTree
 
vector< MattrainingImgDescriptors
 
vector< MattestImgDescriptors
 
vector< IMatchpriorMatches
 
double PzGe
 
double PzGNe
 
double Pnew
 
double mBias
 
double sFactor
 
int flags
 
int numSamples
 

Additional Inherited Members

- Public Types inherited from cv::of2::FabMap
enum  {
  MEAN_FIELD = 1, SAMPLED = 2, NAIVE_BAYES = 4, CHOW_LIU = 8,
  MOTION_MODEL = 16
}
 

Constructor & Destructor Documentation

§ FabMapLUT()

cv::of2::FabMapLUT::FabMapLUT ( const Mat clTree,
double  PzGe,
double  PzGNe,
int  flags,
int  numSamples = 0,
int  precision = 6 
)

§ ~FabMapLUT()

virtual cv::of2::FabMapLUT::~FabMapLUT ( )
virtual

Member Function Documentation

§ getLikelihoods()

void cv::of2::FabMapLUT::getLikelihoods ( const Mat queryImgDescriptor,
const vector< Mat > &  testImgDescriptors,
vector< IMatch > &  matches 
)
protectedvirtual

Reimplemented from cv::of2::FabMap.

Member Data Documentation

§ precision

int cv::of2::FabMapLUT::precision
protected

§ table

int(* cv::of2::FabMapLUT::table)[8]
protected

The documentation for this class was generated from the following file: