42 #include <visp/vpTemplateTrackerWarpTranslation.h>
91 vXres[0]=vX[0]+ParamM[0];
92 vXres[1]=vX[1]+ParamM[1];
98 dW_[0][0]=1;dW_[0][1]=0;
99 dW_[1][0]=0;dW_[1][1]=1;
107 for(
unsigned int i=0;i<
nbParam;i++)
116 vXres[0]=vX[0]+ParamM[0];
117 vXres[1]=vX[1]+ParamM[1];
121 ParamMinv[0]=-ParamM[0];
122 ParamMinv[1]=-ParamM[1];
Definition of the vpMatrix class.
void resize(const unsigned int nrows, const unsigned int ncols, const bool nullify=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)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
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)