IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Polynomial2dSurfaceEstimator.h
1 // Polynomial2dSurfaceEstimator.h:
3 // -------------------------------
4 //
18 
19 #ifndef __IPSDKMATH_POLYNOMIAL2DSURFACEESTIMATOR_H__
20 #define __IPSDKMATH_POLYNOMIAL2DSURFACEESTIMATOR_H__
21 
23 #include <IPSDKMath/Estimation/BaseEstimator.h>
24 
25 namespace ipsdk {
26 namespace math {
27 
30 
32 {
33 // predefined public types
34 public:
37 
39  (eEP_FactorX2)
40 
42  (eEP_FactorXY)
43 
45  (eEP_FactorY2)
46 
48  (eEP_FactorX)
49 
51  (eEP_FactorY)
52 
54  (eEP_Cste)
55  )
56 
57 
58  static const ipUInt32 g_parameterSize = eEstimParams::size;
59 
62 
64  (eDT_X)
65 
67  (eDT_Y)
68 
70  (eDT_Value)
71  )
72 
74  static const ipUInt32 g_dataSize = eDataType::size;
75 
76 public:
82 
83 // methods
84 public:
85 
86 protected:
89  BoolResult processEstimation(const math::DataSet& dataSet,
90  math::ParameterType& estimParams);
91 
94  BoolResult processResiduals(const math::DataSet& dataSet,
95  const math::ParameterType& estimParams,
96  math::ResidualsSet& residualsSet) const;
97 
98 // attributes
99 protected:
100 
101 };
102 
105 
106 } // end of namespace math
107 } // end of namespace ipsdk
108 
109 #endif // __IPSDKMATH_POLYNOMIAL2DSURFACEESTIMATOR_H__
Vector ParameterType
parameter type resulting from estimation
Definition: EstimationTypes.h:61
Definition of import/export macro for library.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eDataType
Definition: Polynomial2dSurfaceEstimator.h:60
Base class for parametric estimation from data set.
Definition: BaseEstimator.h:35
std::vector< DataType > DataSet
collection of data associated to estimation
Definition: EstimationTypes.h:67
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
Class allowing to estimate a second order polynomial 2d surface from a set of data such as ...
Definition: Polynomial2dSurfaceEstimator.h:31
Vector ResidualsSet
residuals type resulting from estimation
Definition: EstimationTypes.h:64
IPSDKMATH_API void processEstimation(const EstimationConfig &config, const EstimatorPtr &pEstimator, const DataSet &inputDataSet, EstimationResults &results)
function allowing to launch a robust estimation process
eEstimParams
Definition: Polynomial2dSurfaceEstimator.h:38
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53