40 #include <visp3/tt/vpTemplateTrackerWarpTranslation.h> 89 vXres[0] = vX[0] + ParamM[0];
90 vXres[1] = vX[1] + ParamM[1];
107 for (
unsigned int i = 0; i <
nbParam; i++) {
108 dW_[0][i] = dwdp0[i];
109 dW_[1][i] = dwdp0[i +
nbParam];
115 vXres[0] = vX[0] + ParamM[0];
116 vXres[1] = vX[1] + ParamM[1];
120 ParamMinv[0] = -ParamM[0];
121 ParamMinv[1] = -ParamM[1];
126 pres[0] = p1[0] + p2[0];
127 pres[1] = p1[1] + p2[1];
Implementation of a matrix and operations on matrices.
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true, bool recopy_=true)
void getParamPyramidDown(const vpColVector &p, vpColVector &pdown)
vpTemplateTrackerWarpTranslation()
void getParamPyramidUp(const vpColVector &p, vpColVector &pup)
void getdW0(const int &i, const int &j, const double &dy, const double &dx, double *dIdW)
void pRondp(const vpColVector &p1, const vpColVector &p2, vpColVector &pres) const
void warpXInv(const vpColVector &vX, vpColVector &vXres, const vpColVector &ParamM)
void dWarp(const vpColVector &X1, const vpColVector &X2, const vpColVector &ParamM, vpMatrix &dW)
Implementation of column vector and the associated operations.
void warpX(const vpColVector &vX, vpColVector &vXres, const vpColVector &ParamM)
void dWarpCompo(const vpColVector &X1, const vpColVector &X2, const vpColVector &ParamM, const double *dwdp0, vpMatrix &dW)
void getParamInverse(const vpColVector &ParamM, vpColVector &ParamMinv) const
void getdWdp0(const int &i, const int &j, double *dIdW)