IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Ellipsoid3dEstimator.h
1 // Ellipsoid3dEstimator.h:
3 // -----------------------
4 //
17 
18 #ifndef __IPSDKGEOMETRY_ELLIPSOID3DESTIMATOR_H__
19 #define __IPSDKGEOMETRY_ELLIPSOID3DESTIMATOR_H__
20 
23 #include <IPSDKMath/Estimation/BaseEstimator.h>
24 
25 namespace ipsdk {
26 namespace geom {
27 
30 
32 {
33 // predefined public types
34 public:
37 
39  (eEP_CenterX)
40 
42  (eEP_CenterY)
43 
45  (eEP_CenterZ)
46 
48  (eEP_MajorRadius)
49 
51  (eEP_MediumRadius)
52 
54  (eEP_MinorRadius)
55 
57  (eEP_Chi)
58 
60  (eEP_Beta)
61 
63  (eEP_Alpha)
64  )
65 
66 
67  static const ipUInt32 g_parameterSize = eEstimParams::size;
68 
71 
73  (eDT_X)
74 
76  (eDT_Y)
77 
79  (eDT_Z)
80  )
81 
83  static const ipUInt32 g_dataSize = eDataType::size;
84 
85 public:
91 
92 // methods
93 public:
94 
95 protected:
98  BoolResult processEstimation(const math::DataSet& dataSet,
99  math::ParameterType& estimParams);
100 
104  BoolResult processResiduals(const math::DataSet& dataSet,
105  const math::ParameterType& estimParams,
106  math::ResidualsSet& residualsSet) const;
107 
108 // attributes
109 protected:
110 
111 };
112 
115 
116 } // end of namespace geom
117 } // end of namespace ipsdk
118 
119 #endif // __IPSDKGEOMETRY_ELLIPSOID3DESTIMATOR_H__
Vector ParameterType
parameter type resulting from estimation
Definition: EstimationTypes.h:61
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eDataType
Definition: Ellipsoid3dEstimator.h:66
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
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Class allowing to estimate an ellipsoid 3d from a data set of 3d contour points.
Definition: Ellipsoid3dEstimator.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
Predefined types for estimation 3d management.
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
eEstimParams
Definition: Ellipsoid3dEstimator.h:38
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53