47 #ifndef vpTemplateTracker_hh
48 #define vpTemplateTracker_hh
52 #include <visp/vpTemplateTrackerHeader.h>
53 #include <visp/vpTemplateTrackerZone.h>
54 #include <visp/vpTemplateTrackerWarp.h>
55 #include <visp/vpImageFilter.h>
75 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 vpTemplateTrackerPointSuppMIInv *ptTemplateSupp;
77 vpTemplateTrackerPointSuppMIInv **ptTemplateSuppPyr;
164 void initFromPoints(
const vpImage<unsigned char> &I,
const std::vector< vpImagePoint > &v_ip,
bool delaunay=
false);
172 void setGaussianFilterSize(
unsigned int new_taill);
185 void setPyramidal(
unsigned int nlevels=2,
unsigned int level_to_stop=1) {
187 l0Pyr = level_to_stop;
188 if(l0Pyr >= nlevels){
189 std::cout <<
"Warning: level_to_stop: " << level_to_stop <<
" higher than level_to_start: " << nlevels-1 <<
" (nlevels-1)" <<std::endl;
190 std::cout <<
"Level to stop put to: " << nlevels-1 << std::endl;
195 void setSampling(
int _mod_i,
int _mod_j){mod_i=_mod_i;mod_j=_mod_j;}
212 virtual void initPyramidal(
unsigned int nbLvl,
unsigned int l0);
bool ptTemplateSelectInit
Definition of the vpMatrix class.
void setNbIterBrent(const unsigned int &b)
bool costFunctionVerification
unsigned int templateSelectSize
void getGaussianBluredImage(const vpImage< unsigned char > &I)
vpTemplateTrackerPoint * ptTemplate
vpTemplateTrackerPoint ** ptTemplatePyr
void setHDes(vpMatrix &tH)
Class to define colors available for display functionnalities.
void setIterationMax(const unsigned int &n)
vpMatrix * HLMdesireInversePyr
static const vpColor green
unsigned int templateSize
unsigned int iterationMax
vpTemplateTrackerZone * zoneTrackedPyr
static void filter(const vpImage< double > &I, vpImage< double > &Iu, vpImage< double > &Iv, const vpMatrix &M)
vpTemplateTrackerZone zoneRef_
unsigned int getNbParam() const
unsigned int getNbIteration() const
unsigned int iterationGlobale
double getRatioPixelIn() const
unsigned int * templateSizePyr
vpMatrix HLMdesireInverse
vpTemplateTrackerPointCompo * ptTemplateCompo
Class that provides a data structure for the column vectors as well as a set of operations on these v...
vpMatrix inverseByLU() const
vpTemplateTrackerZone * zoneTracked
bool ** ptTemplateSelectPyr
vpTemplateTrackerZone getZoneRef() const
vpImage< unsigned char > * pyr_IDes
void setp(const vpColVector &tp)
vpTemplateTrackerWarp * Warp
static void computeHLM(const vpMatrix &H, const double &alpha, vpMatrix &HLM)
vpTemplateTrackerPointCompo ** ptTemplateCompoPyr
void setPyramidal(unsigned int nlevels=2, unsigned int level_to_stop=1)
vpTemplateTrackerWarp * getWarp() const
void setThresholdGradient(double threshold)
void setSampling(int _mod_i, int _mod_j)
void setCostFunctionVerification(bool b)