47 #include <visp3/core/vpConfig.h> 48 #include <visp3/core/vpColVector.h> 49 #include <visp3/core/vpMath.h> 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 vp_deprecated
double erf(
double x);
236 vp_deprecated
double gammp(
double a,
double x);
237 vp_deprecated
void gser(
double *gamser,
double a,
double x,
double *gln);
238 vp_deprecated
void gcf(
double *gammcf,
double a,
double x,
double *gln);
239 vp_deprecated
double gammln(
double xx);
246 int partition(
vpColVector &a,
unsigned int l,
unsigned int r);
249 double select(
vpColVector &a,
unsigned int l,
unsigned int r,
unsigned int k);
virtual ~vpRobust()
Destructor.
double getMinMedianAbsoluteDeviation()
vp_deprecated void setIteration(unsigned int iter)
vp_deprecated void setThreshold(double mad_min)
Implementation of column vector and the associated operations.
double getMedianAbsoluteDeviation()
Contains an M-estimator and various influence function.
Tukey influence function.
Cauchy influence function.
void setMinMedianAbsoluteDeviation(double mad_min)
vpRobustEstimatorType
Enumeration of influence functions.