IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RobustEstimationConfig.h
1 // RobustEstimationConfig.h:
3 // -------------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_ROBUSTESTIMATIONCONFIG_H__
17 #define __IPSDKIPLATTRIBUTES_ROBUSTESTIMATIONCONFIG_H__
18 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/RobustDataPartitionConfig.h>
22 #include <IPSDKMath/Estimation/EstimationConfig.h>
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace attr {
27 
33 
34 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, RobustEstimationConfig,
35  ((ENUMLEAF)(Type)(ipsdk::math::eRobustEstimationType)(ipsdk::math::eRobustEstimationType::eRET_NonRobust))
36  ((LEAF)(OutlierThreshold)(ipsdk::ipReal64))
37  ((LEAF)(GaussianSigma)(ipsdk::ipReal64))
38  ((LEAF)(OutlierRangeFactor)(ipsdk::ipReal64))
39  ((LEAF)(ExpectedOutlierRatio)(ipsdk::ipReal64))
40  ((LEAF)(AllowSimpleEstimation)(ipsdk::ipBool)(true))
41  ((LEAF)(SuccessRatio)(ipsdk::ipReal64)(0.99))
43  ((LEAF)(TranslationThetaThreshold)(ipsdk::ipReal64)(0.05))
44  ((LEAF)(TranslationAbsMax)(ipsdk::ipReal64)(-1.))
45  ((LEAF)(TranslationMatchRatio)(ipsdk::ipReal64)(0.1)))
46 
47 public:
51  RobustEstimationConfig(const ipsdk::math::EstimationConfig& config);
52 
54  operator ipsdk::math::EstimationConfig() const;
55 };
56 
59 
62 typedef boost::shared_ptr<ipsdk::imaproc::attr::RobustEstimationConfig> RobustEstimationConfigPtr;
63 
66 typedef boost::shared_ptr<const ipsdk::imaproc::attr::RobustEstimationConfig> RobustEstimationConfigConstPtr;
67 
73 
75 createLMSRobustEstimationConfig(const ipReal64 expectedOutlierRatio);
76 
79 
80 } // end of namespace attr
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIPLATTRIBUTES_ROBUSTESTIMATIONCONFIG_H__
boost::shared_ptr< const ipsdk::imaproc::attr::RobustEstimationConfig > RobustEstimationConfigConstPtr
shared pointer to const ipsdk::imaproc::attr::RobustEstimationConfig
Definition: RobustEstimationConfig.h:310
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
ipsdk::imaproc::attr::RobustDataPartitionConfigPtr createDefaultRobustDataPartitionConfig()
Definition: RobustDataPartitionConfig.h:162
double ipReal64
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::RobustEstimationConfigPtr createLMSRobustEstimationConfig(const ipReal64 expectedOutlierRatio)
Definition of import/export macro for library.
bool ipBool
boost::shared_ptr< ipsdk::imaproc::attr::RobustEstimationConfig > RobustEstimationConfigPtr
shared pointer to ipsdk::imaproc::attr::RobustEstimationConfig
Definition: RobustEstimationConfig.h:306
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
configuration parameters for data partition method used during robust estimation process ...
Definition: RobustDataPartitionConfig.h:55