IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SimilarityTransform3dEstimator.h
1 // SimilarityTransform3dEstimator.h:
3 // ---------------------------------
4 //
31 
32 #ifndef __IPSDKGEOMETRY_SIMILARITYTRANSFORM3DESTIMATOR_H__
33 #define __IPSDKGEOMETRY_SIMILARITYTRANSFORM3DESTIMATOR_H__
34 
37 #include <IPSDKMath/Estimation/BaseEstimator.h>
38 
39 
40 namespace ipsdk {
41 namespace geom {
42 
45 
47 {
48 // predefined public types
49 public:
52 
54  (eEP_Scale)
55 
57  (eEP_Chi)
58 
60  (eEP_Beta)
61 
63  (eEP_Alpha)
64 
66  (eEP_Tx)
67 
69  (eEP_Ty)
70 
72  (eEP_Tz)
73  )
74 
75 
76  static const ipUInt32 g_parameterSize = eEstimParams::size;
77 
80 
82  (eDT_X1)
83 
85  (eDT_Y1)
86 
88  (eDT_Z1)
89 
91  (eDT_X2)
92 
94  (eDT_Y2)
95 
97  (eDT_Z2)
98  )
99 
100 
101  static const ipUInt32 g_dataSize = eDataType::size;
102 
103 public:
109 
110 // methods
111 public:
112 
113 protected:
117  math::ParameterType& estimParams);
118 
121  BoolResult processResiduals(const math::DataSet& dataSet,
122  const math::ParameterType& estimParams,
123  math::ResidualsSet& residualsSet) const;
124 
125 // attributes
126 protected:
127 
128 };
129 
132 
133 } // end of namespace geom
134 } // end of namespace ipsdk
135 
136 #endif // __IPSDKGEOMETRY_SIMILARITYTRANSFORM3DESTIMATOR_H__
Vector ParameterType
parameter type resulting from estimation
Definition: EstimationTypes.h:61
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for parametric estimation from data set.
Definition: BaseEstimator.h:35
eEstimParams
Definition: SimilarityTransform3dEstimator.h:53
std::vector< DataType > DataSet
collection of data associated to estimation
Definition: EstimationTypes.h:67
eDataType
Definition: SimilarityTransform3dEstimator.h:77
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
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.
Class allowing to estimate a 3d similarity transformationWe compute a similarity transformation such ...
Definition: SimilarityTransform3dEstimator.h:46
#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