45 #ifndef vpTemplateTracker_hh
46 #define vpTemplateTracker_hh
50 #include <visp3/core/vpImageFilter.h>
51 #include <visp3/tt/vpTemplateTrackerHeader.h>
52 #include <visp3/tt/vpTemplateTrackerWarp.h>
53 #include <visp3/tt/vpTemplateTrackerZone.h>
85 #ifndef DOXYGEN_SHOULD_SKIP_THIS
86 vpTemplateTrackerPointSuppMIInv *ptTemplateSupp;
87 vpTemplateTrackerPointSuppMIInv **ptTemplateSuppPyr;
149 : nbLvlPyr(0), l0Pyr(0), pyrInitialised(false), ptTemplate(NULL), ptTemplatePyr(NULL), ptTemplateInit(false),
150 templateSize(0), templateSizePyr(NULL), ptTemplateSelect(NULL), ptTemplateSelectPyr(NULL),
151 ptTemplateSelectInit(false), templateSelectSize(0), ptTemplateSupp(NULL), ptTemplateSuppPyr(NULL),
152 ptTemplateCompo(NULL), ptTemplateCompoPyr(NULL), zoneTracked(NULL), zoneTrackedPyr(NULL), pyr_IDes(NULL), H(),
153 Hdesire(), HdesirePyr(NULL), HLM(), HLMdesire(), HLMdesirePyr(NULL), HLMdesireInverse(),
154 HLMdesireInversePyr(NULL), G(), gain(0), thresholdGradient(0), costFunctionVerification(false), blur(false),
155 useBrent(false), nbIterBrent(0), taillef(0), fgG(NULL), fgdG(NULL), ratioPixelIn(0), mod_i(0), mod_j(0),
156 nbParam(), lambdaDep(0), iterationMax(0), iterationGlobale(0), diverge(false), nbIteration(0),
157 useCompositionnal(false), useInverse(false), Warp(NULL), p(), dp(), X1(), X2(), dW(), BI(), dIx(), dIy(),
188 void initFromPoints(
const vpImage<unsigned char> &I,
const std::vector<vpImagePoint> &v_ip,
bool delaunay =
false);
196 void setGaussianFilterSize(
unsigned int new_taill);
219 iterationGlobale = 0;
229 void setPyramidal(
unsigned int nlevels = 2,
unsigned int level_to_stop = 1)
232 l0Pyr = level_to_stop;
233 if (l0Pyr >= nlevels) {
234 std::cout <<
"Warning: level_to_stop: " << level_to_stop <<
" higher than level_to_start: " << nlevels - 1
235 <<
" (nlevels-1)" << std::endl;
236 std::cout <<
"Level to stop put to: " << nlevels - 1 << std::endl;
271 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
294 virtual void initPyramidal(
unsigned int nbLvl,
unsigned int l0);