CVD 0.8
Public Member Functions | Static Public Attributes | Protected Attributes
CVD::Homography< PARAMS > Class Template Reference

a generic implementation for 2D homography-based transformations parameterized by a 3x3 matrix with determinant == 1. More...

#include <esm.h>

Inheritance diagram for CVD::Homography< PARAMS >:
CVD::HomographyPrefix< PARAMS >

List of all members.

Public Member Functions

template<int R, int C, typename P , typename B >
 Homography (const TooN::Matrix< R, C, P, B > &h)
const TooN::Matrix< 3 > & get_matrix () const
TooN::Matrix< 3 > & get_matrix ()
const TooN::Vector< PARAMS > & get_jacobian (const TooN::Vector< 2 > &p, const TooN::Vector< 2 > &grad) const
void update (const TooN::Vector< PARAMS > &v)

Static Public Attributes

static const int dimensions = PARAMS

Protected Attributes

TooN::Matrix< 3 > H
TooN::Vector< PARAMS > J

Detailed Description

template<int PARAMS>
class CVD::Homography< PARAMS >

a generic implementation for 2D homography-based transformations parameterized by a 3x3 matrix with determinant == 1.

The class implements the interface described by ESMTransform. The template parameter defines the number of parameters used for the 2D transformation and should lie within 1 to 8. The following lists the individual meaning for all 8 parameters:

Definition at line 126 of file esm.h.


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