libcvd
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
CVD::HomographyPrefix< PARAMS > Class Template Reference

This class provides a generic 2D homography transformation, but also applies a fixed transformation on the input pixel locations. More...

#include <esm.h>

Inheritance diagram for CVD::HomographyPrefix< PARAMS >:
Inheritance graph
[legend]
Collaboration diagram for CVD::HomographyPrefix< PARAMS >:
Collaboration graph
[legend]

Public Member Functions

template<int R, int C, typename P , typename B >
 HomographyPrefix (const TooN::Matrix< R, C, P, B > &p)
 
template<int R, int C, typename P , typename B , int R2, int C2, typename P2 , typename B2 >
 HomographyPrefix (const TooN::Matrix< R, C, P, B > &h, const TooN::Matrix< R2, C2, P2, B2 > &p)
 
const TooN::Matrix< 3 > get_matrix () const
 
template<int R, int C, typename P , typename B >
void set_prefix (const TooN::Matrix< R, C, P, B > &p)
 
const TooN::Vector< PARAMS > & get_jacobian (const TooN::Vector< 2 > &x, const TooN::Vector< 2 > &grad) const
 
- Public Member Functions inherited from CVD::Homography< PARAMS >
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
 
- Static Public Attributes inherited from CVD::Homography< PARAMS >
static const int dimensions = PARAMS
 

Protected Attributes

TooN::Matrix< 3 > Pre
 
TooN::Matrix< 2 > PreGrad
 
- Protected Attributes inherited from CVD::Homography< PARAMS >
TooN::Matrix< 3 > H
 
TooN::Vector< PARAMS > J
 

Detailed Description

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

This class provides a generic 2D homography transformation, but also applies a fixed transformation on the input pixel locations.

This allows to change the reference point for the optimized mapping, for example to estimate it around the center of the template image. The class implements the interface described by ESMTransform. The parameterization is the same as for Homography.


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