41 #include <visp3/core/vpColVector.h>
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpMath.h>
90 } vpRobustEstimatorType;
104 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
142 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
157 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
162 vp_deprecated
explicit vpRobust(
unsigned int n_data);
164 void MEstimator(
const vpRobustEstimatorType method,
const vpColVector &residues,
const vpColVector &all_residues,
179 vp_deprecated
inline void setThreshold(
double mad_min) { m_mad_min = mad_min; }
185 void resize(
unsigned int n_data);
200 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
206 double simult_chi_huber(
double x);
213 double constrainedChi(vpRobustEstimatorType method,
double x);
216 double constrainedChiTukey(
double x);
218 double constrainedChiCauchy(
double x);
220 double constrainedChiHuber(
double x);
223 #if !defined(VISP_HAVE_FUNC_ERFC) && !defined(VISP_HAVE_FUNC_STD_ERFC)
229 double erf(
double x);
230 double gammp(
double a,
double x);
231 void gser(
double *gamser,
double a,
double x,
double *gln);
232 void gcf(
double *gammcf,
double a,
double x,
double *gln);
233 double gammln(
double xx);
243 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)