42 #include <visp3/core/vpMath.h>
43 #include <visp3/core/vpMatrix.h>
44 #include <visp3/me/vpMeTracker.h>
154 static void update_indices(
double theta,
int incr,
int i,
int j,
int &i1,
int &i2,
int &j1,
int &j2);
202 void display(const
vpImage<
unsigned char> &I, const
vpColor &color,
unsigned int thickness = 1);
209 void track(const
vpImage<
unsigned char> &I);
221 virtual
void sample(const
vpImage<
unsigned char> &I,
bool doNotTrack = false) VP_OVERRIDE;
233 void reSample(const
vpImage<
unsigned char> &I);
250 void setExtremities();
262 void seekExtremities(const
vpImage<
unsigned char> &I);
267 void suppressPoints();
275 void initTracking(const
vpImage<
unsigned char> &I);
292 void computeRhoTheta(const
vpImage<
unsigned char> &I);
302 double getRho() const;
307 double getTheta() const;
320 void getEquationParam(
double &A,
double &B,
double &C)
330 inline double getA()
const {
return m_a; }
335 inline double getB()
const {
return m_b; }
340 inline double getC()
const {
return m_c; }
381 unsigned int thickness = 1);
398 unsigned int thickness = 1);
415 const std::list<vpMeSite> &site_list,
const double &A,
const double &B,
const double &C,
433 const std::list<vpMeSite> &site_list,
const double &A,
const double &B,
const double &C,
436 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
442 unsigned int thickness = 1);
449 unsigned int thickness = 1);
455 const std::list<vpMeSite> &site_list,
const double &A,
const double &B,
const double &C,
462 const std::list<vpMeSite> &site_list,
const double &A,
const double &B,
const double &C,
Class to define RGB colors available for display functionalities.
static const vpColor green
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Definition of the vpImage class member functions.
Class that tracks in an image a line moving edges.
double m_angle
Angle in deg between the extremities.
double m_angle_1
Angle in deg between the extremities.
double m_theta
theta parameter of the line
double m_delta_1
Angle in rad between the extremities.
double m_c
Parameter c of the line equation a*i + b*j + c = 0.
bool m_useIntensityForRho
double m_delta
Angle in rad between the extremities.
double m_rho
rho parameter of the line
void computeRhoSignFromIntensity(bool useIntensityForRho)
double m_a
Parameter a of the line equation a*i + b*j + c = 0.
double m_b
Parameter b of the line equation a*i + b*j + c = 0.
Performs search in a given direction(normal) for a given distance(pixels) for a given 'site'....
Contains abstract elements for a Distance to Feature type feature.
void display(const vpImage< unsigned char > &I)