48 #include <visp3/core/vpConfig.h>
49 #include <visp3/core/vpColVector.h>
50 #include <visp3/core/vpMath.h>
71 } vpRobustEstimatorType;
83 double NoiseThreshold;
104 void MEstimator(
const vpRobustEstimatorType method,
109 void MEstimator(
const vpRobustEstimatorType method,
115 #ifdef VISP_HAVE_CPP11_COMPATIBILITY
120 void resize(
unsigned int n_data);
130 NoiseThreshold=noise_threshold;
145 double computeNormalizedMedian(
vpColVector &all_normres,
153 double scale(vpRobustEstimatorType method,
vpColVector &x);
174 double simult_chi_huber(
double x);
181 double constrainedChi(vpRobustEstimatorType method,
double x);
184 double constrainedChiTukey(
double x);
186 double constrainedChiCauchy(
double x);
188 double constrainedChiHuber(
double x);
191 #if !defined(VISP_HAVE_FUNC_ERFC) && !defined(VISP_HAVE_FUNC_STD_ERFC)
197 double erf(
double x);
198 double gammp(
double a,
double x);
199 void gser(
double *gamser,
double a,
double x,
double *gln);
200 void gcf(
double *gammcf,
double a,
double x,
double *gln);
201 double gammln(
double xx);
207 void exch(
double &A,
double &B){swap = A; A = B; B = swap;}
212 double select(
vpColVector &a,
int l,
int r,
int k);
virtual ~vpRobust()
Destructor.
Implementation of column vector and the associated operations.
Contains an M-Estimator and various influence function.
void setThreshold(const double noise_threshold)
void setIteration(const unsigned int iter)
Set iteration.