49 #include <visp3/core/vpImage.h>
50 #include <visp3/core/vpMath.h>
51 #include <visp3/core/vpMatrix.h>
60 class VISP_EXPORT
vpMe
62 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
70 double min_samplestep;
71 unsigned int anglestep;
80 unsigned int mask_size;
100 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
104 void checkSamplestep(
double &a)
106 if (a < min_samplestep)
114 inline unsigned int getAngleStep()
const {
return anglestep; }
120 inline vpMatrix *getMask()
const {
return mask; }
128 inline unsigned int getMaskNumber()
const {
return n_mask; }
134 inline int getMaskSign()
const {
return mask_sign; }
142 inline unsigned int getMaskSize()
const {
return mask_size; }
149 inline double getMinSampleStep()
const {
return min_samplestep; }
155 inline double getMu1()
const {
return mu1; }
161 inline double getMu2()
const {
return mu2; }
167 inline int getNbTotalSample()
const {
return ntotal_sample; }
173 inline int getPointsToTrack()
const {
return points_to_track; }
179 inline unsigned int getRange()
const {
return range; }
185 inline int getStrip()
const {
return strip; }
193 inline double getThreshold()
const {
return threshold; }
203 void setAngleStep(
const unsigned int &a) { anglestep = a; }
211 void setMaskNumber(
const unsigned int &a);
218 void setMaskSign(
const int &a) { mask_sign = a; }
227 void setMaskSize(
const unsigned int &a);
234 void setMinSampleStep(
const double &min) { min_samplestep = min; }
241 void setMu1(
const double &mu_1) { this->mu1 = mu_1; }
248 void setMu2(
const double &mu_2) { this->mu2 = mu_2; }
255 void setNbTotalSample(
const int &nb) { ntotal_sample = nb; }
264 void setPointsToTrack(
const int &n) { points_to_track = n; }
271 void setRange(
const unsigned int &r) { range = r; }
278 void setSampleStep(
const double &s) { sample_step = s; }
285 inline double getSampleStep()
const {
return sample_step; }
292 void setStrip(
const int &a) { strip = a; }
300 void setThreshold(
const double &t) { threshold = t; }