39 #ifndef VP_ME_TRACKER_H
40 #define VP_ME_TRACKER_H
42 #include <visp3/core/vpColVector.h>
43 #include <visp3/core/vpTracker.h>
44 #include <visp3/me/vpMe.h>
45 #include <visp3/me/vpMeSite.h>
128 static bool inRoiMask(
const vpImage<bool> *mask,
unsigned int i,
unsigned int j);
139 static bool inMeMaskCandidates(
const vpImage<bool> *meMaskCandidates,
unsigned int i,
unsigned int j);
160 inline std::list<vpMeSite> &
getMeList() {
return m_meList; }
167 inline std::list<vpMeSite>
getMeList()
const {
return m_meList; }
193 unsigned int numberOfSignal();
207 bool outOfImage(
int i,
int j,
int border,
int nrows,
int ncols);
216 bool outOfImage(
const vpImagePoint &iP,
int border,
int nrows,
int ncols);
267 void setMeList(
const std::list<vpMeSite> &meList) { m_meList = meList; }
272 unsigned int totalNumberOfSignal();
284 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
299 VP_DEPRECATED
static bool inMask(
const vpImage<bool> *mask,
unsigned int i,
unsigned int j)
301 return inRoiMask(mask, i, j);
Implementation of column vector and the associated operations.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Contains abstract elements for a Distance to Feature type feature.
const vpImage< bool > * m_mask
Mask used to disable tracking on a part of image.
std::list< vpMeSite > getMeList() const
vpMeSite::vpMeSiteDisplayType m_selectDisplay
Moving-edges display type.
virtual void sample(const vpImage< unsigned char > &image, bool doNotTrack=false)=0
virtual void setMaskCandidates(const vpImage< bool > *maskCandidates)
unsigned int m_init_range
Initial range.
vpMe * m_me
Moving edges initialisation parameters.
void setDisplay(vpMeSite::vpMeSiteDisplayType select)
int m_nGoodElement
Number of good moving-edges that are tracked.
unsigned int getInitRange()
const vpImage< bool > * m_maskCandidates
Mask used to determine candidate points for initialization in an image.
std::list< vpMeSite > m_meList
void setInitRange(const unsigned int &r)
std::list< vpMeSite > & getMeList()
virtual void setMask(const vpImage< bool > &mask)
void setMeList(const std::list< vpMeSite > &meList)
Class that defines what is a feature generic tracker.
vpTracker & operator=(const vpTracker &tracker)
Copy operator.
void init()
Default initialization.