43 #include <visp/vpTemplateTrackerSSD.h>
68 Warp->computeCoeff(tp);
86 erreur+=((double)Tij-IW)*((double)Tij-IW);
92 if(Nbpoint==0)
return 10e10;
93 return erreur/Nbpoint;
103 unsigned int Nbpoint=0;
111 Warp->computeCoeff(tp);
117 Warp->computeDenom(
X1,tp);
126 erreur+=((double)Tij-IW)*((double)Tij-IW);
130 if(Nbpoint==0)
return 10e10;
131 return erreur/Nbpoint;
void resize(const unsigned int nrows, const unsigned int ncols, const bool nullify=true)
unsigned int getWidth() const
vpTemplateTrackerPoint * ptTemplate
vpTemplateTrackerPoint ** ptTemplatePyr
virtual void warpX(const int &i, const int &j, double &i2, double &j2, const vpColVector &ParamM)=0
Type getValue(double i, double j) const
unsigned int templateSize
void resize(const unsigned int i, const bool flagNullify=true)
unsigned int * templateSizePyr
Class that provides a data structure for the column vectors as well as a set of operations on these v...
unsigned int getHeight() const
vpTemplateTrackerWarp * Warp
void resize(const unsigned int i, const bool flagNullify=true)