Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KnowledgeBase.cc File Reference

#include "KnowledgeBase.h"
#include <vector>
#include <iostream>
#include "CharPtrHash.h"
#include "keypoint.h"
#include "keygroup.h"
#include "keypointpair.h"
#include "model.h"
#include "object.h"
#include "HoughHash.h"
#include "KDTree.h"
#include "Shared/newmat/newmat.h"
#include <limits>
#include "Shared/mathutils.h"
Include dependency graph for KnowledgeBase.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int getNumParams ()
const char * getParamList (int i)
double choose (int n, int r)
NEWMAT::Matrix leastSquareSolution (std::vector< keypointPair * > keyPairs, double *error)
NEWMAT::Matrix getBestTransform2 (std::vector< keypointPair * > allPairs, std::vector< keypointPair * > seedPairs, double *error, std::vector< keypointPair * > **inliersToReturn)
void getBestHoughTransforms (std::vector< NEWMAT::Matrix > *transforms, std::vector< keypoint * > keys, std::vector< keypoint * > matches, std::vector< double > *error, std::vector< std::vector< keypointPair * > * > *inliersToReturn)

Variables

const int numParams = 2
const char * paramList [numParams] = {"probOfMatch", "errorThreshold"}

Function Documentation

double choose ( int  n,
int  r 
)

Definition at line 30 of file KnowledgeBase.cc.

Referenced by KnowledgeBase::modelMatching().

void getBestHoughTransforms ( std::vector< NEWMAT::Matrix > *  transforms,
std::vector< keypoint * >  keys,
std::vector< keypoint * >  matches,
std::vector< double > *  error,
std::vector< std::vector< keypointPair * > * > *  inliersToReturn 
)

Definition at line 236 of file KnowledgeBase.cc.

Referenced by KnowledgeBase::modelMatching().

NEWMAT::Matrix getBestTransform2 ( std::vector< keypointPair * >  allPairs,
std::vector< keypointPair * >  seedPairs,
double *  error,
std::vector< keypointPair * > **  inliersToReturn 
)

This part is weird.. for some reason, sometimes tempX is outside of range ///

Definition at line 106 of file KnowledgeBase.cc.

Referenced by getBestHoughTransforms().

int getNumParams (  ) 

Definition at line 22 of file KnowledgeBase.cc.

const char* getParamList ( int  i  ) 

Definition at line 26 of file KnowledgeBase.cc.

NEWMAT::Matrix leastSquareSolution ( std::vector< keypointPair * >  keyPairs,
double *  error 
)

Definition at line 51 of file KnowledgeBase.cc.

Referenced by getBestTransform2().


Variable Documentation

const int numParams = 2

Definition at line 19 of file KnowledgeBase.cc.

Referenced by getNumParams(), and KnowledgeBase::saveToFile().

const char* paramList[numParams] = {"probOfMatch", "errorThreshold"}

Definition at line 20 of file KnowledgeBase.cc.

Referenced by getParamList(), and KnowledgeBase::saveToFile().


Tekkotsu v5.1CVS
Generated Mon May 9 04:58:57 2016 by Doxygen 1.6.3