libcvd
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
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 >:
Inheritance graph
[legend]

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:


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