Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
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

Definition at line 202 of file esm.cpp.

void HomoESM::computeGradient ( const cv::Mat &  image,
cv::Mat &  dx,
cv::Mat &  dy 
) [static, private]

Definition at line 124 of file esm.cpp.

void HomoESM::computeJacobian ( const cv::Mat &  dx,
const cv::Mat &  dy,
cv::Mat &  J,
cv::Ptr< LieAlgebra lieAlgebra 
) const [private]

Definition at line 134 of file esm.cpp.

double HomoESM::computeRMSError ( const cv::Mat &  error) [static, private]

Definition at line 45 of file esm.cpp.

void HomoESM::constructImage ( const cv::Mat &  srcImage,
const std::vector< cv::Point2f > &  points,
cv::Mat &  intensity 
) const [private]

Definition at line 162 of file esm.cpp.

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)

Definition at line 6 of file esm.cpp.

void HomoESM::setTestImage ( const cv::Mat &  image)

Definition at line 39 of file esm.cpp.

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

Definition at line 50 of file esm.cpp.

void HomoESM::visualizeTracking ( const cv::Mat &  H,
cv::Mat &  visualization 
) const

Definition at line 110 of file esm.cpp.


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:


posest
Author(s): Kurt Konolige
autogenerated on Thu Jan 2 2014 12:12:17