39 #ifndef VP_MBT_ME_LINE_H
40 #define VP_MBT_ME_LINE_H
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpPoint.h>
44 #include <visp3/me/vpMe.h>
45 #include <visp3/me/vpMeLine.h>
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 class VISP_EXPORT vpMbtMeLine :
public vpMeLine
60 double expecteddensity;
64 vpMbtMeLine(
const vpMbtMeLine &meline);
66 void computeProjectionError(
const vpImage<unsigned char> &_I,
double &_sumErrorRad,
unsigned int &_nbFeatures,
67 const vpMatrix &SobelX,
const vpMatrix &SobelY,
bool display,
unsigned int length,
68 unsigned int thickness);
79 inline double get_a()
const {
return m_a; }
87 inline double get_b()
const {
return m_b; }
95 inline double get_c()
const {
return m_c; }
98 double theta,
bool doNoTrack);
Class to define RGB colors available for display functionalities.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Implementation of a matrix and operations on matrices.
Class that tracks in an image a line moving edges.
void display(const vpImage< unsigned char > &I, const vpColor &color, unsigned int thickness=1)
void reSample(const vpImage< unsigned char > &I)
double m_c
Parameter c of the line equation a*i + b*j + c = 0.
void track(const vpImage< unsigned char > &I)
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.
void initTracking(const vpImage< unsigned char > &I)
virtual unsigned int seekExtremities(const vpImage< unsigned char > &I)
void display(const vpImage< unsigned char > &I)