IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
EstimationTypes.h
Go to the documentation of this file.
1 // EstimationTypes.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKMATH_ESTIMATIONTYPES_H__
16 #define __IPSDKMATH_ESTIMATIONTYPES_H__
17 
19 #include <IPSDKUtil/Tools/ProcessingResult.h>
23 #include <boost/shared_ptr.hpp>
24 #include <boost/function.hpp>
25 #include <vector>
26 
27 namespace ipsdk {
28 namespace math {
29 
30 class BaseEstimator;
31 class BaseRobustEstimator;
32 
35 
39 
41  (eRET_LMS)
43  (eRET_MSAC)
45 )
46 
47 
51 typedef Vector DataType;
52 
54 typedef Vector ParameterType;
55 
57 typedef Vector ResidualsSet;
58 
60 typedef std::vector<DataType> DataSet;
61 
63 typedef std::vector<bool> OutlierFlags;
64 
67 
69 typedef boost::shared_ptr<BaseEstimator> EstimatorPtr;
70 
72 typedef boost::shared_ptr<const BaseEstimator> EstimatorConstPtr;
73 
75 typedef boost::shared_ptr<BaseRobustEstimator> RobustEstimatorPtr;
76 
78 typedef boost::shared_ptr<const BaseRobustEstimator> RobustEstimatorConstPtr;
79 
82 
85 typedef CostFunctionPtr (*CostFunCreator)(const DataSet& dataSet);
86 
89 
90 } // end of namespace math
91 } // end of namespace ipsdk
92 
93 #endif // __IPSDKMATH_ESTIMATIONTYPES_H__
Vector ParameterType
parameter type resulting from estimation
Definition: EstimationTypes.h:61
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::shared_ptr< BaseCostFunction > CostFunctionPtr
shared pointer to cost function
Definition: OptimizationTypes.h:52
CostFunctionPtr(* CostFunCreator)(const DataSet &dataSet)
Definition: EstimationTypes.h:92
Base class for parametric estimation from data set.
Definition: BaseEstimator.h:35
Predefined types for linear algebra management.
M-estimator SAmple Consensus robust estimation.
Definition: EstimationTypes.h:48
Non robust estimation is used.
Definition: EstimationTypes.h:42
std::vector< DataType > DataSet
collection of data associated to estimation
Definition: EstimationTypes.h:67
eRobustEstimationType
Definition: EstimationTypes.h:40
Definition: DataItemNodeHdrMacrosDetails.h:48
Maximum Likelihood Estimation SAmple Consensus robust estimation.
Definition: EstimationTypes.h:50
boost::numeric::ublas::vector< ipReal64 > Vector
vector type associated to library
Definition: LinearAlgebraTypes.h:36
Base class for parametric robust estimation from data set.
Definition: BaseRobustEstimator.h:36
Predefined types for optimization framework.
boost::shared_ptr< BaseRobustEstimator > RobustEstimatorPtr
shared pointer to BaseRobustEstimator class
Definition: EstimationTypes.h:82
boost::shared_ptr< BaseEstimator > EstimatorPtr
shared pointer to BaseEstimator class
Definition: EstimationTypes.h:76
Vector DataType
data type used for estimation
Definition: EstimationTypes.h:58
std::vector< bool > OutlierFlags
collection of outliers flags
Definition: EstimationTypes.h:70
Vector ResidualsSet
residuals type resulting from estimation
Definition: EstimationTypes.h:64
boost::shared_ptr< const BaseRobustEstimator > RobustEstimatorConstPtr
shared pointer to const BaseRobustEstimator class
Definition: EstimationTypes.h:85
Least Median of square robust estimation.
Definition: EstimationTypes.h:44
STL namespace.
boost::shared_ptr< const BaseEstimator > EstimatorConstPtr
shared pointer to const BaseEstimator class
Definition: EstimationTypes.h:79
Predefined macros for enumerates management.
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
RANdom SAmple Consensus robust estimation.
Definition: EstimationTypes.h:46
Predefined types for data partitioning management.