IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
TranslationTransform3dEstimator.h
1 // TranslationTransform3dEstimator.cpp:
3 // ------------------------------
4 //
6 //
28 
29 #ifndef __IPSDKGEOMETRY_TRANSLATIONTRANSFORM3DESTIMATOR_H__
30 #define __IPSDKGEOMETRY_TRANSLATIONTRANSFORM3DESTIMATOR_H__
31 
34 #include <IPSDKMath/Estimation/BaseEstimator.h>
35 
36 namespace ipsdk {
37 namespace geom {
38 
41 
42 class IPSDKGEOMETRY_API TranslationTransform3dEstimator : public math::BaseEstimator
43 {
44 // predefined public types
45 public:
47  IPSDK_ENUM(eEstimParams,
48 
50  (eEP_Tx)
51 
53  (eEP_Ty)
54 
56  (eEP_Tz)
57  )
58 
59 
60  static const ipUInt32 g_parameterSize = eEstimParams::size;
61 
64 
66  (eDT_X1)
67 
69  (eDT_Y1)
70 
72  (eDT_Z1)
73 
75  (eDT_X2)
76 
78  (eDT_Y2)
79 
81  (eDT_Z2)
82  )
83 
84 
85  static const ipUInt32 g_dataSize = eDataType::size;
86 
87 public:
90  TranslationTransform3dEstimator();
91  ~TranslationTransform3dEstimator();
93 
94 // methods
95 public:
96 
97 protected:
101  math::ParameterType& estimParams);
102 
105  BoolResult processResiduals(const math::DataSet& dataSet,
106  const math::ParameterType& estimParams,
107  math::ResidualsSet& residualsSet) const;
108 
109 // attributes
110 protected:
111 
112 };
113 
116 
117 } // end of namespace geom
118 } // end of namespace ipsdk
119 
120 #endif // __IPSDKGEOMETRY_TRANSLATIONTRANSFORM3DESTIMATOR_H__
Vector ParameterType
parameter type resulting from estimation
Definition: EstimationTypes.h:61
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
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
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
Vector ResidualsSet
residuals type resulting from estimation
Definition: EstimationTypes.h:64
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29
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
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53