37 #ifndef _vpStatisticalTestSigma_h_
38 #define _vpStatisticalTestSigma_h_
40 #include <visp3/core/vpConfig.h>
42 #include <visp3/core/vpStatisticalTestAbstract.h>
78 virtual void computeLimits();
87 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
100 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
112 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
123 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
162 void init(
const float &h = 3.f,
const unsigned int &nbSamplesForStats = 30);
171 void init(
const float &h,
const float &mean,
const float &stdev);
Base class for methods detecting the drift of the mean of a process.
vpMeanDriftType
Enum that indicates if a drift of the mean occurred.
virtual vpMeanDriftType detectUpwardMeanDrift()=0
Detects if a upward mean drift occurred.
void init()
(Re)Initialize the algorithm.
virtual bool updateStatistics(const float &signal)
Update m_s and if enough values are available, compute the mean, the standard deviation and the limit...
virtual void updateTestSignals(const float &signal)=0
Update the test signals.
virtual vpMeanDriftType detectDownwardMeanDrift()=0
Detects if a downward mean drift occurred.
Class that permits a simple test comparing the current value to the standard deviation of the signal.
virtual float getSignal() const
Get the last value of the signal.