Templates -- Meow  1.2.11
A C++ template contains kinds of interesting classes and functions
FeaturePointsDetector.h
Go to the documentation of this file.
1 #ifndef gra_FeaturePointsDetector_H__
2 #define gra_FeaturePointsDetector_H__
3 
4 #include "../oo/ObjBase.h"
5 
6 #include "FeaturePoint.h"
7 #include "Bitmap.h"
8 
9 #include <vector>
10 
11 namespace meow {
12 
13 template <class Pixel, class MyFP = FeaturePoint<double, double> >
15 protected:
17 public:
18  virtual ~FeaturePointsDetector() { }
19 
20  virtual std::vector<MyFP> detect(Bitmap<Pixel> const& bmp) const = 0;
21 };
22 
23 } // meow
24 
25 #endif // gra_FeaturePointsDetector_H__
二維點陣資料
Definition: Bitmap.h:25
一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能
Definition: ObjBase.h:15
virtual std::vector< MyFP > detect(Bitmap< Pixel > const &bmp) const =0