![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for parametric estimation from data set. More...
#include <BaseEstimator.h>
Public Member Functions | |
| bool | isInit () const |
| check for object initialization | |
| ipUInt32 | getNbMinRequestedData () const |
| retrieve minimum data set size to ensure an estimation More... | |
| ipUInt32 | getNbEstimParams () const |
| retrieve number of estimated parameters More... | |
| ipUInt32 | getDataSize () const |
| unitary data size into data set collection More... | |
| BoolResult | computeEstimation (const DataSet &dataSet, ParameterType &estimParams) |
| method allowing to estimate parameters from a given data set More... | |
| BoolResult | computeResiduals (const DataSet &dataSet, const ParameterType &estimParams, ResidualsSet &residualsSet) const |
| method allowing to compute estimation residuals from a given data set and some estimated parameters More... | |
Constructors and destructor | |
| BaseEstimator () | |
| virtual | ~BaseEstimator ()=0 |
Protected Member Functions | |
| void | initBase (const ipUInt32 nbMinRequestedData, const ipUInt32 nbEstimParams, const ipUInt32 dataSize) |
| base class initialization More... | |
| BoolResult | checkData (const DataSet &dataSet, const ParameterType &estimParams) const |
| method allowing to check input data properties associated to estimation More... | |
| virtual BoolResult | processEstimation (const DataSet &dataSet, ParameterType &estimParams)=0 |
| method allowing to compute estimation into derived classes More... | |
| virtual BoolResult | processResiduals (const DataSet &dataSet, const ParameterType &estimParams, ResidualsSet &residualsSet) const =0 |
| method allowing to compute residuals into derived classes More... | |
Friends | |
| class | BaseRobustEstimator |
Base class for parametric estimation from data set.
| ipUInt32 ipsdk::math::BaseEstimator::getNbMinRequestedData | ( | ) | const |
retrieve minimum data set size to ensure an estimation
| ipsdk::math::IPSDKMathException | if isInit() == false |
| ipUInt32 ipsdk::math::BaseEstimator::getNbEstimParams | ( | ) | const |
retrieve number of estimated parameters
| ipsdk::math::IPSDKMathException | if isInit() == false |
| ipUInt32 ipsdk::math::BaseEstimator::getDataSize | ( | ) | const |
unitary data size into data set collection
| ipsdk::math::IPSDKMathException | if isInit() == false |
| BoolResult ipsdk::math::BaseEstimator::computeEstimation | ( | const DataSet & | dataSet, |
| ParameterType & | estimParams | ||
| ) |
method allowing to estimate parameters from a given data set
| ipsdk::math::IPSDKMathException | if isInit() == false |
| BoolResult ipsdk::math::BaseEstimator::computeResiduals | ( | const DataSet & | dataSet, |
| const ParameterType & | estimParams, | ||
| ResidualsSet & | residualsSet | ||
| ) | const |
method allowing to compute estimation residuals from a given data set and some estimated parameters
| ipsdk::math::IPSDKMathException | if isInit() == false |
| ipsdk::math::IPSDKMathException | if dataSet.size() != residualsSet.size() |
|
protected |
base class initialization
| ipsdk::math::IPSDKMathException | if nbMinRequestedData == 0 |
| ipsdk::math::IPSDKMathException | if nbEstimParams == 0 |
| ipsdk::math::IPSDKMathException | if dataSize == 0 |
|
protected |
method allowing to check input data properties associated to estimation
|
protectedpure virtual |
method allowing to compute estimation into derived classes
Implemented in ipsdk::math::Polynomial2dSurfaceEstimator, and ipsdk::math::BaseGaussianCurveEstimator.
|
protectedpure virtual |
method allowing to compute residuals into derived classes
Implemented in ipsdk::math::Polynomial2dSurfaceEstimator, and ipsdk::math::BaseGaussianCurveEstimator.
1.8.14