Public Member Functions | Private Attributes
Homography33 Class Reference

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

#include <Homography33.h>

List of all members.

Public Member Functions

void compute ()
const std::pair< float, float > getCXY () const
Eigen::Matrix3d & getH ()
 Note that the returned H matrix does not reflect cxy.
 Homography33 (const std::pair< float, float > &opticalCenter)
 Constructor.
std::pair< float, float > project (float worldx, float worldy)
void setCorrespondences (const std::vector< std::pair< float, float > > &srcPts, const std::vector< std::pair< float, float > > &dstPts)

Private Attributes

std::pair< float, float > cxy
std::vector< std::pair< float,
float > > 
dstPts
Eigen::Matrix< double, 9, 9 > fA
Eigen::Matrix3d H
std::vector< std::pair< float,
float > > 
srcPts
bool valid

Detailed Description

Compute 3x3 homography using Direct Linear Transform.

Definition at line 41 of file Homography33.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 11 of file Homography33.cc.


Member Function Documentation

Definition at line 184 of file Homography33.cc.

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

Definition at line 56 of file Homography33.h.

Eigen::Matrix3d & Homography33::getH ( )

Note that the returned H matrix does not reflect cxy.

Definition at line 16 of file Homography33.cc.

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

Definition at line 205 of file Homography33.cc.

void Homography33::setCorrespondences ( const std::vector< std::pair< float, float > > &  srcPts,
const std::vector< std::pair< float, float > > &  dstPts 
)

Member Data Documentation

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

Definition at line 63 of file Homography33.h.

std::vector< std::pair<float,float> > Homography33::dstPts [private]

Definition at line 68 of file Homography33.h.

Eigen::Matrix<double,9,9> Homography33::fA [private]

Definition at line 64 of file Homography33.h.

Eigen::Matrix3d Homography33::H [private]

Definition at line 65 of file Homography33.h.

std::vector< std::pair<float,float> > Homography33::srcPts [private]

Definition at line 68 of file Homography33.h.

bool Homography33::valid [private]

Definition at line 66 of file Homography33.h.


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


apriltags
Author(s): Michael Kaess, Hordur Johannson
autogenerated on Thu Jun 6 2019 20:53:23