47 #include <visp3/core/vpColVector.h>
48 #include <visp3/core/vpConfig.h>
49 #include <visp3/core/vpMath.h>
96 } vpRobustEstimatorType;
110 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
148 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
163 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
168 vp_deprecated
explicit vpRobust(
unsigned int n_data);
170 void MEstimator(
const vpRobustEstimatorType method,
const vpColVector &residues,
const vpColVector &all_residues,
185 vp_deprecated
inline void setThreshold(
double mad_min) { m_mad_min = mad_min; }
191 void resize(
unsigned int n_data);
206 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
212 double simult_chi_huber(
double x);
219 double constrainedChi(vpRobustEstimatorType method,
double x);
222 double constrainedChiTukey(
double x);
224 double constrainedChiCauchy(
double x);
226 double constrainedChiHuber(
double x);
229 #if !defined(VISP_HAVE_FUNC_ERFC) && !defined(VISP_HAVE_FUNC_STD_ERFC)
235 double erf(
double x);
236 double gammp(
double a,
double x);
237 void gser(
double *gamser,
double a,
double x,
double *gln);
238 void gcf(
double *gammcf,
double a,
double x,
double *gln);
239 double gammln(
double xx);
249 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)