IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RANSACRobustEstimator.h
1 // RANSACRobustEstimator.h:
3 // ------------------------
4 //
16 
17 #ifndef __IPSDKMATH_RANSACROBUSTESTIMATOR_H__
18 #define __IPSDKMATH_RANSACROBUSTESTIMATOR_H__
19 
20 #include <IPSDKMath/Estimation/BaseRobustEstimator.h>
21 
22 namespace ipsdk {
23 namespace math {
24 
27 
29 {
30 public:
36 
37 // methods
38 public:
44  void init(const EstimatorPtr& pEstimator,
45  const ipReal64 outlierThreshold);
46 
47 protected:
50  ipReal64 computeScore(const ResidualsSet& curResiduals);
51 
55  ipReal64 computeOutlierThreshold(const ipReal64 bestScore,
56  const ipUInt32 nbData,
57  const ipUInt32 nbMinRequestedData) const;
58 
59 // attributes
60 protected:
63 };
64 
67 
68 } // end of namespace math
69 } // end of namespace ipsdk
70 
71 #endif // __IPSDKMATH_RANSACROBUSTESTIMATOR_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
Base class for parametric robust estimation from data set.
Definition: BaseRobustEstimator.h:36
boost::shared_ptr< BaseEstimator > EstimatorPtr
shared pointer to BaseEstimator class
Definition: EstimationTypes.h:76
Robust RANdom SAmple Consensus estimatorThis algorithm request a threshold value on residuals of mode...
Definition: RANSACRobustEstimator.h:28
Vector ResidualsSet
residuals type resulting from estimation
Definition: EstimationTypes.h:64
ipReal64 _outlierThreshold
used outlier threshold for processing
Definition: RANSACRobustEstimator.h:62
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53