47#include <visp3/core/vpPoint.h>
48#include <visp3/me/vpMe.h>
49#include <visp3/me/vpMeTracker.h>
51#ifndef DOXYGEN_SHOULD_SKIP_THIS
63 double rho, theta, theta_1;
64 double delta, delta_1;
71 double expecteddensity;
75 virtual ~vpMbtMeLine();
77 void computeProjectionError(
const vpImage<unsigned char> &_I,
double &_sumErrorRad,
unsigned int &_nbFeatures,
78 const vpMatrix &SobelX,
const vpMatrix &SobelY,
bool display,
unsigned int length,
79 unsigned int thickness);
81 void display(
const vpImage<unsigned char> & ,
const vpColor &,
unsigned int ) { ; }
90 inline double get_a()
const {
return this->a; }
98 inline double get_b()
const {
return this->b; }
106 inline double get_c()
const {
return this->c; }
108 void initTracking(
const vpImage<unsigned char> &I,
const vpImagePoint &ip1,
const vpImagePoint &ip2,
double rho,
109 double theta,
bool doNoTrack);
111 void track(
const vpImage<unsigned char> &I);
113 void updateParameters(
const vpImage<unsigned char> &I,
double rho,
double theta);
114 void updateParameters(
const vpImage<unsigned char> &I,
const vpImagePoint &ip1,
const vpImagePoint &ip2,
double rho,
120 virtual void sample(
const vpImage<unsigned char> &image,
bool doNotTrack =
false);
121 void seekExtremities(
const vpImage<unsigned char> &I);
122 void setExtremities();
123 void suppressPoints(
const vpImage<unsigned char> &I);
124 void reSample(
const vpImage<unsigned char> &image);
125 void reSample(
const vpImage<unsigned char> &image,
const vpImagePoint &ip1,
const vpImagePoint &ip2);
Contains abstract elements for a Distance to Feature type feature.
void initTracking(const vpImage< unsigned char > &I)
virtual void sample(const vpImage< unsigned char > &image, bool doNotTrack=false)=0
void track(const vpImage< unsigned char > &I)
void display(const vpImage< unsigned char > &I)