RansacParameterEstimator.h

Go to the documentation of this file.
00001 #ifndef _PARAMETER_ESTIMATOR_H_
00002 #define _PARAMETER_ESTIMATOR_H_
00003 
00004 #include <vector>
00005 
00021 class RansacParameterEstimator {
00022 public: 
00023 
00028         RansacParameterEstimator(unsigned int minElements) : minForEstimate(minElements){} 
00029 
00035 //      virtual void estimate(std::vector<T *> &data, std::vector<S> &parameters) = 0;
00036 
00042 //      virtual void leastSquaresEstimate(std::vector<T *> &data, std::vector<S> &parameters) = 0;
00043 
00047 //      virtual bool agree(std::vector<S> &parameters, T &data) = 0;
00048 
00053         unsigned int numForEstimate() const {return minForEstimate;}
00054 protected:
00055         unsigned int minForEstimate;
00056 };
00057 
00058 #endif //_PARAMETER_ESTIMATOR_H_

Generated on 24 Oct 2014 for Hugintrunk by  doxygen 1.4.7