created abstract FeaturePool class

This commit is contained in:
marina.kolpakova
2013-01-09 14:29:14 +04:00
parent 19236b6e43
commit a3600b94db
5 changed files with 88 additions and 23 deletions

View File

@@ -2132,6 +2132,17 @@ template<> CV_EXPORTS void Ptr<CvDTreeSplit>::delete_obj();
CV_EXPORTS bool initModule_ml(void);
CV_EXPORTS class FeaturePool
{
public:
virtual int size() const = 0;
virtual float apply(int fi, int si, const Mat& integrals) const = 0;
virtual void write( cv::FileStorage& fs, int index) const = 0;
virtual ~FeaturePool() = 0;
};
}
#endif // __cplusplus