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] |
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
The documentation for this class was generated from the following files: