libcvd
|
This class provides a generic 2D homography transformation, but also applies a fixed transformation on the input pixel locations. More...
#include <esm.h>
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 |
![]() | |
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 const int | dimensions = PARAMS |
Protected Attributes | |
TooN::Matrix< 3 > | Pre |
TooN::Matrix< 2 > | PreGrad |
![]() | |
TooN::Matrix< 3 > | H |
TooN::Vector< PARAMS > | J |
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.