Templates -- Meow  1.1.4
A C++ template which is unable and also not allowed to compile to obj-file first.
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>
15 protected:
17 public:
18  virtual ~FeaturePointsDetector() { }
19 
20  virtual std::vector<FeaturePoint<double, double> >
21  detect(Bitmap<Pixel> const& bitmap) const = 0;
22 };
23 
24 } // meow
25 
26 #endif // gra_FeaturePointsDetector_H__
二維點陣資料
Definition: Bitmap.h:23
一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能
Definition: ObjBase.h:15
virtual std::vector< FeaturePoint< double, double > > detect(Bitmap< Pixel > const &bitmap) const =0