[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin_base/vigra_ext/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 Mon Sep 20 01:01:27 2010 for Hugintrunk by doxygen 1.3.9.1