52 #include <visp/vpColVector.h>
53 #include <visp/vpMath.h>
74 } vpRobustEstimatorType;
86 double NoiseThreshold;
105 void resize(
unsigned int n_data);
108 void MEstimator(
const vpRobustEstimatorType method,
113 void MEstimator(
const vpRobustEstimatorType method,
129 NoiseThreshold=noise_threshold;
141 double computeNormalizedMedian(
vpColVector &all_normres,
149 double scale(vpRobustEstimatorType method,
vpColVector &x);
170 double simult_chi_huber(
double x);
177 double constrainedChi(vpRobustEstimatorType method,
double x);
180 double constrainedChiTukey(
double x);
182 double constrainedChiCauchy(
double x);
184 double constrainedChiHuber(
double x);
192 double erf(
double x);
193 double gammp(
double a,
double x);
194 void gser(
double *gamser,
double a,
double x,
double *gln);
195 void gcf(
double *gammcf,
double a,
double x,
double *gln);
196 double gammln(
double xx);
201 void exch(
double &A,
double &B){swap = A; A = B; B = swap;}
204 unsigned int partition(
vpColVector &a,
unsigned int l,
unsigned int r);
206 double select(
vpColVector &a,
unsigned int l,
unsigned int r,
unsigned int k);
virtual ~vpRobust()
Destructor.
Class that provides a data structure for the column vectors as well as a set of operations on these v...
Contains an M-Estimator and various influence function.
void setThreshold(const double noise_threshold)
void setIteration(const unsigned int iter)
Set iteration.