Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Homography33 Class Reference

Compute 3x3 homography using Direct Linear Transform. More...

#include <Homography33.h>


Detailed Description

Compute 3x3 homography using Direct Linear Transform.

Definition at line 30 of file Homography33.h.

List of all members.

Public Member Functions

 Homography33 (const std::pair< float, float > &opticalCenter)
 Constructor.
fmat::Matrix< 3, 3 > & getH ()
 Note that the returned H matrix does not reflect cxy.
const std::pair< float, floatgetCXY () const
void addCorrespondence (float worldx, float worldy, float imagex, float imagey)
void compute ()
std::pair< float, floatproject (float worldx, float worldy)

Private Attributes

std::pair< float, floatcxy
fmat::Matrix< 9, 9 > fA
fmat::Matrix< 3, 3 > H
bool valid

Constructor & Destructor Documentation

Homography33::Homography33 ( const std::pair< float, float > &  opticalCenter  ) 

Constructor.

Definition at line 8 of file Homography33.cc.


Member Function Documentation

void Homography33::addCorrespondence ( float  worldx,
float  worldy,
float  imagex,
float  imagey 
)

Definition at line 15 of file Homography33.cc.

Referenced by AprilTags::Quad::Quad().

void Homography33::compute (  ) 

Definition at line 147 of file Homography33.cc.

Referenced by getH(), project(), and AprilTags::Quad::Quad().

const std::pair<float,float> Homography33::getCXY (  )  const

Definition at line 38 of file Homography33.h.

Referenced by AprilTags::TagDetector::extractTags(), and operator<<().

fmat::Matrix< 3, 3 > & Homography33::getH (  ) 

Note that the returned H matrix does not reflect cxy.

Definition at line 10 of file Homography33.cc.

Referenced by AprilTags::TagDetector::extractTags(), and operator<<().

std::pair< float, float > Homography33::project ( float  worldx,
float  worldy 
)

Definition at line 170 of file Homography33.cc.

Referenced by AprilTags::Quad::interpolate().


Member Data Documentation

std::pair<float,float> Homography33::cxy [private]

Definition at line 47 of file Homography33.h.

Referenced by addCorrespondence(), getCXY(), and project().

Definition at line 48 of file Homography33.h.

Referenced by addCorrespondence(), and compute().

fmat::Matrix<3,3> Homography33::H [private]

Definition at line 49 of file Homography33.h.

Referenced by compute(), getH(), and project().

bool Homography33::valid [private]

Definition at line 50 of file Homography33.h.

Referenced by addCorrespondence(), and compute().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:09 2016 by Doxygen 1.6.3