44 #ifndef vpTemplateTrackerWarp_hh
45 #define vpTemplateTrackerWarp_hh
47 #include <visp3/core/vpConfig.h>
48 #include <visp3/core/vpDisplay.h>
49 #include <visp3/core/vpTrackingException.h>
50 #include <visp3/tt/vpTemplateTrackerHeader.h>
51 #include <visp3/tt/vpTemplateTrackerTriangle.h>
52 #include <visp3/tt/vpTemplateTrackerZone.h>
75 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 virtual void computeCoeff(
const vpColVector &p) = 0;
114 virtual void getdW0(
const int &v,
const int &u,
const double &dv,
const double &du,
double *dIdW) = 0;
127 virtual void getdWdp0(
const int &v,
const int &u,
double *dIdW) = 0;
179 virtual void warpX(
const int &v1,
const int &u1,
double &v2,
double &u2,
const vpColVector &p) = 0;
201 #ifndef DOXYGEN_SHOULD_SKIP_THIS
202 void findWarp(
const double *ut0,
const double *vt0,
const double *u,
const double *v,
int nb_pt,
vpColVector &p);
236 void warp(
const double *ut0,
const double *vt0,
int nb_pt,
const vpColVector &p,
double *u,
double *v);
Implementation of column vector and the associated operations.
Implementation of a matrix and operations on matrices.
virtual void dWarpCompo(const vpColVector &X1, const vpColVector &X2, const vpColVector &p, const double *dwdp0, vpMatrix &dM)=0
virtual bool isESMcompatible() const =0
virtual void warpX(const vpColVector &X1, vpColVector &X2, const vpColVector &p)=0
unsigned int nbParam
Number of parameters used to model warp transformation.
virtual void getParamPyramidUp(const vpColVector &p, vpColVector &p_up)=0
unsigned int getNbParam() const
virtual void getParamInverse(const vpColVector &p, vpColVector &p_inv) const =0
virtual void getdW0(const int &v, const int &u, const double &dv, const double &du, double *dIdW)=0
virtual void dWarp(const vpColVector &X1, const vpColVector &X2, const vpColVector &p, vpMatrix &dM)=0
virtual void getdWdp0(const int &v, const int &u, double *dIdW)=0
virtual ~vpTemplateTrackerWarp()
virtual void warpX(const int &v1, const int &u1, double &v2, double &u2, const vpColVector &p)=0
void setNbParam(unsigned int nb)
virtual void warpXInv(const vpColVector &X1, vpColVector &X2, const vpColVector &p)=0
virtual void getParamPyramidDown(const vpColVector &p, vpColVector &p_down)=0
double denom
Internal value used by homography warp model.
virtual void pRondp(const vpColVector &p1, const vpColVector &p2, vpColVector &p12) const =0