41 #include <visp3/core/vpConfig.h>
42 #include <visp3/core/vpColVector.h>
43 #include <visp3/core/vpMath.h>
92 } vpRobustEstimatorType;
123 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
138 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
143 VP_DEPRECATED VP_EXPLICIT
vpRobust(
unsigned int n_data);
145 void MEstimator(
const vpRobustEstimatorType method,
const vpColVector &residues,
const vpColVector &all_residues,
151 VP_DEPRECATED
void setIteration(
unsigned int iter) { m_iter = iter; }
160 VP_DEPRECATED
inline void setThreshold(
double mad_min) { m_mad_min = mad_min; }
176 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
187 void resize(
unsigned int n_data);
202 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
208 double simult_chi_huber(
double x);
215 double constrainedChi(vpRobustEstimatorType method,
double x);
218 double constrainedChiTukey(
double x);
220 double constrainedChiCauchy(
double x);
222 double constrainedChiHuber(
double x);
225 #if !defined(VISP_HAVE_FUNC_ERFC) && !defined(VISP_HAVE_FUNC_STD_ERFC)
231 double erf(
double x);
232 double gammp(
double a,
double x);
233 void gser(
double *gamser,
double a,
double x,
double *gln);
234 void gcf(
double *gammcf,
double a,
double x,
double *gln);
235 double gammln(
double xx);
245 double select(
vpColVector &a,
int l,
int r,
int k);
Implementation of column vector and the associated operations.
Contains an M-estimator and various influence function.
@ TUKEY
Tukey influence function.
@ CAUCHY
Cauchy influence function.
void setMinMedianAbsoluteDeviation(double mad_min)
double getMedianAbsoluteDeviation()
double getMinMedianAbsoluteDeviation()
virtual ~vpRobust()
Destructor.