39 #include <visp3/tt/vpTemplateTrackerWarpTranslation.h>
88 vXres[0]=vX[0]+ParamM[0];
89 vXres[1]=vX[1]+ParamM[1];
95 dW_[0][0]=1;dW_[0][1]=0;
96 dW_[1][0]=0;dW_[1][1]=1;
104 for(
unsigned int i=0;i<
nbParam;i++)
113 vXres[0]=vX[0]+ParamM[0];
114 vXres[1]=vX[1]+ParamM[1];
118 ParamMinv[0]=-ParamM[0];
119 ParamMinv[1]=-ParamM[1];
Implementation of a matrix and operations on matrices.
void resize(const unsigned int nrows, const unsigned int ncols, const bool flagNullify=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 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 pRondp(const vpColVector &p1, const vpColVector &p2, vpColVector &pres) const
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)