HomoESM Class Reference

#include <esm.hpp>

List of all members.

Public Member Functions

void checkAccuracy (std::vector< std::vector< HomoESMState > > &computations, std::string groundTruthFile, double &meanSSDError, double &meanSpatialError) const
void setTemplateImage (const cv::Mat &image)
void setTestImage (const cv::Mat &image)
void track (int nIters, cv::Mat &H, double &rmsError, cv::Ptr< LieAlgebra > lieAlgebra=new LieAlgebraHomography(), bool saveComputations=false, std::vector< HomoESMState > *computations=0) const
void visualizeTracking (const cv::Mat &H, cv::Mat &visualization) const

Private Member Functions

void computeJacobian (const cv::Mat &dx, const cv::Mat &dy, cv::Mat &J, cv::Ptr< LieAlgebra > lieAlgebra) const
void constructImage (const cv::Mat &srcImage, const std::vector< cv::Point2f > &points, cv::Mat &intensity) const
void projectVertices (const cv::Mat &H, std::vector< cv::Point2f > &vertices) const

Static Private Member Functions

static void computeGradient (const cv::Mat &image, cv::Mat &dx, cv::Mat &dy)
static double computeRMSError (const cv::Mat &error)

Private Attributes

cv::Mat templateDxRow
cv::Mat templateDyRow
cv::Mat templateImage
cv::Mat templateImageRowDouble
cv::Mat templatePoints
std::vector< cv::Point2f > templateVertices
cv::Mat testImage
cv::Mat xx
cv::Mat yy

Detailed Description

Definition at line 26 of file esm.hpp.


Member Function Documentation

void HomoESM::checkAccuracy ( std::vector< std::vector< HomoESMState > > &  computations,
std::string  groundTruthFile,
double &  meanSSDError,
double &  meanSpatialError 
) const
static void HomoESM::computeGradient ( const cv::Mat &  image,
cv::Mat &  dx,
cv::Mat &  dy 
) [static, private]
void HomoESM::computeJacobian ( const cv::Mat &  dx,
const cv::Mat &  dy,
cv::Mat &  J,
cv::Ptr< LieAlgebra lieAlgebra 
) const [private]
static double HomoESM::computeRMSError ( const cv::Mat &  error  )  [static, private]
void HomoESM::constructImage ( const cv::Mat &  srcImage,
const std::vector< cv::Point2f > &  points,
cv::Mat &  intensity 
) const [private]
void HomoESM::projectVertices ( const cv::Mat &  H,
std::vector< cv::Point2f > &  vertices 
) const [private]

Definition at line 102 of file esm.cpp.

void HomoESM::setTemplateImage ( const cv::Mat &  image  ) 
void HomoESM::setTestImage ( const cv::Mat &  image  ) 
void HomoESM::track ( int  nIters,
cv::Mat &  H,
double &  rmsError,
cv::Ptr< LieAlgebra lieAlgebra = new LieAlgebraHomography(),
bool  saveComputations = false,
std::vector< HomoESMState > *  computations = 0 
) const
void HomoESM::visualizeTracking ( const cv::Mat &  H,
cv::Mat &  visualization 
) const

Member Data Documentation

cv::Mat HomoESM::templateDxRow [private]

Definition at line 39 of file esm.hpp.

cv::Mat HomoESM::templateDyRow [private]

Definition at line 39 of file esm.hpp.

cv::Mat HomoESM::templateImage [private]

Definition at line 38 of file esm.hpp.

Definition at line 38 of file esm.hpp.

cv::Mat HomoESM::templatePoints [private]

Definition at line 40 of file esm.hpp.

std::vector<cv::Point2f> HomoESM::templateVertices [private]

Definition at line 43 of file esm.hpp.

cv::Mat HomoESM::testImage [private]

Definition at line 37 of file esm.hpp.

cv::Mat HomoESM::xx [private]

Definition at line 41 of file esm.hpp.

cv::Mat HomoESM::yy [private]

Definition at line 41 of file esm.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


posest
Author(s): Kurt Konolige
autogenerated on Fri Jan 11 09:14:35 2013