a generic implementation for 2D homography-based transformations parameterized by a 3x3 matrix with determinant == 1.
More...
#include <esm.h>
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:
- 0 x translation
- 1 y translation
- 2 in-plane rotation
- 3 uniform scale
- 4 non-uniform scale
- 5 symmetric component (the last for a full affine model)
- 6 and 7 missing perspective parameters
Definition at line 126 of file esm.h.
The documentation for this class was generated from the following file: