40 #include <visp3/tt/vpTemplateTrackerWarpTranslation.h> 58 p_down[0] = p[0] / 2.;
59 p_down[1] = p[1] / 2.;
127 X2[0] = X1[0] + p[0];
128 X2[1] = X1[1] + p[1];
156 for (
unsigned int i = 0; i <
nbParam; i++) {
171 X2[0] = X1[0] + p[0];
172 X2[1] = X1[1] + p[1];
197 p12[0] = p1[0] + p2[0];
198 p12[1] = p1[1] + p2[1];
Implementation of a matrix and operations on matrices.
void warpX(const vpColVector &X1, vpColVector &X2, const vpColVector &p)
void getdWdp0(const int &, const int &, double *dIdW)
void getParamPyramidDown(const vpColVector &p, vpColVector &p_down)
void dWarp(const vpColVector &, const vpColVector &, const vpColVector &, vpMatrix &dM)
vpTemplateTrackerWarpTranslation()
void getParamPyramidUp(const vpColVector &p, vpColVector &p_up)
void getParamInverse(const vpColVector &p, vpColVector &p_inv) const
void getdW0(const int &, const int &, const double &dv, const double &du, double *dIdW)
void dWarpCompo(const vpColVector &, const vpColVector &, const vpColVector &, const double *dwdp0, vpMatrix &dM)
Implementation of column vector and the associated operations.
void warpXInv(const vpColVector &X1, vpColVector &X2, const vpColVector &p)
void pRondp(const vpColVector &p1, const vpColVector &p2, vpColVector &p12) const
unsigned int nbParam
Number of parameters used to model warp transformation.