46 #include <visp3/core/vpMatrix.h>
47 #include <visp3/core/vpMath.h>
48 #include <visp3/me/vpMeTracker.h>
155 static void update_indices(
double theta,
int incr,
int i,
int j,
int& i1,
int& i2,
int& j1,
int& j2);
168 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
191 void setExtremities() ;
193 void suppressPoints() ;
201 double getRho()
const ;
202 double getTheta()
const ;
213 inline double getA()
const {
return a; }
218 inline double getB()
const {
return b; }
223 inline double getC()
const {
return c; }
238 _useIntensityForRho = useIntensityForRho;
244 const double &A,
const double &B,
const double &C,
247 const double &A,
const double &B,
const double &C,
251 const std::list<vpMeSite> &site_list,
252 const double &A,
const double &B,
const double &C,
255 const std::list<vpMeSite> &site_list,
256 const double &A,
const double &B,
const double &C,
void computeRhoSignFromIntensity(const bool useIntensityForRho)
double c
Parameter c 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'...
Class to define colors available for display functionnalities.
bool _useIntensityForRho
Flag to specify wether the intensity of the image at the middle point is used to compute the sign of ...
virtual void sample(const vpImage< unsigned char > &image)=0
Sample pixels at a given interval.
static const vpColor green
Class that tracks in an image a line moving edges.
void track(const vpImage< unsigned char > &I)
Track sampled pixels.
Contains abstract elements for a Distance to Feature type feature.
double a
Parameter a of the line equation a*i + b*j + c = 0.
double b
Parameter b of the line equation a*i + b*j + c = 0.
void initTracking(const vpImage< unsigned char > &I)
void getEquationParam(double &A, double &B, double &C)
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
virtual void display(const vpImage< unsigned char > &I, vpColor col)=0