41 #include <visp3/core/vpColVector.h>
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpMath.h>
91 } vpRobustEstimatorType;
105 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
143 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
158 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
163 vp_deprecated
explicit vpRobust(
unsigned int n_data);
165 void MEstimator(
const vpRobustEstimatorType method,
const vpColVector &residues,
const vpColVector &all_residues,
180 vp_deprecated
inline void setThreshold(
double mad_min) { m_mad_min = mad_min; }
186 void resize(
unsigned int n_data);
201 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
207 double simult_chi_huber(
double x);
214 double constrainedChi(vpRobustEstimatorType method,
double x);
217 double constrainedChiTukey(
double x);
219 double constrainedChiCauchy(
double x);
221 double constrainedChiHuber(
double x);
224 #if !defined(VISP_HAVE_FUNC_ERFC) && !defined(VISP_HAVE_FUNC_STD_ERFC)
230 double erf(
double x);
231 double gammp(
double a,
double x);
232 void gser(
double *gamser,
double a,
double x,
double *gln);
233 void gcf(
double *gammcf,
double a,
double x,
double *gln);
234 double gammln(
double xx);
244 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)
vp_deprecated void setThreshold(double mad_min)
double getMedianAbsoluteDeviation()
double getMinMedianAbsoluteDeviation()
virtual ~vpRobust()
Destructor.
vp_deprecated void setIteration(unsigned int iter)