49 #include <visp/vpMeTracker.h>
50 #include <visp/vpDisplay.h>
51 #include <visp/vpColor.h>
53 #include <visp/vpTrackingException.h>
54 #include <visp/vpDebug.h>
57 #define DEBUG_LEVEL1 0
58 #define DEBUG_LEVEL2 0
75 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
91 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
112 static bool isSuppressZero(
const vpMeSite& P){
119 unsigned int number_signal=0;
122 number_signal =
static_cast<unsigned int>(std::count_if(
list.begin(),
list.end(), isSuppressZero));
123 return number_signal;
129 return (
unsigned int)
list.size();
135 return (! ((i> half+2) &&
136 (i< rows -(half+2)) &&
147 return (! ((i> half+2) &&
148 (i< rows -(half+2)) &&
165 vpDERROR_TRACE(2,
"Tracking error: Moving edges not initialized");
167 "Moving edges not initialized")) ;
180 for(std::list<vpMeSite>::iterator it=
list.begin(); it!=
list.end(); ++it){
203 a = refp.
i_1 - refp.
i ;
204 b = refp.
j_1 - refp.
j ;
251 vpDERROR_TRACE(2,
"Tracking error: Moving edges not initialized");
253 "Moving edges not initialized")) ;
260 "too few pixel to track")) ;
268 for(std::list<vpMeSite>::iterator it=
list.begin(); it!=
list.end(); ++it){
329 std::cout <<
"begin vpMeTracker::displayList() " << std::endl ;
330 std::cout<<
" There are "<<
list.size()<<
" sites in the list " << std::endl ;
333 for(std::list<vpMeSite>::const_iterator it=
list.begin(); it!=
list.end(); ++it){
348 for(std::list<vpMeSite>::iterator it=
list.begin(); it!=
list.end(); ++it){