49 #include <visp/vpConfig.h>
51 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
54 #include <visp/vpAdaptativeGain.h>
55 #include <visp/vpColVector.h>
56 #include <visp/vpDebug.h>
83 this ->initFromVoid ();
106 this ->coeff_c = lambda;
144 const double en_infini,
145 const double pente_en_zero)
149 this ->coeff_a = en_zero - en_infini;
151 if (std::fabs(
this ->coeff_a) <= std::numeric_limits<double>::epsilon())
157 this ->coeff_b = pente_en_zero / (
this ->coeff_a);
159 this ->coeff_c = en_infini;
162 this ->coeff_a,
this ->coeff_b,
this ->coeff_c);
182 double res =
this ->coeff_a +
this ->coeff_c;
186 this ->coeff_c = res;
211 double res =
this ->coeff_a * exp (-
this ->coeff_b * val_e)
228 double res =
this ->coeff_c;
252 this ->lambda =
this ->value_const (val_e);
270 this ->lambda =
this ->limitValue_const ();
299 return this ->value (val_e);
310 return this ->limitValue ();
324 return this ->value (e .infinityNorm());
347 os <<
"Zero= " << lambda .coeff_a + lambda .coeff_c
348 <<
"\tInf= " << lambda .coeff_c
349 <<
"\tDeriv= " << lambda .coeff_a * lambda .coeff_b;
static const double DEFAULT_LAMBDA_INFINI
static const double DEFAULT_LAMBDA_PENTE
void initFromConstant(double lambda)
double limitValue_const(void) const
Adaptative gain computation.
double operator()(void) const
vp_deprecated vpAdaptativeGain(void)
void initStandard(double en_zero, double en_infini, double pente_en_zero)
VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpImagePoint &ip)
double limitValue(void) const
Class that provides a data structure for the column vectors as well as a set of operations on these v...
double value_const(double val_e) const
static const double DEFAULT_LAMBDA_ZERO
double value(double val_e) const